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 | 2 months ago
  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 | 2 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)
  2. 0

    ----------System.err:(32/2528)---------- javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake at sun.security.ssl.SSLSocketImpl.readRecord(java.base@9-ea/SSLSocketImpl.java:1053) at sun.security.ssl.SSLSocketImpl.readRecord(java.base@9-ea/SSLSocketImpl.java:968) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(java.base@9-ea/SSLSocketImpl.java:1395) at sun.security.ssl.SSLSocketImpl.startHandshake(java.base@9-ea/SSLSocketImpl.java:1422) at sun.security.ssl.SSLSocketImpl.startHandshake(java.base@9-ea/SSLSocketImpl.java:1406) at sun.net.www.protocol.https.HttpsClient.afterConnect(java.base@9-ea/HttpsClient.java:558) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(java.base@9-ea/AbstractDelegateHttpsURLConnection.java:185) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(java.base@9-ea/HttpURLConnection.java:1505) at sun.net.www.protocol.http.HttpURLConnection.access$200(java.base@9-ea/HttpURLConnection.java:95) at sun.net.www.protocol.http.HttpURLConnection$9.run(java.base@9-ea/HttpURLConnection.java:1425) at sun.net.www.protocol.http.HttpURLConnection$9.run(java.base@9-ea/HttpURLConnection.java:1423) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.security.AccessController.doPrivilegedWithCombiner(java.base@9-ea/AccessController.java:792) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(java.base@9-ea/HttpURLConnection.java:1422) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(java.base@9-ea/HttpsURLConnectionImpl.java:235) at Equals.test(Equals.java:95) at Equals.main(Equals.java:61) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:533) at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) Caused by: java.io.EOFException: SSL peer shut down incorrectly at sun.security.ssl.SSLSocketInputRecord.decode(java.base@9-ea/SSLSocketInputRecord.java:156) at sun.security.ssl.SSLSocketImpl.readRecord(java.base@9-ea/SSLSocketImpl.java:1026) ... 22 more JavaTest Message: Test threw exception: javax.net.ssl.SSLHandshakeException JavaTest Message: shutting down test result: Failed. Execution failed: `main' threw exception: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake test result: Failed. Execution failed: `main' threw exception: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake

    JDK Bug System | 5 months ago | John Jiang
    javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake at sun.security.ssl.SSLSocketImpl.readRecord(java.base@9-ea/SSLSocketImpl.java:1053) at sun.security.ssl.SSLSocketImpl.readRecord(java.base@9-ea/SSLSocketImpl.java:968) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(java.base@9-ea/SSLSocketImpl.java:1395) at sun.security.ssl.SSLSocketImpl.startHandshake(java.base@9-ea/SSLSocketImpl.java:1422) at sun.security.ssl.SSLSocketImpl.startHandshake(java.base@9-ea/SSLSocketImpl.java:1406) at sun.net.www.protocol.https.HttpsClient.afterConnect(java.base@9-ea/HttpsClient.java:558) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(java.base@9-ea/AbstractDelegateHttpsURLConnection.java:185) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(java.base@9-ea/HttpURLConnection.java:1505) at sun.net.www.protocol.http.HttpURLConnection.access$200(java.base@9-ea/HttpURLConnection.java:95) at sun.net.www.protocol.http.HttpURLConnection$9.run(java.base@9-ea/HttpURLConnection.java:1425) at sun.net.www.protocol.http.HttpURLConnection$9.run(java.base@9-ea/HttpURLConnection.java:1423) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at java.security.AccessController.doPrivilegedWithCombiner(java.base@9-ea/AccessController.java:792) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(java.base@9-ea/HttpURLConnection.java:1422) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(java.base@9-ea/HttpsURLConnectionImpl.java:235)
  3. 0

    DavMail POP/IMAP/SMTP/Caldav to Exchange / Mailing Lists

    sourceforge.net | 5 months ago
    javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1343) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkWrite(SSLSocketImpl.java:1355) at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:44) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    DavMail POP/IMAP/SMTP/Caldav to Exchange / Mailing Lists

    sourceforge.net | 4 months ago
    javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1343) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkWrite(SSLSocketImpl.java:1355) at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:44) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
  6. 0

    DavMail POP/IMAP/SMTP/Caldav to Exchange / Mailing Lists

    sourceforge.net | 5 months ago
    javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:882) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1188) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:654) at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:100) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)

    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. 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