java.net.SocketTimeoutException: timeout

GitHub | YdjJervis | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 1#288635768

    GitHub | 6 days ago | arniesaha
    java.net.SocketTimeoutException: timeout
  2. 0

    android junit depend on login credential

    Stack Overflow | 1 year ago | ChenJunQi
    java.net.SocketTimeoutException: timeout
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    P2P sanity test failing

    GitHub | 2 months ago | sethrosetter
    java.net.SocketTimeoutException
  5. 0

    Can not get response while using okHttp3

    Stack Overflow | 9 months ago | Jumong
    java.net.SocketTimeoutException
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.net.SocketException

    Socket closed

    at java.net.SocketInputStream.read()
  2. Java RT
    SocketInputStream.read
    1. java.net.SocketInputStream.read(SocketInputStream.java:190)[na:1.7.0_79]
    2. java.net.SocketInputStream.read(SocketInputStream.java:122)[na:1.7.0_79]
    2 frames
  3. Okio
    RealBufferedSource.readUtf8LineStrict
    1. okio.Okio$2.read(Okio.java:140)[okio-1.8.0.jar:na]
    2. okio.AsyncTimeout$2.read(AsyncTimeout.java:238)[okio-1.8.0.jar:na]
    3. okio.RealBufferedSource.indexOf(RealBufferedSource.java:325)[okio-1.8.0.jar:na]
    4. okio.RealBufferedSource.indexOf(RealBufferedSource.java:314)[okio-1.8.0.jar:na]
    5. okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:210)[okio-1.8.0.jar:na]
    5 frames
  4. okhttp3.internal.http
    HttpEngine.readResponse
    1. okhttp3.internal.http.Http1xStream.readResponse(Http1xStream.java:184)[okhttp-3.3.1.jar:na]
    2. okhttp3.internal.http.Http1xStream.readResponseHeaders(Http1xStream.java:125)[okhttp-3.3.1.jar:na]
    3. okhttp3.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:775)[okhttp-3.3.1.jar:na]
    4. okhttp3.internal.http.HttpEngine.access$200(HttpEngine.java:86)[okhttp-3.3.1.jar:na]
    5. okhttp3.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:760)[okhttp-3.3.1.jar:na]
    6. okhttp3.internal.http.HttpEngine.readResponse(HttpEngine.java:613)[okhttp-3.3.1.jar:na]
    6 frames
  5. okhttp3
    RealCall.execute
    1. okhttp3.RealCall.getResponse(RealCall.java:244)[okhttp-3.3.1.jar:na]
    2. okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:201)[okhttp-3.3.1.jar:na]
    3. okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:163)[okhttp-3.3.1.jar:na]
    4. okhttp3.RealCall.execute(RealCall.java:57)[okhttp-3.3.1.jar:na]
    4 frames
  6. cn.wanghaomiao.seimi
    SeimiProcessor.run
    1. cn.wanghaomiao.seimi.http.okhttp.OkHttpDownloader.process(OkHttpDownloader.java:74)[classes/:na]
    2. cn.wanghaomiao.seimi.core.SeimiProcessor.run(SeimiProcessor.java:106)[classes/:na]
    2 frames
  7. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_79]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[na:1.7.0_79]
    3. java.lang.Thread.run(Thread.java:745)[na:1.7.0_79]
    3 frames