[AC-2342] Uncatched HTTP requests errors using AdBlockPlus
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2013-04-12T23:30:17.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | android, httpclient, mobile |
Reporter | Arnaud Besnier |
Assignee | Shak Hossain |
Created | 2013-04-10T13:06:34.000+0000 |
Updated | 2016-03-08T07:41:21.000+0000 |
Description
Using the Android AdBlockPlus app on a device, we noticed that it occasionally generates errors on the TiHttpClient of our Titanium app. Such as :
- HTTP Error (java.net.SocketTimeoutException): Read timed out
- HTTP Error (org.apache.http.NoHttpResponseException): The target server failed to respond
These errors do not trigger the http client onerror() callback.
Why such errors are not cached ?
You will find more traces in the attachement text file.
Attachments
Please close this bug. These HTTP errors are properly catched and trigger onerror() callback. Our app implementation was not correct.
Thanks, closing.