{ "id": "138101", "key": "TIMOB-17865", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2015-02-17T16:54:16.000+0000", "created": "2014-10-15T15:38:22.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "regression" ], "versions": [], "issuelinks": [ { "id": "46637", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "145628", "key": "TIMOB-18679", "fields": { "summary": "iOS: HttpClient timeout on POST request to a HTTPS server", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "42161", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "135930", "key": "AC-740", "fields": { "summary": "createHTTPClient Fails with SDK 3.3.0", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T21:48:46.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h6.Issue description\r\nI have been getting a Timeout Error for the get xhr httpclient request after upgrading to the latest 3.4 SDK. \r\n\r\nWe upgrade from 3.2.3.GA, and everything was working fine till I have updated to latest SDK but after the update i cannot proceed ahead as i am always getting a timeout error on the get request. \r\n\r\nh6.Steps to reproduce\r\n# Grab app.js and launch iOS simulator\r\n# Click XHR to request server response\r\n# Monitor Logs\r\n\r\n{code}\r\n[INFO] : onError of communicator was called: {\"type\":\"error\",\"source\":{\"method\":\"GET\",\"async\":true,\"timeout\":90000,\"url\":\"https://sso.cisco.com/autho/dummy/dummy.html\"},\"code\":-1005,\"error\":\"The network connection was lost.\",\"success\":false}\r\n[ERROR] : Timeout: Cisco server is down{\"method\":\"GET\",\"async\":true,\"timeout\":90000,\"url\":\"https://sso.cisco.com/autho/dummy/dummy.html\"}\r\n{code}\r\n\r\nThis might also fail to connect: https://link.opera.com/\r\n", "attachment": [], "flagged": false, "summary": "iOS: Ti.Network.createHTTPClient times out on GET request with POST data", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "iOS 8\r\nTi SDK 3.4.0.GA\r\nTi CLI 3.4.0", "closedSprints": [ { "id": 345, "state": "closed", "name": "2015 Sprint 04 SDK", "startDate": "2015-02-14T01:00:53.297Z", "endDate": "2015-03-01T01:00:00.000Z", "completeDate": "2015-02-28T15:39:43.652Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "337858", "author": { "name": "soumyakantikar", "key": "soumyakantikar", "displayName": "Soumya Kanti Kar", "active": true, "timeZone": "America/Havana" }, "body": "We have also been experiencing a similar issue. The application is working fine in Android, but we are getting an issue in iOS. We are testing it in iPhone 6 Plus and also on iPhone 5S. Both the devices are running on iOS 8.\r\n\r\nUpdate:\r\nAnother point to note is that the issue is not happening on iOS 7, it is occurring only in iOS 8.", "updateAuthor": { "name": "soumyakantikar", "key": "soumyakantikar", "displayName": "Soumya Kanti Kar", "active": true, "timeZone": "America/Havana" }, "created": "2015-01-05T18:39:36.000+0000", "updated": "2015-01-05T18:56:10.000+0000" }, { "id": "343545", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "The documentation clearly states that the optional parameters for the \"send\" method on the HTTPClient are for a POST request.\r\n\r\nOn older versions of the titanium SDK we were using a third party library (ASI) that automatically converted GET and HEAD requests to POST requests if there was a HTTPBody. Essentially covering up a developer mistake. \r\nThe new networking library no longer does this.\r\n\r\nOn Android the situation is a little different. If send is called with a HTTPBody and the request is GET we modify the original url to include the HTTP parameters as the query in the request. iOS does not do this. That is why the sample works on Android.\r\n\r\nEither ways this is a developer mistake and we will not be fixing this issue.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-02-17T16:54:05.000+0000", "updated": "2015-02-17T16:54:05.000+0000" }, { "id": "345476", "author": { "name": "luiscript", "key": "luiscript", "displayName": "Luis F. Garcia", "active": true, "timeZone": "America/Mexico_City" }, "updateAuthor": { "name": "luiscript", "key": "luiscript", "displayName": "Luis F. Garcia", "active": true, "timeZone": "America/Mexico_City" }, "created": "2015-03-09T20:43:05.000+0000", "updated": "2015-03-09T20:43:58.000+0000" }, { "id": "415043", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid with reference to previous comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T21:48:46.000+0000", "updated": "2017-03-22T21:48:46.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }