java.net.SocketTimeoutException

Read timed out

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1570

  • via Unknown by Unknown author,
  • via Stack Overflow by user1785917
    ,
  • Stack trace

    • java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) at java.net.SocketInputStream.read(SocketInputStream.java:170) at java.net.SocketInputStream.read(SocketInputStream.java:141) at okio.Okio$2.read(Okio.java:140) at okio.AsyncTimeout$2.read(AsyncTimeout.java:238) at okio.RealBufferedSource.read(RealBufferedSource.java:45) at okhttp3.internal.http.Http1xStream$FixedLengthSource.read(Http1xStream.java:381) at okio.RealBufferedSource.read(RealBufferedSource.java:45) at okio.ForwardingSource.read(ForwardingSource.java:35) at retrofit2.OkHttpCall$ExceptionCatchingRequestBody$1.read(OkHttpCall.java:279) at okio.RealBufferedSource$1.read(RealBufferedSource.java:386) at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284) at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178) at java.io.InputStreamReader.read(InputStreamReader.java:184) at com.google.gson.stream.JsonReader.fillBuffer(JsonReader.java:1287) at com.google.gson.stream.JsonReader.nextQuotedValue(JsonReader.java:1016) at com.google.gson.stream.JsonReader.nextName(JsonReader.java:787) at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:739) at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:714) at com.google.gson.internal.bind.TypeAdapters$35$1.read(TypeAdapters.java:910) at retrofit2.converter.gson.GsonResponseBodyConverter.convert(GsonResponseBodyConverter.java:37) at retrofit2.converter.gson.GsonResponseBodyConverter.convert(GsonResponseBodyConverter.java:25) at retrofit2.ServiceMethod.toResponse(ServiceMethod.java:117) at retrofit2.OkHttpCall.parseResponse(OkHttpCall.java:211) at retrofit2.OkHttpCall$1.onResponse(OkHttpCall.java:106)

    Write tip

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

    Users with the same issue

    Unknown visitor
    Unknown visitor3 times, last one
    tvrmsmithtvrmsmith
    2 times, last one
    bernardpaulusbernardpaulus
    Once,
    pulse00pulse00
    Once,
    musketyrmusketyr
    4 times, last one
    150 more bugmates