java.io.IOException: unexpected end of stream on okhttp3.Address@34845fbb

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: https://goo.gl/7q57Bl) or you're running into a OkHTTP bug, in which case you should update OkHTTP to 2.4 (or further) and check this discussion: https://goo.gl/Sx7cf4 and issues #1517 & #1518

Solutions on the web

via GitHub by lkhore
, 1 year ago
via GitHub by lkhore
, 1 year ago
unexpected end of stream on okhttp3.Address@34845fb
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
java.io.EOFException: \n not found: size=0 content=…
at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:215)
at okhttp3.internal.http.Http1xStream.readResponse(Http1xStream.java:184)

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.