{ "id": "171213", "key": "TIMOB-25821", "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": "2018-02-28T10:54:02.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2019-03-19T10:53:28.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": [], "description": "h5.Description\r\n\r\nWhen building with liveview enabled the liveview server does not stop when the build has finished. This usually does not lead to multiple servers being started as the liveview hook calls the /kill endpoint before starting a new server (this is hard coded to 127.0.0.1:8324 so it is actually possible for users who specify a custom port or ip).\r\n\r\nh5.Steps to reproduce\r\n\r\n# Build a project with liveview enabled\r\n# Kill the build process (red square from studio/ctrl+c from cli)\r\n# curl 127.0.0.1:8324\r\n\r\nh5.Actual\r\n\r\nA response like {{\\{\"pid\":47754,\"path\":\"/Users/eharris/Documents/Appcelerator_Studio_Workspace/testbabelstuff/\",\"uptime\":12.403,\"alloy\":false\\}}} comes back from the curl\r\n\r\nh5.Expected\r\n\r\nNo response as the server should not be running", "attachment": [], "flagged": false, "summary": "Liveview: Server does not stop when the build is killed", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Liveview: 1.2.1", "comment": { "comments": [ { "id": "446966", "author": { "name": "sandrolain", "key": "sandrolain", "displayName": "Sandro Lain", "active": true, "timeZone": "Europe/Rome" }, "body": "Hi, this issue seems to be related to a problem I am experiencing after updating appc cli to 7.0.10 and SDK 8.0.0.GA.\r\nThe execution with liveview continuously reports:\r\n\r\n{code:java}\r\nAddress in use, retrying ...\r\nAddress in use, retrying ...\r\nAddress in use, retrying ...\r\n{code}\r\n\r\nThe first startup is successful but after editing a file the update of the files does not take place and the app remains locked in the splash.\r\n\r\nBy executing the curl request at 127.0.0.1:8324 after the liveview session ends, the response occurs as shown.\r\n\r\nDowngrading to cli 7.0.9 and SDK 7.5.1.GA liveview works well.", "updateAuthor": { "name": "sandrolain", "key": "sandrolain", "displayName": "Sandro Lain", "active": true, "timeZone": "Europe/Rome" }, "created": "2019-03-19T09:13:50.000+0000", "updated": "2019-03-19T09:23:47.000+0000" }, { "id": "446969", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~sandrolain] just to be certain, have you updated to Studio 5.1.2? As this ticket states this issue is mostly a non-issue as liveview kills a running server before starting up, so I would not expect you to hit this unless using a custom IP, which it appears you aren't.\r\n\r\nBased off the behaviour you're describing I believe that you are not running Studio 5.1.2 (which updates the Studio distributed liveview to be non-functional on SDK 8+) or you have installed liveview from npm which is not supported and conflicts with the SDK installation.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2019-03-19T09:52:09.000+0000", "updated": "2019-03-19T09:52:09.000+0000" }, { "id": "446970", "author": { "name": "sandrolain", "key": "sandrolain", "displayName": "Sandro Lain", "active": true, "timeZone": "Europe/Rome" }, "body": "I confirm that I am not using the updated version of Appcelerator Studio but only Visual Studio Code with the extension for Appcelerator Titanium:\r\nhttps://github.com/appcelerator/vscode-appcelerator-titanium\r\nI updated cli and sdk via the command line.", "updateAuthor": { "name": "sandrolain", "key": "sandrolain", "displayName": "Sandro Lain", "active": true, "timeZone": "Europe/Rome" }, "created": "2019-03-19T10:53:28.000+0000", "updated": "2019-03-19T10:53:28.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }