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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by K. Lukkin
, 1 year ago
Remote host closed connection during handshake
via Oracle Community by SuperCoolDamnAwsome, 1 year ago
Remote host closed connection during handshake *** RESULT *** null
via Stack Overflow by bodizo
, 2 years ago
via GitHub by ganskef
, 1 year ago
Remote host closed connection during handshake
via Google Groups by Paul, 1 year ago
Remote host closed connection during handshake
via Stack Overflow by sss
, 7 months ago
java.io.EOFException: SSL peer shut down incorrectly
at sun.security.ssl.InputRecord.read(InputRecord.java:505)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at undefined.Test.main(Test.java:78)

Users with the same issue

Once, 1 week ago
2 times, 1 week ago
2 times, 1 week ago
Once, 1 month ago
44 times, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.