java.io.IOException

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

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 1517#231100599
    via GitHub by lkhore
    ,
  • GitHub comment 784#240134999
    via GitHub by hsaraogi
    ,
  • GitHub comment 2147#249142190
    via GitHub by gengjiawen
    ,
    • java.io.IOException: unexpected end of stream on okhttp3.Address@34845fbb at okhttp3.internal.http.Http1xStream.readResponse(Http1xStream.java:199) at okhttp3.internal.http.Http1xStream.readResponseHeaders(Http1xStream.java:125) at okhttp3.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:775) at okhttp3.internal.http.HttpEngine.access$200(HttpEngine.java:86) at okhttp3.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:760) at okhttp3.internal.http.HttpEngine.readResponse(HttpEngine.java:613) at okhttp3.RealCall.getResponse(RealCall.java:244) at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:201) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:163) at okhttp3.RealCall.access$100(RealCall.java:30) at okhttp3.RealCall$AsyncCall.execute(RealCall.java:127) at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818) Caused by: 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

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Hronom
    1 times, last one,
    archenroot
    1 times, last one,
    danleyb2Interintel
    3 times, last one,
    5 more bugmates