{ "id": "170621", "key": "TIMOB-25608", "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": "2017-12-14T18:58:20.000+0000", "created": "2017-12-13T22:10:07.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-7.0.0" ], "versions": [ { "id": "17609", "description": "", "name": "Release 7.0.0", "archived": false, "released": true, "releaseDate": "2017-12-07" } ], "issuelinks": [ { "id": "56215", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "150529", "key": "CLI-776", "fields": { "summary": "Community: 502 Bad Gateway is returned when building a mobile project with GA stack", "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": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-12-14T18:58:20.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": "*Description*\r\nWhen building to iOS simulator, I sometimes see a \"502 Bad Gateway\" error. It does not appear to affect the functionality of the app. Also, it does not appear to be easy to reproduce.\r\n\r\n*Steps to reproduce*\r\n1. Create a new default classic app. Enable services including Test and Hyperloop.\r\n2. Replace the app.js with the one attached to this ticket. I do not believe it is related to the contents in the attached app. However the error was observed when I was testing that app.\r\n3. Build to an iOS Simulator. I tried with iPhone X, 8, and 7 Plus and can reproduce on all three. Also reproducible when testing on the CLI:\r\n{code}appc run -p ios -T simulator{code}\r\n\r\n*Actual Results*\r\n1. App appears to run okay. However, on the console, after the app is launched, an error is seen \"502 Bad Gateway\".\r\n\r\n*Expected Results*\r\n1. No error should be seen on the console.", "attachment": [ { "id": "63803", "filename": "502_Error", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-12-13T22:11:03.000+0000", "size": 7615458, "mimeType": "text/html" }, { "id": "63804", "filename": "app.js", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-12-13T22:12:20.000+0000", "size": 364, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "502 Bad Gateway seen when building to iOS Simulator", "creator": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Node Version: 8.9.1\r\nNPM Version: 5.5.1\r\nMac OS: 10.13.1\r\nAppc CLI: 7.0.0\r\nAppc CLI NPM: 4.2.11\r\nTitanium SDK version: 7.0.0.GA\r\nAppcelerator Studio vers 5.0.0\r\n", "comment": { "comments": [ { "id": "432176", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Not a TIMOB issue. I'm closing this and will open a new one in 360.", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-12-14T18:58:20.000+0000", "updated": "2017-12-14T18:58:20.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }