java.lang.IllegalStateException: 401 response received, but no WWW-Authenticate header was present

MuleSoft JIRA | Eleonora Ortega | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How to get twitter screenname on mule

    Stack Overflow | 2 years ago
    java.lang.IllegalStateException: 401 response received, but no WWW-Authenticate header was present
  2. 0

    When using Github API with an HTTP request, the following error is displayed in the console after executing the application. 401 response received, but no WWW-authenticate header was present See enclosed project: See console log: Exception stack is: 1. 401 response received, but no WWW-Authenticate header was present (java.lang.IllegalStateException) com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProvider$AsyncHttpClientEventFilter$AuthorizationHandler:1623 (null) 2. java.lang.IllegalStateException: 401 response received, but no WWW-Authenticate header was present (java.util.concurrent.ExecutionException) org.glassfish.grizzly.impl.SafeFutureImpl$Sync:363 (null) 3. java.util.concurrent.ExecutionException: java.lang.IllegalStateException: 401 response received, but no WWW-Authenticate header was present (java.io.IOException) org.mule.module.http.internal.request.grizzly.GrizzlyHttpClient:282 (null) 4. Error sending HTTP request. Message payload is of type: NullPayload (org.mule.api.MessagingException) org.mule.module.http.internal.request.DefaultHttpRequester:190 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html) -------------------------------------------------------------------------------- Root Exception stack trace: java.lang.IllegalStateException: 401 response received, but no WWW-Authenticate header was present at com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProvider$AsyncHttpClientEventFilter$AuthorizationHandler.handleStatus(GrizzlyAsyncHttpProvider.java:1623) at com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProvider$AsyncHttpClientEventFilter.onHttpHeadersParsed(GrizzlyAsyncHttpProvider.java:1422) at org.glassfish.grizzly.http.HttpCodecFilter.decodeHttpPacketFromBytes(HttpCodecFilter.java:664)

    MuleSoft JIRA | 2 years ago | Eleonora Ortega
    java.lang.IllegalStateException: 401 response received, but no WWW-Authenticate header was present
  3. 0

    When using Github API with an HTTP request, the following error is displayed in the console after executing the application. 401 response received, but no WWW-authenticate header was present See enclosed project: See console log: Exception stack is: 1. 401 response received, but no WWW-Authenticate header was present (java.lang.IllegalStateException) com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProvider$AsyncHttpClientEventFilter$AuthorizationHandler:1623 (null) 2. java.lang.IllegalStateException: 401 response received, but no WWW-Authenticate header was present (java.util.concurrent.ExecutionException) org.glassfish.grizzly.impl.SafeFutureImpl$Sync:363 (null) 3. java.util.concurrent.ExecutionException: java.lang.IllegalStateException: 401 response received, but no WWW-Authenticate header was present (java.io.IOException) org.mule.module.http.internal.request.grizzly.GrizzlyHttpClient:282 (null) 4. Error sending HTTP request. Message payload is of type: NullPayload (org.mule.api.MessagingException) org.mule.module.http.internal.request.DefaultHttpRequester:190 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/MessagingException.html) -------------------------------------------------------------------------------- Root Exception stack trace: java.lang.IllegalStateException: 401 response received, but no WWW-Authenticate header was present at com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProvider$AsyncHttpClientEventFilter$AuthorizationHandler.handleStatus(GrizzlyAsyncHttpProvider.java:1623) at com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProvider$AsyncHttpClientEventFilter.onHttpHeadersParsed(GrizzlyAsyncHttpProvider.java:1422) at org.glassfish.grizzly.http.HttpCodecFilter.decodeHttpPacketFromBytes(HttpCodecFilter.java:664)

    MuleSoft JIRA | 2 years ago | Eleonora Ortega
    java.lang.IllegalStateException: 401 response received, but no WWW-Authenticate header was present
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      401 response received, but no WWW-Authenticate header was present

      at com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProvider$AsyncHttpClientEventFilter$AuthorizationHandler.handleStatus()
    2. Asynchronous Http Client
      GrizzlyAsyncHttpProvider$AsyncHttpClientEventFilter.onHttpHeadersParsed
      1. com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProvider$AsyncHttpClientEventFilter$AuthorizationHandler.handleStatus(GrizzlyAsyncHttpProvider.java:1623)
      2. com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProvider$AsyncHttpClientEventFilter.onHttpHeadersParsed(GrizzlyAsyncHttpProvider.java:1422)
      2 frames
    3. grizzly-http
      HttpCodecFilter.decodeHttpPacketFromBytes
      1. org.glassfish.grizzly.http.HttpCodecFilter.decodeHttpPacketFromBytes(HttpCodecFilter.java:664)
      1 frame