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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via mysql.com by Unknown author, 1 year ago
Remote host closed connection during handshake
via Oracle Community by 807597, 1 year ago
Remote host closed connection during handshake
via ejbca by chlang
, 1 year ago
Remote host closed connection during handshake
via hivmr.com by Unknown author, 1 year ago
Remote host closed connection during handshake
via Oracle Community by 843811, 1 year ago
Remote host closed connection during handshake
via hivmr.com by Unknown author, 1 year ago
Remote host closed connection during handshake
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(Unknown Source)
at com.mysql.jdbc.ExportControlled.transformSocketToSSLSocket(ExportControlled.java:72)
at com.mysql.jdbc.MysqlIO.negotiateSSLConnection(MysqlIO.java:4235)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1222)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2544)
at com.mysql.jdbc.Connection.(Connection.java:1474)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
at java.sql.DriverManager.getConnection(Unknown Source)
at undefined.DatabaseConnectionSSL.connect(DatabaseConnectionSSL.java:43)
at undefined.DatabaseConnectionSSL.(DatabaseConnectionSSL.java:24)
at undefined.SSLTest.(SSLTest.java:22)
at undefined.SSLTest.main(SSLTest.java:44)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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