java.net.HttpRetryException: Cannot retry due to connection time

Hot problem!
This exception has a lot of traffic. You can help 32 users by writing a short tip.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by AnaelMobilia
, 1 year ago
Cannot retry due to connection time
via Appcelerator JIRA by Jorge Macias Garcia, 7 months ago
Cannot retry streamed HTTP body
java.net.HttpRetryException: Cannot retry due to connection time
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:394)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:510)
at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:105)
at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java)
at com.pcinpact.network.Downloader$override.download(Downloader.java:107)
at com.pcinpact.network.Downloader$override.access$dispatch(Downloader.java)
at com.pcinpact.network.Downloader.download(Downloader.java:0)
at com.pcinpact.network.AsyncImageDownloader.doInBackground(AsyncImageDownloader.java:90)
at com.pcinpact.network.AsyncImageDownloader.doInBackground(AsyncImageDownloader.java:41)
at android.os.AsyncTask$2.call(AsyncTask.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.