Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8160023

sun/net/www/protocol/https/HttpsURLConnection/PostThruProxyWithAuth.sh failed with IOException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:

      Description

      Exception in thread "main" java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"
      at sun.net.www.protocol.http.HttpURLConnection.doTunneling(java.base@9-ea/HttpURLConnection.java:2077)
      at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(java.base@9-ea/AbstractDelegateHttpsURLConnection.java:183)
      at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(java.base@9-ea/HttpURLConnection.java:1280)
      at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(java.base@9-ea/HttpURLConnection.java:1255)
      at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(java.base@9-ea/HttpsURLConnectionImpl.java:231)
      at PostThruProxyWithAuth.doClientSide(PostThruProxyWithAuth.java:172)
      at PostThruProxyWithAuth.main(PostThruProxyWithAuth.java:113)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dfuchs Daniel Fuchs
                Reporter:
                jjiang John Jiang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: