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)

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 JDK Bug System by Sibabrata Sahoo, 1 year ago
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)
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 undefined.CipherTest$Client.sendRequest(CipherTest.java:381)
at undefined.JSSEClient.runTest(JSSEClient.java:57)
at undefined.CipherTest$Client.run(CipherTest.java:368)

Users with the same issue

You are the first who have seen this exception.

Write tip

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