Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3127] iPhone client closes TCP connection after 10 seconds

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2011-12-26T05:42:48.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsdefect, ios, iphone
ReporterMichael Welter
AssigneePaul Dowsett
Created2011-12-02T06:46:42.000+0000
Updated2016-03-08T07:48:11.000+0000

Description

(This is not a problem with the Android emulator) After 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. Wire 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. No callbacks are executed during this period (no breakpoints hit). There is nothing written to the Titanium debug logs during this event. The same exact code works normally in the Android emulator.

Comments

  1. Paul Dowsett 2011-12-26

    Thanks for raising this ticket. In 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. Furthermore, 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. I will close this for now. Please reopen it once it is complete, and I will move it to the main project. Cheers
  2. Paul Dowsett 2012-02-17

    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). Thanks in advance

JSON Source