{ "id": "90937", "key": "TIMOB-8900", "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": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2012-07-30T10:16:46.000+0000", "created": "2012-04-26T16:23:16.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-23T21:44:27.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "attachment": [ { "id": "27431", "filename": "Connection_error.jpeg", "author": { "name": "echeng", "key": "echeng", "displayName": "Eric Cheng", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-26T17:03:08.000+0000", "size": 196114, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "Android: HTTP request causes intermittent \"Connection reset by peer\" error", "creator": { "name": "echeng", "key": "echeng", "displayName": "Eric Cheng", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "echeng", "key": "echeng", "displayName": "Eric Cheng", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Samsung Tab 10\" (Android OS 3.x)", "comment": { "comments": [ { "id": "192860", "author": { "name": "echeng", "key": "echeng", "displayName": "Eric Cheng", "active": true, "timeZone": "America/Los_Angeles" }, "body": "updating image.", "updateAuthor": { "name": "echeng", "key": "echeng", "displayName": "Eric Cheng", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-26T17:03:08.000+0000", "updated": "2012-04-26T17:03:08.000+0000" }, { "id": "193734", "author": { "name": "patakijv", "key": "patakijv", "displayName": "John V Pataki", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The description of the problem is accurate.\r\n\r\nI spoke with the customer today on this issue and there is not really a single series of steps that makes this happen. It can be at any time during server communications. The server is not logging any network connection issues so there is nothing useful from the server side. The app's http connection just seems to get dropped.\r\n\r\n", "updateAuthor": { "name": "patakijv", "key": "patakijv", "displayName": "John V Pataki", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-04T10:47:46.000+0000", "updated": "2012-05-04T10:47:46.000+0000" }, { "id": "196394", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The code link gave me a 404 error. Please update the link.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-29T17:09:05.000+0000", "updated": "2012-05-29T17:09:05.000+0000" }, { "id": "198973", "author": { "name": "ckao", "key": "ckao", "displayName": "Cindy Kao", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue still needs to be looked at. The platform still throws Connection Reset By Peer errors that need to be fixed. Please let me know which link doesn't work. I have tested all links and I don't get any 404 errors.", "updateAuthor": { "name": "ckao", "key": "ckao", "displayName": "Cindy Kao", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-18T14:27:19.000+0000", "updated": "2012-06-18T14:27:19.000+0000" }, { "id": "200435", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The link is now working, but the app is not working with 2.1.0. Some of the modules are missing and tiApp.xml is out of date. Please update the app and/or provide a code sample. The code sample provided isn't working. This issue will be put on hold until then.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-26T15:58:26.000+0000", "updated": "2012-06-26T15:58:26.000+0000" }, { "id": "208888", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Dev can't take action till we get working sample code, please provide.", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-23T10:18:48.000+0000", "updated": "2012-07-23T10:18:48.000+0000" }, { "id": "216266", "author": { "name": "patakijv", "key": "patakijv", "displayName": "John V Pataki", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We are still waiting on a fix here for this.\r\n\r\nWe had put a work around in place, where we just queue the call when this occurs and we keep retrying until it finally works. The problem is now more severe on 4G vs Wifi and the work around is not sufficient.\r\n\r\nWe need this to be resolved so that the connection stops getting dropped by Titanium.", "updateAuthor": { "name": "patakijv", "key": "patakijv", "displayName": "John V Pataki", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-27T13:07:34.000+0000", "updated": "2012-08-27T13:07:34.000+0000" }, { "id": "216281", "author": { "name": "patakijv", "key": "patakijv", "displayName": "John V Pataki", "active": true, "timeZone": "America/Los_Angeles" }, "body": "All modules required to make the app that is linked to this JIRA ticket work on zipped up and in the module-zips folder in the repo", "updateAuthor": { "name": "patakijv", "key": "patakijv", "displayName": "John V Pataki", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-27T13:43:38.000+0000", "updated": "2012-08-27T13:43:38.000+0000" }, { "id": "239245", "author": { "name": "aodev", "key": "aodev", "displayName": "Kevin Purnelle", "active": true, "timeZone": "Europe/Berlin" }, "body": "I encounter this problem too. I have a javascript \"class\" that acts as a model. One of its methods is there to fetch data from the server,\r\nin the data there are images url that might trigger other http request when assigned to an imageview. Sorry I can't say more without providing the whole app. Any clue? was this resolved actually?\r\nThis is the code, pretty common I suppose:\r\n\r\n\r\nmyClass.prototype.loadData = function(ressourceId){\r\n\r\n\tvar that = this;\r\n\r\n\tif (this.id == ressourceId) {\r\n //...todo\r\n\t}\r\n\r\n\telse {\r\n\r\n\t\tthis.resetAndClean()\r\n\t\tthis.id = ressourceId\r\n\r\n\t\tvar xhr = Ti.Network.createHTTPClient({\r\n\r\n\t\t\tonload: function(e) {\r\n\r\n\t\t\t\tvar myData = JSON.parse(this.responseText);\r\n //do something with the data but removed for nda\r\n\t\t\t\t\r\n\t\t\t},\r\n\r\n\t\t\tonerror: function(e) {\r\n\r\n\t\t\t\talert(e.error)\r\n\t\t\t},\r\n\t\t\ttimeout:5000\r\n\t\t});\r\n\r\n\t\txhr.open(\"GET\", Alloy.globals.Config.apiURL + this.id);\r\n\t\txhr.send();\r\n\t}\r\n}", "updateAuthor": { "name": "aodev", "key": "aodev", "displayName": "Kevin Purnelle", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-02-21T16:17:02.000+0000", "updated": "2013-02-21T16:17:02.000+0000" }, { "id": "415427", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket because the information that was requested was never provided.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T21:44:27.000+0000", "updated": "2017-03-23T21:44:27.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }