com.android.volley.NoConnectionError: javax.net.ssl.SSLException: Write error: ssl=0xafc3fe00: I/O error during system call, Connection reset by peer


Solutions on the web14

Solution icon of stackoverflow
javax.net.ssl.SSLException: Write error: ssl=0xafc3fe00: I/O error during system call, Connection reset by peer

Solution icon of stackoverflow
javax.net.ssl.SSLHandshakeException: SSL handshake aborted: ssl=0x55992c23a0: I/O error during system call, Connection reset by peer

Solution icon of stackoverflow
java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)

Solution icon of stackoverflow
javax.net.ssl.SSLHandshakeException: Connection closed by peer

Solution icon of stackoverflow
javax.net.ssl.SSLHandshakeException: Connection closed by peer

Solution icon of web
via google.com by Unknown author, 1 year ago
javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x5c633550: Failure in SSL library, usually a protocol error error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:741 0x40948876:0x00000000)

Solution icon of stackoverflow
javax.net.ssl.SSLProtocolException: Read error: ssl=0x9fbd9800: Failure in SSL library, usually a protocol error error:100c5410:SSL routines:ssl3_read_bytes:SSLV3_ALERT_HANDSHAKE_FAILURE (external/boringssl/src/ssl/s3_pkt.c:972 0xaec57620:0x00000001

Solution icon of github
via GitHub by wy315700
, 1 year ago
java.io.IOException: stream was reset: PROTOCOL_ERROR

Solution icon of github
via GitHub by wy315700
, 1 year ago
java.io.IOException: stream was reset: PROTOCOL_ERROR

Solution icon of github
via GitHub by martinvol
, 10 months ago
java.net.ConnectException: Connection refused

Stack trace

com.android.volley.NoConnectionError: javax.net.ssl.SSLException: Write error: ssl=0xafc3fe00: I/O error during system call, Connection reset by peer
	at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:151)
	at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:112)
Caused by: javax.net.ssl.SSLException: Write error: ssl=0xafc3fe00: I/O error during system call, Connection reset by peer
	at com.android.org.conscrypt.NativeCrypto.SSL_write(Native Method)
	at com.android.org.conscrypt.OpenSSLSocketImpl$SSLOutputStream.write(OpenSSLSocketImpl.java:765)
	at com.android.okio.Okio$1.write(Okio.java:70)
	at com.android.okio.RealBufferedSink.emitCompleteSegments(RealBufferedSink.java:116)
	at com.android.okio.RealBufferedSink.write(RealBufferedSink.java:44)
	at com.android.okhttp.internal.http.RetryableSink.writeToSocket(RetryableSink.java:77)
	at com.android.okhttp.internal.http.HttpConnection.writeRequestBody(HttpConnection.java:240)
	at com.android.okhttp.internal.http.HttpTransport.writeRequestBody(HttpTransport.java:77)
	at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:622)
	at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:388)
	at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:332)
	at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:500)
	at com.android.okhttp.internal.http.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:105)
	at com.android.okhttp.internal.http.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:25)
	at com.android.volley.toolbox.HurlStack.performRequest(HurlStack.java:110)
	at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:96)

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

2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 1 month ago
14 times, 1 month ago
Once, 3 months ago
15 more bugmates