retrofit.RetrofitError: thread interrupted

GitHub | hahacharade | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Random throw java.io.InterruptedIOException when use OkHttpClient on Android

    GitHub | 2 years ago | rey5137
    java.io.InterruptedIOException: thread interrupted
  2. 0

    InterruptedIOException while using Retrofit2 with rx when retryOn

    Stack Overflow | 1 year ago | Jacek KwiecieĊ„
    java.io.InterruptedIOException: thread interrupted
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.InterruptedIOException

    thread interrupted

    at okio.Timeout.throwIfReached()
  2. Okio
    RealBufferedSink.flush
    1. okio.Timeout.throwIfReached(Timeout.java:145)
    2. okio.Okio$1.write(Okio.java:77)
    3. okio.AsyncTimeout$1.write(AsyncTimeout.java:180)
    4. okio.RealBufferedSink.flush(RealBufferedSink.java:216)
    4 frames
  3. okhttp3.internal.http
    HttpEngine.readResponse
    1. okhttp3.internal.http.Http1xStream.finishRequest(Http1xStream.java:159)
    2. okhttp3.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:773)
    3. okhttp3.internal.http.HttpEngine.access$200(HttpEngine.java:86)
    4. okhttp3.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:760)
    5. okhttp3.internal.http.HttpEngine.readResponse(HttpEngine.java:613)
    5 frames
  4. okhttp3
    RealCall.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.execute(RealCall.java:57)
    4 frames
  5. com.jakewharton.retrofit
    Ok3Client.execute
    1. com.jakewharton.retrofit.Ok3Client.execute(Ok3Client.java:41)
    1 frame
  6. Retrofit
    RestAdapter$RestHandler.invoke
    1. retrofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:326)
    2. retrofit.RestAdapter$RestHandler.invoke(RestAdapter.java:240)
    2 frames
  7. com.sun.proxy
    $Proxy33.getMovieImages
    1. com.sun.proxy.$Proxy33.getMovieImages(Unknown Source)
    1 frame
  8. org.tinymediamanager.scraper
    FanartTvMetadataProvider.getArtwork
    1. org.tinymediamanager.scraper.fanarttv.FanartTvMetadataProvider.getMovieArtwork(FanartTvMetadataProvider.java:129)
    2. org.tinymediamanager.scraper.fanarttv.FanartTvMetadataProvider.getArtwork(FanartTvMetadataProvider.java:94)
    2 frames
  9. org.tinymediamanager.ui
    ImageChooserDialog$DownloadTask.doInBackground
    1. org.tinymediamanager.ui.dialogs.ImageChooserDialog$DownloadTask.doInBackground(ImageChooserDialog.java:819)
    2. org.tinymediamanager.ui.dialogs.ImageChooserDialog$DownloadTask.doInBackground(ImageChooserDialog.java:730)
    2 frames
  10. Java RT
    Thread.run
    1. javax.swing.SwingWorker$1.call(Unknown Source)
    2. java.util.concurrent.FutureTask.run(Unknown Source)
    3. javax.swing.SwingWorker.run(Unknown Source)
    4. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    6. java.lang.Thread.run(Unknown Source)
    6 frames