java.lang.IllegalArgumentException

Illegal character(s) in message header value: Basic dH JhZmZpY2Nhc3Q6Z3YxS0xCOEtxVHJhQTRnWDMxelRzVmlCNE9Kc0hsaXhNMDNteHQ5ZTZKQm40 WmI4MHNXZ0FKdHFpcFBqUWlu

Samebug tips1

This bug happens from SDK 8 b117 to SDK 8 b122, try updating to 122 or further to fix it.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web7639

  • Illegal character(s) in message header value: Basic dH JhZmZpY2Nhc3Q6Z3YxS0xCOEtxVHJhQTRnWDMxelRzVmlCNE9Kc0hsaXhNMDNteHQ5ZTZKQm40 WmI4MHNXZ0FKdHFpcFBqUWlu
  • via GitHub by wsoula
    , 1 year ago
    Illegal character(s) in message header value: Basic d2lsbGlhbS5zb3VsYUBuYS5kcmlsbGluZ2luZm8uY29tOmRmNmE0ZDQxYTQ0Y2ExZTQxMDhjNTdh NWY4NzY5Yzc2YjlkNjE2MDE=
  • via Google Groups by Nick Stolwijk, 1 year ago
    Illegal character(s) in message header value: Basic b250d2lra2Vsc3RyYWF0OntJRnpHeDFldkJoTUg1enVxaHJKUXRwQSs3eHZzUXRxRTJLSEUvamwr V1k4PX0=
  • Stack trace

    • java.lang.IllegalArgumentException: Illegal character(s) in message header value: Basic dH JhZmZpY2Nhc3Q6Z3YxS0xCOEtxVHJhQTRnWDMxelRzVmlCNE9Kc0hsaXhNMDNteHQ5ZTZKQm40 WmI4MHNXZ0FKdHFpcFBqUWlu at sun.net.www.protocol.http.HttpURLConnection.checkMessageHeader(HttpURLConnection.java:301) at sun.net.www.protocol.http.HttpURLConnection.setAuthenticationProperty(HttpURLConnection.java:1962) at sun.net.www.protocol.http.BasicAuthentication.setHeaders(BasicAuthentication.java:143) at sun.net.www.protocol.http.HttpURLConnection.getServerAuthentication(HttpURLConnection.java:1574) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1014) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 8 months ago
    8 times, 9 months ago
    Unknown user
    Once, 11 months ago
    1 more bugmates