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

GitHub | lkhore | 10 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    GitHub comment 1517#231100599

    GitHub | 10 months ago | lkhore
    java.io.IOException: unexpected end of stream on okhttp3.Address@34845fb
  2. 0

    GitHub comment 1517#274052499

    GitHub | 3 months ago | reverseBitsTech
    java.io.IOException: unexpected end of stream on okhttp3.Address@dcd6238c
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Getting Exception while running with OKhttp3 + No notification

    GitHub | 11 months ago | shubham-m
    java.io.IOException: unexpected end of stream on okhttp3.Address@5106fe42
  5. 0
    samebug 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
    via GitHub by ihgoo
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.EOFException

    \n not found: size=0 content=…

    at okio.RealBufferedSource.readUtf8LineStrict()
  2. Okio
    RealBufferedSource.readUtf8LineStrict
    1. okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:215)
    1 frame
  3. okhttp3.internal.http
    HttpEngine.readResponse
    1. okhttp3.internal.http.Http1xStream.readResponse(Http1xStream.java:184)
    2. okhttp3.internal.http.Http1xStream.readResponseHeaders(Http1xStream.java:125)
    3. okhttp3.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:775)
    4. okhttp3.internal.http.HttpEngine.access$200(HttpEngine.java:86)
    5. okhttp3.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:760)
    6. okhttp3.internal.http.HttpEngine.readResponse(HttpEngine.java:613)
    6 frames
  4. okhttp3
    RealCall$AsyncCall.execute
    1. okhttp3.RealCall.getResponse(RealCall.java:244)
    2. okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:201)
    3. okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:163)
    4. okhttp3.RealCall.access$100(RealCall.java:30)
    5. okhttp3.RealCall$AsyncCall.execute(RealCall.java:127)
    5 frames
  5. okhttp3.internal
    NamedRunnable.run
    1. okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
    1 frame
  6. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    3. java.lang.Thread.run(Thread.java:818)
    3 frames