java.net.HttpRetryException: cannot retry due to server authentication, in streaming mode

JDK Bug System | Senthil Kumar | 5 years ago
  1. 0

    WebView HttpRetryException

    Oracle Community | 5 years ago | 917106
    java.net.HttpRetryException: cannot retry due to server authentication, in streaming mode
  2. 0

    I am using WebView in a JavaFX application to load intranet webpages. Kerberos authentication is used and I have configured the Kerberos settings and it is working fine. The webpage is a kind of search page. The initial page loads fine. But when I enter a search term and click search, I get the following error Feb 27, 2012 6:42:30 PM com.sun.webpane.webkit.network.URLFetcher doRun WARNING: Unexpected error java.net.HttpRetryException: cannot retry due to server authentication, in streaming mode at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1411) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468) at com.sun.webpane.webkit.network.URLFetcher.receiveResponse(Unknown Source) at com.sun.webpane.webkit.network.URLFetcher.doRun(Unknown Source) at com.sun.webpane.webkit.network.URLFetcher.access$000(Unknown Source) at com.sun.webpane.webkit.network.URLFetcher$1.run(Unknown Source) at com.sun.webpane.webkit.network.URLFetcher$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at com.sun.webpane.webkit.network.URLFetcher.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) It seems it is because of using streaming mode. But I dont find any option to disable it. How to make it work ?

    JDK Bug System | 5 years ago | Senthil Kumar
    java.net.HttpRetryException: cannot retry due to server authentication, in streaming mode
  3. 0

    Exception when Using TestRestTemplate

    Stack Overflow | 2 years ago | winsik
    org.springframework.http.converter.HttpMessageNotReadableException: Could not read JSON: cannot retry due to server authentication, in streaming mode; nested exception is java.net.HttpRetryException: cannot retry due to server authentication, in streaming mode
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 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. java.net.HttpRetryException

      cannot retry due to server authentication, in streaming mode

      at sun.net.www.protocol.http.HttpURLConnection.getInputStream()
    2. Java RT
      HttpURLConnection.getResponseCode
      1. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1411)
      2. java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
      2 frames
    3. com.sun.webpane
      URLFetcher$1.run
      1. com.sun.webpane.webkit.network.URLFetcher.receiveResponse(Unknown Source)
      2. com.sun.webpane.webkit.network.URLFetcher.doRun(Unknown Source)
      3. com.sun.webpane.webkit.network.URLFetcher.access$000(Unknown Source)
      4. com.sun.webpane.webkit.network.URLFetcher$1.run(Unknown Source)
      5. com.sun.webpane.webkit.network.URLFetcher$1.run(Unknown Source)
      5 frames
    4. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    5. com.sun.webpane
      URLFetcher.run
      1. com.sun.webpane.webkit.network.URLFetcher.run(Unknown Source)
      1 frame
    6. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:166)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      6. java.lang.Thread.run(Thread.java:722)
      6 frames