unexpected end of stream on okhttp3.Address@34845fb

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

Samebug tips

Expert tip

Either your request in not properly written (check this answer: or you're running into a OkHTTP bug, in which case you should update OkHTTP to 2.4 (or further) and check this discussion: and issues #1517 & #1518

Solutions on the web

via GitHub by lkhore
, 1 year ago
unexpected end of stream on okhttp3.Address@34845fb
via GitHub by lkhore
, 1 year ago
via GitHub by shubham-m
, 1 year ago
unexpected end of stream on okhttp3.Address@5106fe42
via Stack Overflow by raphPradhan
, 1 year ago
unexpected end of stream on okhttp3.Address@d8a95c17 \n not found: size=0 content=…
at okio.RealBufferedSource.readUtf8LineStrict(
at okhttp3.internal.http.Http1xStream.readResponse(
at okhttp3.internal.http.Http1xStream.readResponseHeaders(
at okhttp3.internal.http.HttpEngine.readNetworkResponse(
at okhttp3.internal.http.HttpEngine.access$200(
at okhttp3.internal.http.HttpEngine$NetworkInterceptorChain.proceed(
at okhttp3.internal.http.HttpEngine.readResponse(
at okhttp3.RealCall.getResponse(
at okhttp3.RealCall$ApplicationInterceptorChain.proceed(
at okhttp3.RealCall.getResponseWithInterceptorChain(
at okhttp3.RealCall.access$100(
at okhttp3.RealCall$AsyncCall.execute(
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$

Users with the same issue

6 times, 2 months ago
4 times, 4 months ago
4 times, 6 months ago
Once, 1 year ago
Once, 1 year ago

Write tip

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