{ "id": "83325", "key": "AC-3127", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2011-12-26T05:42:48.000+0000", "created": "2011-12-02T06:46:42.000+0000", "labels": [ "defect", "ios", "iphone" ], "versions": [], "issuelinks": [], "assignee": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "updated": "2016-03-08T07:48:11.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "(This is not a problem with the Android emulator)\r\n\r\nAfter opening an XMPP connection with the server, the iPhone client waits 10 seconds and then closes the connection. It repeats this activity every 10 seconds thereafter. The client is using the Sprophe XMPP library.\r\n\r\nWire trace at http://pastebin.com/xZFHFYuB The packet sent at 07:00:31.425308 closes the connection, the server acks, and the next packet (at 07:00:31.428480) opens a new connection on a different TCP port. \r\n\r\nNo callbacks are executed during this period (no breakpoints hit). There is nothing written to the Titanium debug logs during this event.\r\n\r\nThe same exact code works normally in the Android emulator.", "attachment": [], "flagged": false, "summary": "iPhone client closes TCP connection after 10 seconds", "creator": { "name": "mike@introspect.com", "key": "mike@introspect.com", "displayName": "Michael Welter", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mike@introspect.com", "key": "mike@introspect.com", "displayName": "Michael Welter", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium 1.7.6, iPhone simulator HttpClient", "comment": { "comments": [ { "id": "177188", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Thanks for raising this ticket.\r\n\r\nIn order for me to escalate it to the core team, all the fields must be complete. Please check it against the [JIRA Ticket Checklist|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist], and add any missing information.\r\n\r\nFurthermore, a test case must run without modification, as per the [Creating a Test Case|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-CreatingaTestCase] section.\r\n\r\nI will close this for now. Please reopen it once it is complete, and I will move it to the main project.\r\n\r\nCheers", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-26T05:42:39.000+0000", "updated": "2011-12-26T05:42:39.000+0000" }, { "id": "183587", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Closing due to inactivity. If this issue still exists, please raise a new ticket, including all the information in the [JIRA Ticket Checklist|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist] to ensure that we can escalate it quickly. Read [How to Submit a Bug Report|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report] if you have not read it before, and always start a ticket using the [JIRA Ticket Template|https://wiki.appcelerator.org/display/guides/JIRA+Ticket+Template].\r\n\r\nThanks in advance", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-02-17T02:23:19.000+0000", "updated": "2012-02-17T02:23:19.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }