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.writeRecord(java.base@9-internal/SSLSocketImpl.java:728) at sun.security.ssl.AppOutputStream.write(java.base@9-internal/AppOutputStream.java:67) at java.io.OutputStream.write(java.base@9-internal/OutputStream.java:75)

JDK Bug System | Sibabrata Sahoo | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Test: sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java Platform: macosx-x64 Exception Log: avax.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.writeRecord(java.base@9-internal/SSLSocketImpl.java:728) at sun.security.ssl.AppOutputStream.write(java.base@9-internal/AppOutputStream.java:67) at java.io.OutputStream.write(java.base@9-internal/OutputStream.java:75) at CipherTest$Client.sendRequest(CipherTest.java:381) at JSSEClient.runTest(JSSEClient.java:57) at CipherTest$Client.run(CipherTest.java:368) 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) ... 9 more 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.writeRecord(java.base@9-internal/SSLSocketImpl.java:728) at sun.security.ssl.AppOutputStream.write(java.base@9-internal/AppOutputStream.java:67) at java.io.OutputStream.write(java.base@9-internal/OutputStream.java:75) at CipherTest$Client.sendRequest(CipherTest.java:381) at JSSEClient.runTest(JSSEClient.java:57) at CipherTest$Client.run(CipherTest.java:368) 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) ... 9 more 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.writeRecord(java.base@9-internal/SSLSocketImpl.java:728) at sun.security.ssl.AppOutputStream.write(java.base@9-internal/AppOutputStream.java:67) at java.io.OutputStream.write(java.base@9-internal/OutputStream.java:75) at CipherTest$Client.sendRequest(CipherTest.java:381) at JSSEClient.runTest(JSSEClient.java:57) at CipherTest$Client.run(CipherTest.java:368) 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) ... 9 more 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.writeRecord(java.base@9-internal/SSLSocketImpl.java:728) at sun.security.ssl.AppOutputStream.write(java.base@9-internal/AppOutputStream.java:67) at java.io.OutputStream.write(java.base@9-internal/OutputStream.java:75) at CipherTest$Client.sendRequest(CipherTest.java:381) at JSSEClient.runTest(JSSEClient.java:57) at CipherTest$Client.run(CipherTest.java:368) 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) ... 9 more java.lang.Exception: *** Test 'Client JSSE - Server JSSE' failed *** at CipherTest.run(CipherTest.java:325) at CipherTest.main(CipherTest.java:449) at ClientJSSEServerJSSE.main(ClientJSSEServerJSSE.java:67) at PKCS11Test.premain(PKCS11Test.java:165) at PKCS11Test.testNSS(PKCS11Test.java:516) at PKCS11Test.main(PKCS11Test.java:201) at ClientJSSEServerJSSE.main(ClientJSSEServerJSSE.java:57) 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) JavaTest Message: Test threw exception: java.lang.Exception: *** Test 'Client JSSE - Server JSSE' failed *** JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.Exception: *** Test 'Client JSSE - Server JSSE' failed ***

    JDK Bug System | 6 months ago | Sibabrata Sahoo
    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.writeRecord(java.base@9-internal/SSLSocketImpl.java:728) at sun.security.ssl.AppOutputStream.write(java.base@9-internal/AppOutputStream.java:67) at java.io.OutputStream.write(java.base@9-internal/OutputStream.java:75)

    Root Cause Analysis

    1. 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.writeRecord(java.base@9-internal/SSLSocketImpl.java:728) at sun.security.ssl.AppOutputStream.write(java.base@9-internal/AppOutputStream.java:67) at java.io.OutputStream.write(java.base@9-internal/OutputStream.java:75)

      at CipherTest$Client.sendRequest()
    2. Unknown
      CipherTest$Client.run
      1. CipherTest$Client.sendRequest(CipherTest.java:381)
      2. JSSEClient.runTest(JSSEClient.java:57)
      3. CipherTest$Client.run(CipherTest.java:368)
      3 frames