java.io.IOException: unexpected end of stream on Connection{login.microsoftonline.com:443, proxy=DIRECT hostAddress=104.41.216.17 cipherSuite=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA protocol=http/1.1} (recycle count=0)


Solutions on the web

Solution icon of github
via GitHub by yoelhor
, 4 months ago
unexpected end of stream on Connection{login.microsoftonline.com:443, proxy=DIRECT hostAddress=104.41.216.17 cipherSuite=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA protocol=http/1.1} (recycle count=0)

Solution icon of github
via GitHub by WBertan
, 1 month ago
unexpected end of stream on Connection{login.microsoftonline.com:443, proxy=DIRECT hostAddress=104.41.216.17 cipherSuite=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA protocol=http/1.1} (recycle count=0)

Solution icon of github
via GitHub by WBertan
, 1 month ago
unexpected end of stream on Connection{login.microsoftonline.com:443, proxy=DIRECT hostAddress=40.112.64.17 cipherSuite=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA protocol=http/1.1} (recycle count=0)

Solution icon of github
unexpected end of stream on Connection{login.windows.net:443, proxy=DIRECT hostAddress=52.172.144.18 cipherSuite=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA protocol=http/1.1} (recycle count=0)

Solution icon of github
via GitHub by ramprasad1477
, 6 months ago
unexpected end of stream on Connection{login.windows.net:443, proxy=DIRECT hostAddress=52.172.144.18 cipherSuite=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA protocol=http/1.1} (recycle count=0)

Solution icon of github
unexpected end of stream on Connection{login.windows.net:443, proxy=DIRECT@ hostAddress=52.172.144.17 cipherSuite=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA protocol=http/1.1} (recycle count=0)

Solution icon of stackoverflow
unexpected end of stream on Connection{apis.poolmyride.com:443, proxy=DIRECT@ hostAddress=95.85.23.115 cipherSuite=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 protocol=http/1.1} (recycle count=0)

Solution icon of stackoverflow
unexpected end of stream on Connection{produccion.sslsignature.com:443, proxy=DIRECT hostAddress=5.9.208.130 cipherSuite=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 protocol=http/1.1} (recycle count=0)

Solution icon of github
via GitHub by TheDrHax
, 1 month ago
unexpected end of stream on Connection{thedrhax.pw:80, proxy=DIRECT@ hostAddress=212.224.113.144 cipherSuite=none protocol=http/1.1} (recycle count=0)

Solution icon of stackoverflow
unexpected end of stream on Connection{www.grabuk.com:80, proxy=DIRECT@ hostAddress=43.255.154.57 cipherSuite=none protocol=http/1.1} (recycle count=0)

Stack trace

java.io.IOException: unexpected end of stream on Connection{login.microsoftonline.com:443, proxy=DIRECT hostAddress=104.41.216.17 cipherSuite=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA protocol=http/1.1} (recycle count=0)
	at com.android.okhttp.internal.http.HttpConnection.readResponse(HttpConnection.java:210)
	at com.android.okhttp.internal.http.HttpTransport.readResponseHeaders(HttpTransport.java:80)
	at com.android.okhttp.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:906)
	at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:782)
	at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:463)
	at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:405)
	at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:243)
	at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
	at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java)
	at com.microsoft.identity.client.HttpRequest.executeHttpSend(HttpRequest.java:185)
	at com.microsoft.identity.client.HttpRequest.sendWithRetry(HttpRequest.java:151)
	at com.microsoft.identity.client.HttpRequest.send(HttpRequest.java:132)
	at com.microsoft.identity.client.HttpRequest.sendPost(HttpRequest.java:109)
	at com.microsoft.identity.client.Oauth2Client.executeHttpRequest(Oauth2Client.java:142)
	at com.microsoft.identity.client.Oauth2Client.getToken(Oauth2Client.java:77)
	at com.microsoft.identity.client.BaseRequest.performTokenRequest(BaseRequest.java:173)
	at com.microsoft.identity.client.BaseRequest$1.run(BaseRequest.java:107)
	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:761)
Caused by: java.io.EOFException: \n not found: size=0 content=...
	at com.android.okhttp.okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:200)
	at com.android.okhttp.internal.http.HttpConnection.readResponse(HttpConnection.java:191)

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

Samebug visitor profile picture
Unknown user
Once, 9 months ago
2 times, 3 months ago
8 times, 6 months ago
2 times, 10 months ago
4 times, 1 year ago
3 more bugmates