javax.net.ssl.SSLException: Unexpected end of handshake data

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 Oracle Community by samsam, 1 year ago
via Oracle Community by 673675, 1 year ago
via Oracle Community by 843811, 1 year ago
Unexpected end of handshake data
via james-server-user by Kevin Kovach, 1 year ago
Unexpected end of handshake data
via Oracle Community by 843810, 1 year ago
javax.net.ssl.SSLException: Unexpected end of handshake data
at java.io.InputStream.read(InputStream.java:85)
at com.sun.net.ssl.internal.ssl.UnknownExtension.(HelloExtensions.java:204)
at com.sun.net.ssl.internal.ssl.HelloExtensions.(HelloExtensions.java:69)
at com.sun.net.ssl.internal.ssl.HandshakeMessage$ClientHello.(HandshakeMessage.java:252)
at com.sun.net.ssl.internal.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:135)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123)
at oracle.oc4j.network.ServerSocketAcceptHandler.doSSLHandShaking(ServerSocketAcceptHandler.java:245)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:867)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:619)

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.