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)

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

    Android Sending mail to gmail using smtp

    Stack Overflow | 1 year ago | user000
    avax.net.ssl.SSLHandshakeException: j avax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x755e6040: Failure in SSL library, usually a protocol error
  3. 0

    db:: 3.84::I get a Client Certificate error The request subject name is invalid or too long 0x80094001. dx

    hivmr.com | 8 months ago
    avax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Could not find trusted certificate
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    javax.net.ssl.SSLHandshakeException: Couldn't find trusted certificate

    Oracle Community | 1 decade ago | 843811
    avax.net.ssl.SSLHandshakeException: Received fatal alert: no_certificate
  6. 0

    HTTPS using Keystore Issue in Java

    Stack Overflow | 2 years ago | Ashish
    avax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

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