-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error Handling in Glide #126
Comments
Yes this is a duplicate of #84. To be clear nothing you do is going to solve the underlying problem. If your socket times out, particularly if it does so repeatedly, no networking library will be able to retrieve the data you need. That being said we can definitely handle this failure case more gracefully in the default HttpUrlConnection based url fetcher. For now at least using Volley will make sure you receive the error and can handle it appropriately because Volley reads all of the data out of the InputStream before returning it to us. I'd guess OkHttp will also let us handle the failure case, but I haven't tested it. |
Internal bug tracking this is b/17419670. |
It may relate to #84 but I am looking for a workaround for the
SocketTimeOutException
like belowIs there anywork around for it ?
The text was updated successfully, but these errors were encountered: