java.lang.Error: Multiple values for 'WWW-Authenticate' header were detected

Stack Overflow | Pranab Agarwal | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    MobileFirst [GatewayChallengeHandler]: Android application crashes while trying to access server resource

    Stack Overflow | 6 months ago | Pranab Agarwal
    java.lang.Error: Multiple values for 'WWW-Authenticate' header were detected

    Root Cause Analysis

    1. java.lang.Error

      Multiple values for 'WWW-Authenticate' header were detected

      at com.worklight.wlclient.auth.WLAuthorizationManagerInternal.getAuthorizationScope()
    2. com.worklight.wlclient
      WLResourceRequest$1.onResponse
      1. com.worklight.wlclient.auth.WLAuthorizationManagerInternal.getAuthorizationScope(WLAuthorizationManagerInternal.java:1328)
      2. com.worklight.wlclient.auth.WLAuthorizationManagerInternal.getAuthorizationScope(WLAuthorizationManagerInternal.java:365)
      3. com.worklight.wlclient.api.WLResourceRequest.handleOnSuccess(WLResourceRequest.java:687)
      4. com.worklight.wlclient.api.WLResourceRequest.access$100(WLResourceRequest.java:65)
      5. com.worklight.wlclient.api.WLResourceRequest$1.onResponse(WLResourceRequest.java:596)
      5 frames
    3. OkHttp
      NamedRunnable.run
      1. com.squareup.okhttp.Call$AsyncCall.execute(Call.java:177)
      2. com.squareup.okhttp.internal.NamedRunnable.run(NamedRunnable.java:33)
      2 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
      3. java.lang.Thread.run(Thread.java:818)
      3 frames