{ "id": "172958", "key": "TIMOB-26796", "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": "2019-02-05T01:08:37.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "issuelinks": [ { "id": "57136", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "169418", "key": "TIMOB-25072", "fields": { "summary": "Windows: Liveview not working for windows application", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-04-27T00:36:09.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "Latest error message on LiveView issue with 8.0.0 TIMOB-25072 shows that we might need to gracefully close TCP connection just before application exit - sample code: https://gist.github.com/infosia/a4d617b6678a5efef445eb7301b8b4c2#file-liveview-diff-L54 I think this has never happened on iOS/Android/WindowsPhone because application lifetime is totally controlled by each frameworks...but it seems things are different for Windows Store app because user can explicitly kill the app manually by pressing Window's [x] button. I don't know why this has never happened on previous versions but maybe we need to handle this natively, like explicitly closes all open-connection gracefully just before application exit.\r\n\r\n*Steps to reproduce*\r\n\r\n{{appc run -p windows -l trace --target ws-local --liveview -l trace}} and then exit the app by pressing [x] button on the title bar\r\n\r\n*Result*\r\n\r\n{code}\r\n[INFO] Disconnected from app\r\n-- End application log -------------------------------------------------------\r\n\r\n2019-01-31T07:12:35.322Z | ERROR | An uncaught exception was thrown!\r\nread ECONNRESET\r\n2019-01-31T07:12:35.322Z | ERROR | read ECONNRESET\r\n{code}\r\n\r\n*Expexted*\r\n\r\n{{read ECONNRESET}} error message does not happen\r\n", "attachment": [], "flagged": false, "summary": "Windows: TCP connection not closed at app exit", "creator": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1123, "state": "closed", "name": "2019 Sprint 7", "startDate": "2019-03-18T17:27:25.993Z", "endDate": "2019-03-30T17:27:00.000Z", "completeDate": "2019-03-29T18:02:37.441Z", "originBoardId": 114 }, { "id": 1124, "state": "closed", "name": "2019 Sprint 8", "startDate": "2019-03-31T18:03:00.000Z", "endDate": "2019-04-12T18:03:00.000Z", "completeDate": "2019-04-12T19:04:50.175Z", "originBoardId": 114 }, { "id": 1109, "state": "closed", "name": "2019 Sprint 3", "startDate": "2019-01-28T17:38:43.075Z", "endDate": "2019-02-09T17:38:00.000Z", "completeDate": "2019-02-08T21:37:29.498Z", "originBoardId": 114 }, { "id": 1128, "state": "closed", "name": "2019 Sprint 9", "startDate": "2019-04-14T19:05:00.000Z", "endDate": "2019-04-26T19:05:00.000Z", "completeDate": "2019-04-26T22:05:13.933Z", "originBoardId": 114 }, { "id": 1118, "state": "closed", "name": "2019 Sprint 5", "startDate": "2019-02-24T18:36:06.435Z", "endDate": "2019-03-08T18:36:00.000Z", "completeDate": "2019-03-07T22:19:47.057Z", "originBoardId": 114 } ], "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }