Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2342] Uncatched HTTP requests errors using AdBlockPlus

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2013-04-12T23:30:17.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid, httpclient, mobile
ReporterArnaud Besnier
AssigneeShak Hossain
Created2013-04-10T13:06:34.000+0000
Updated2016-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

FileDateSize
erreurs_http.rtf2013-04-10T13:06:34.000+00004945

Comments

  1. Arnaud Besnier 2013-04-10

    Please close this bug. These HTTP errors are properly catched and trigger onerror() callback. Our app implementation was not correct.
  2. Daniel Sefton 2013-04-12

    Thanks, closing.

JSON Source