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

sun/net/www/protocol/https/HttpsClient/ProxyAuthTest.java fails intermittently

    XMLWordPrintable

    Details

      Description

      sun/net/www/protocol/https/HttpsClient/ProxyAuthTest.java fails intermittently with SSLHandshakeException:

      javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
      at sun.security.ssl.SSLSocketImpl.readRecord(java.base@9-internal/SSLSocketImpl.java:1053)
      at sun.security.ssl.SSLSocketImpl.readRecord(java.base@9-internal/SSLSocketImpl.java:968)
      at sun.security.ssl.SSLSocketImpl.performInitialHandshake(java.base@9-internal/SSLSocketImpl.java:1395)
      at sun.security.ssl.SSLSocketImpl.startHandshake(java.base@9-internal/SSLSocketImpl.java:1422)
      at sun.security.ssl.SSLSocketImpl.startHandshake(java.base@9-internal/SSLSocketImpl.java:1406)
      at sun.net.www.protocol.https.HttpsClient.afterConnect(java.base@9-internal/HttpsClient.java:558)
      at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(java.base@9-internal/AbstractDelegateHttpsURLConnection.java:185)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(java.base@9-internal/HttpURLConnection.java:1502)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(java.base@9-internal/HttpURLConnection.java:1430)
      at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(java.base@9-internal/HttpsURLConnectionImpl.java:235)
      at java.net.URL.openStream(java.base@9-internal/URL.java:1115)
      at ProxyAuthTest.doClientSide(ProxyAuthTest.java:165)
      at ProxyAuthTest.main(ProxyAuthTest.java:115)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:535)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(java.base@9-internal/Thread.java:843)
      Caused by: java.io.EOFException: SSL peer shut down incorrectly
      at sun.security.ssl.SSLSocketInputRecord.decode(java.base@9-internal/SSLSocketInputRecord.java:156)
      at sun.security.ssl.SSLSocketImpl.readRecord(java.base@9-internal/SSLSocketImpl.java:1026)
      ... 18 more

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              asmotrak Artem Smotrakov
              Reporter:
              amlu Amy Lu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: