com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: org.apache.http.auth.MalformedChallengeException: Authentication challenge is empty

Atlassian JIRA | Deric Lee | 10 months ago
  1. 0

    h3. Summary Setting {{http.proxyUser}} and {{http.proxyPassword}} breaks forward proxy configuration h3. Steps to Reproduce # Use the following configuration in {{catalina.properties}} {noformat:borderStyle=dashed} #web proxy settings http.proxyHost=localhost http.proxyPort=8888 http.nonProxyHosts=localhost http.proxyUser=admin http.proxyPassword=admin {noformat} (i) Does not need to be a valid proxy server as we are testing againsnt the nonProxyHosts # Start Bamboo # Start Stash on the same server # Attempt to create application link to the Stash server using the _localhost_ address h3. Expected Results The link should be created despite the invalid proxy configuration as localhost is whitelisted in nonProxyHost h3. Actual Results The below exception is thrown in the atlassian-bamboo.log file: {noformat} 2016-01-28 21:26:05,565 INFO [http-nio-8085-exec-22] [AccessLogFilter] admin GET http://10.60.3.18:8085/bamboo/rest/applinks/3.0/manifest.json?_=1453987487624 348848kb 2016-01-28 21:26:05,578 ERROR [http-nio-8085-exec-21] [CreateApplicationLinkUIResource] Exception thrown while retrieving manifest com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: org.apache.http.auth.MalformedChallengeException: Authentication challenge is empty at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2203) at com.google.common.cache.LocalCache.get(LocalCache.java:3937) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824) {noformat} h3. Notes Removing the the username and password field, despite using an invalid proxy ip and port works as localhost is whitelisted as nonProxyHosts

    Atlassian JIRA | 10 months ago | Deric Lee [Atlassian]
    com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: org.apache.http.auth.MalformedChallengeException: Authentication challenge is empty
  2. 0

    h3. Summary Setting proxyUser and proxyPassword in the catalina.properties file breaks web proxy configuration h3. Environment * Any version of Confluence using SAL plugin 3.0.5 * Confluence 5.9.5 in this case h3. Steps to Reproduce # Use the following configuration in {{catalina.properties}} {noformat:borderStyle=dashed} #web proxy settings http.proxyHost=localhost http.proxyPort=8888 http.nonProxyHosts=localhost http.proxyUser=admin http.proxyPassword=admin {noformat} (i) Does not need to be a valid proxy server as we are testing against the nonProxyHosts (i) This problem also occurs if the proxy configuration is set in Confluence's {{setenv.sh}} rather than in {{catalina.properties}} # Start Confluence # Start JIRA on the same server # Attempt to create application link to the Stash server using the _localhost_ address h3. Expected Results The link should be created despite the invalid proxy configuration as {{localhost}} is whitelisted in {{http.nonProxyHost}} h3. Actual Results The below exception is thrown in the atlassian-confluence.log file: {noformat} 2016-01-28 21:26:05,565 INFO [http-nio-8085-exec-22] [AccessLogFilter] admin GET http://10.60.3.18:8090/confluence/rest/applinks/3.0/manifest.json?_=1453987487624 348848kb 2016-01-28 21:26:05,578 ERROR [http-nio-8085-exec-21] [CreateApplicationLinkUIResource] Exception thrown while retrieving manifest com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: org.apache.http.auth.MalformedChallengeException: Authentication challenge is empty at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2203) at com.google.common.cache.LocalCache.get(LocalCache.java:3937) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824) {noformat} h3. Notes Removing the the username and password field, despite using an invalid proxy ip and port, works as localhost is whitelisted as nonProxyHosts h3. Workaround Since the problem only affects configurations in which a proxy is used that requires credentials to be provided, a potential workaround is to change the configuration of the proxy server such that it allows connections from the IP address of the machine that Confluence is running on without requiring credentials. h3. Suggested Resolution Fix [SAL-350|https://ecosystem.atlassian.net/browse/SAL-350] and bundle the newest version of that plugin into Confluence.

    Atlassian JIRA | 6 months ago | Daniel Ponzio [Atlassian]
    com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: org.apache.http.auth.MalformedChallengeException: Authentication challenge is empty
  3. 0

    h3. Summary Setting {{http.proxyUser}} and {{http.proxyPassword}} breaks forward proxy configuration h3. Steps to Reproduce # Use the following configuration in {{catalina.properties}}, {{setenv.sh}} or the Windows Service. {noformat:borderStyle=dashed} #web proxy settings http.proxyHost=localhost http.proxyPort=8888 http.nonProxyHosts=localhost http.proxyUser=admin http.proxyPassword=admin {noformat} (i) Does not need to be a valid proxy server as we are testing against the nonProxyHosts (i) This problem also occurs if the proxy configuration is set in Bamboo's {{setenv.sh}} rather than in {{catalina.properties}} # Start Bamboo # Start Stash on the same server # Attempt to create application link to the Stash server using the _localhost_ address h3. Expected Results The link should be created despite the invalid proxy configuration as {{localhost}} is whitelisted in {{http.nonProxyHost}} h3. Actual Results The below exception is thrown in the atlassian-bamboo.log file: {noformat} 2016-01-28 21:26:05,565 INFO [http-nio-8085-exec-22] [AccessLogFilter] admin GET http://10.60.3.18:8085/bamboo/rest/applinks/3.0/manifest.json?_=1453987487624 348848kb 2016-01-28 21:26:05,578 ERROR [http-nio-8085-exec-21] [CreateApplicationLinkUIResource] Exception thrown while retrieving manifest com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: org.apache.http.auth.MalformedChallengeException: Authentication challenge is empty at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2203) at com.google.common.cache.LocalCache.get(LocalCache.java:3937) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824) {noformat} h3. Notes Removing the the username and password field, despite using an invalid proxy ip and port, works as localhost is whitelisted as nonProxyHosts h3. Workaround Since the problem only affects configurations in which a proxy is used that requires credentials to be provided, a potential workaround is to change the configuration of the proxy server such that it allows connections from the IP address of the machine that Bamboo is running on without requiring credentials.

    Atlassian JIRA | 10 months ago | Deric Lee
    com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: org.apache.http.auth.MalformedChallengeException: Authentication challenge is empty
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Bug in -core: URI normalization fails with URNs/"opaque" URIs (was Validation breaks when using Jackson >= 2.4.2)

    GitHub | 2 years ago | tkruse
    com.google.common.util.concurrent.UncheckedExecutionException: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: How did I get there??
  6. 0

    Possible error with JSON serialization

    GitHub | 1 year ago | idrabenia
    com.google.common.util.concurrent.UncheckedExecutionException: javax.ws.rs.ProcessingException: Unable to invoke request

  1. Handemelindo 2 times, last 2 months ago
6 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.google.common.util.concurrent.UncheckedExecutionException

    java.lang.IllegalStateException: org.apache.http.auth.MalformedChallengeException: Authentication challenge is empty

    at com.google.common.cache.LocalCache$Segment.get()
  2. Guava
    LocalCache$LocalLoadingCache.get
    1. com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2203)
    2. com.google.common.cache.LocalCache.get(LocalCache.java:3937)
    3. com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941)
    4. com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824)
    4 frames