javax.net.ssl.SSLException: Connection closed by peer

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 arnold asllani
, 1 year ago
via GitHub by tcitworld
, 2 years ago
Connection closed by peer
via GitHub by DJaeger
, 1 year ago
SSL handshake aborted: ssl=0x79b03ca8: I/O error during system call, Connection reset by peer
via Stack Overflow by FrankFabregat3
, 11 hours ago
SSL handshake aborted: ssl=0xb8ca3c40: I/O error during system call, Connection reset by peer
via GitHub by LenoirCZ
, 7 months ago
SSL handshake aborted: ssl=0x6c7dd9a0: I/O error during system call, Connection reset by peer
javax.net.ssl.SSLException: Connection closed by peer
at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
at com.android.okhttp.Connection.upgradeToTls(Connection.java:146)
at com.android.okhttp.Connection.connect(Connection.java:107)
at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:294)
at com.android.okhttp.internal.http.HttpEngine.sendSocketRequest(HttpEngine.java:255)
at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:206)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:345)
at com.android.okhttp.internal.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:89)

Users with the same issue

Samebug visitor profile picture
Unknown user
2 times, 2 years ago
14 times, 4 months ago
Once, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
9 more bugmates

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