java.io.EOFException: \n not found: size=0 content=…

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 hsaraogi
, 1 year ago
\n not found: size=0 content=…
via GitHub by swankjesse
, 2 years ago
\n not found: size=45 content=32320d0a7b225374616e6a6541706c696b6163696a65223a7b22536966726122...
via Google Groups by Julien HENRY, 1 year ago
\n not found: size=0 content=...
java.io.EOFException: \n not found: size=0 content=…
at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:215)

Users with the same issue

4 times, 2 months ago
4 times, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
3 times, 1 year ago

Write tip

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