javax.net.ssl.SSLHandshakeException

Connection closed by peer

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web93

Stack trace

  • javax.net.ssl.SSLHandshakeException: Connection closed by peer at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method) at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:357) at com.android.okhttp.Connection.connectTls(Connection.java:235) at com.android.okhttp.Connection.connectSocket(Connection.java:199) at com.android.okhttp.Connection.connect(Connection.java:172) at com.android.okhttp.Connection.connectAndSetOwner(Connection.java:367) at com.android.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:130) at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:329) at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:246) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:457) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:126) at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.connect(DelegatingHttpsURLConnection.java:89) at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java) at org.ksoap2.transport.ServiceConnectionSE.connect(ServiceConnectionSE.java:76) at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:153) at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:95) at com.ngha.sshr.LoginActivity$ValidateUserAsyncTask.callingValidateUser(LoginActivity.java:260) at com.ngha.sshr.LoginActivity$ValidateUserAsyncTask.doInBackground(LoginActivity.java:159) at com.ngha.sshr.LoginActivity$ValidateUserAsyncTask.doInBackground(LoginActivity.java:141) at android.os.AsyncTask$2.call(AsyncTask.java:316) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:255) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:776)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

filipebatistafilipebatista
Once,
filpgamefilpgame
4 times, last one
Alexandru PopaAlexandru Popa
16 times, last one
Indri YunitaIndri Yunita
7 times, last one
gamebusterzgamebusterz
25 times, last one
44 more bugmates