{ "id": "169879", "key": "TIMOB-25338", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2017-09-24T19:31:32.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "19542", "description": "", "name": "Release 6.2.2", "archived": false, "released": true, "releaseDate": "2017-09-19" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:16.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Hello,\r\n\r\nIn the latest release Ti SDK 6.2.2 and in the Nightly build 6.3.x branch the Ti.Network.createHTTPClient encounters a proxy error when a web server returns a 404.\r\n\r\nThis is happening at the Java Proxy layer and is not throws up to JS in either a try catch on the statement or to the Ti.Network.createHTTPClient error handler.\r\n\r\nBelow is the trace output that is written to the AppC Studio console:\r\n\r\n[ERROR] : TiHTTPClient: (TiHttpClient-4) [36283,36283] HTTP Error (java.io.IOException): 404 : Not Found\r\n[ERROR] : TiHTTPClient: java.io.IOException: 404 : Not Found\r\n[ERROR] : TiHTTPClient: \tat ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1283)\r\n[ERROR] : TiHTTPClient: \tat java.lang.Thread.run(Thread.java:761)\r\n[WARN] : TiBlob: (KrollRuntimeThread) [29,36312] getNativePath not supported for non-file blob types.\r\n[WARN] : TiBlob: (KrollRuntimeThread) [0,36312] getFile not supported for non-file blob types.\r\n[ERROR] : ProxyFactory: Exception thrown while creating V8 proxy.", "attachment": [], "flagged": false, "summary": "Android: 404 causes Ti.Network.createHTTPClient not to return", "creator": { "name": "ben.bahrenburg@gmail.com", "key": "ben.bahrenburg@gmail.com", "displayName": "Ben Bahrenburg", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ben.bahrenburg@gmail.com", "key": "ben.bahrenburg@gmail.com", "displayName": "Ben Bahrenburg", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "428413", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hey Ben, only in 6.2.2 and 6.3.0? I am wondering because nothing changed in 6.2.2 that would make it work in 6.2.1 but not in 6.2.2.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-09-25T16:25:06.000+0000", "updated": "2017-09-25T16:25:06.000+0000" }, { "id": "428502", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Could you provide a test case that reproduces this issue? My test case does not crash.", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-09-27T01:10:35.000+0000", "updated": "2017-09-27T01:11:11.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }