javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

Coderanch | Raymond Holguin | 2 years ago
  1. 0

    Java SSLHandshakeException on one server but not another?

    Stack Overflow | 2 years ago | Raymond Holguin
    javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
  2. 0

    Java SSLHandshakeException issue

    Coderanch | 2 years ago | Raymond Holguin
    javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
  3. 0

    How to make Java 6, which fails SSL connection with "SSL peer shut down incorrectly", succeed like Java 7?

    Stack Overflow | 4 years ago | Sean Owen
    javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception is thrown during SSLHandshake while using Java's HttpsServer

    Stack Overflow | 3 years ago | Niranjan Subramanian
    javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

    15 unregistered visitors
    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. java.io.EOFException

      SSL peer shut down incorrectly

      at com.sun.net.ssl.internal.ssl.InputRecord.read()
    2. Java JSSE
      SSLSocketImpl.startHandshake
      1. com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:333)
      2. com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863)
      3. com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1203)
      4. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1230)
      5. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1214)
      5 frames
    3. Java RT
      HttpsURLConnectionImpl.connect
      1. sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:434)
      2. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
      3. sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:133)
      3 frames
    4. test
      Main.main
      1. test.Main.main(Main.java:43)
      1 frame