java.net.SocketTimeoutException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • SocketTimeoutException in Retrofit
    via Stack Overflow by Komal
    ,
  • SocketTimeoutException android retrofit
    via Stack Overflow by Fati fati
    ,
  • P2P sanity test failing
    via GitHub by sethrosetter
    ,
  • Can not get response while using okHttp3
    via Stack Overflow by Jumong
    ,
  • GitHub comment 1771#161783625
    via GitHub by mblcdr
    ,
  • GitHub comment 37#169608344
    via GitHub by djibux
    ,
    • java.net.SocketTimeoutException at java.net.PlainSocketImpl.read(PlainSocketImpl.java:532) at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:40) at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:255) at okio.Okio$2.read(Okio.java:139) at okio.AsyncTimeout$2.read(AsyncTimeout.java:211) at okio.RealBufferedSource.indexOf(RealBufferedSource.java:306) at okio.RealBufferedSource.indexOf(RealBufferedSource.java:300) at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:196) at okhttp3.internal.http.Http1xStream.readResponse(Http1xStream.java:185) at okhttp3.internal.http.Http1xStream.readResponseHeaders(Http1xStream.java:126) at okhttp3.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:723) at okhttp3.internal.http.HttpEngine.access$200(HttpEngine.java:81) at okhttp3.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:708) at okhttp3.internal.http.HttpEngine.readResponse(HttpEngine.java:563) at okhttp3.RealCall.getResponse(RealCall.java:241) at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:198) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:160) at okhttp3.RealCall.execute(RealCall.java:57) at com.jakewharton.retrofit.Ok3Client.execute(Ok3Client.java:40) at retrofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:326) at retrofit.RestAdapter$RestHandler.access$100(RestAdapter.java:220) at retrofit.RestAdapter$RestHandler$2.obtainResponse(RestAdapter.java:278) at retrofit.CallbackRunnable.run(CallbackRunnable.java:42) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at retrofit.Platform$Android$2$1.run(Platform.java:142) at java.lang.Thread.run(Thread.java:818)

    Users with the same issue

    filpgame
    5 times, last one,
    LeoPalma
    4 times, last one,
    jk
    8 times, last one,
    Indri Yunita
    2 times, last one,
    justCodeit
    8 times, last one,
    20 more bugmates