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

sun/security/ssl/SocketCreation/SocketCreation.java Test failed with "javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake"

    XMLWordPrintable

    Details

      Description

      Test:
      sun/security/ssl/SocketCreation/SocketCreation.java

      Log:
      Server: Will create unbound SSL server socket...
      Server: Bound SSL server socket to port 36112...
      Server: Will accept on SSL server socket...
      Client: Will call createSocket(String, int, InetAddress, int)
      ----------System.err:(26/1784)----------
      javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
      at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1058)
      at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
      at java.base/sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1402)
      at java.base/sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:733)
      at java.base/sun.security.ssl.AppOutputStream.write(AppOutputStream.java:67)
      at java.base/sun.security.ssl.AppOutputStream.write(AppOutputStream.java:81)
      at SocketCreation.doClientSide(SocketCreation.java:296)
      at SocketCreation.startClient(SocketCreation.java:508)
      at SocketCreation.<init>(SocketCreation.java:440)
      at SocketCreation.main(SocketCreation.java:413)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:547)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.base/java.lang.Thread.run(Thread.java:844)
      Caused by: java.io.EOFException: SSL peer shut down incorrectly
      at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:156)
      at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1031)
      ... 15 more

      JavaTest Message: Test threw exception: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jjiang John Jiang
                Reporter:
                ssahoo Sibabrata Sahoo
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: