{ "id": "148422", "key": "AC-148", "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": "2015-11-13T19:29:34.000+0000", "created": "2015-06-02T13:30:05.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-11-13T19:29:34.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14552", "name": "Appcelerator CLI", "description": "Please enter tickets related to Tooling and the CLI here" } ], "description": "After installing appcelerator through npm, when I run `appc setup`, I get this error: \"Download server is not currently available. Please re-try your install again in a few moments. If you continue to have this problem, please contact Appcelerator Support at support@appcelerator.com.\"", "attachment": [], "flagged": false, "summary": "CLI 4.0.0 returning error", "creator": { "name": "rpiwetz", "key": "rpiwetz", "displayName": "Ron Piwetz", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "rpiwetz", "key": "rpiwetz", "displayName": "Ron Piwetz", "active": true, "timeZone": "America/Chicago" }, "environment": "CLI 4.0.0, Windows 7, NPM 2.9.1, Node 0.10.38, Behind a proxy server", "comment": { "comments": [ { "id": "354094", "author": { "name": "rpiwetz", "key": "rpiwetz", "displayName": "Ron Piwetz", "active": true, "timeZone": "America/Chicago" }, "body": "I uninstalled all of my npm packages, uninstalled Appcelerator Studio, uninstalled node.js.\r\n\r\nInstalled Node.js 0.12.4, updated to npm 2.11.0, installed the appcelerator package, ran `appc setup`, same error.", "updateAuthor": { "name": "rpiwetz", "key": "rpiwetz", "displayName": "Ron Piwetz", "active": true, "timeZone": "America/Chicago" }, "created": "2015-06-02T15:14:04.000+0000", "updated": "2015-06-02T15:14:04.000+0000" }, { "id": "354141", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~rpiwetz] Could you please try the steps here http://docs.appcelerator.com/platform/latest/#!/guide/Appcelerator_CLI_Troubleshooting-section-43299941_AppceleratorCLITroubleshooting-SubmittingaBug and attach the log file you have? Are you perhaps behind a proxy?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-06-02T20:00:02.000+0000", "updated": "2015-06-02T20:00:02.000+0000" }, { "id": "354227", "author": { "name": "rpiwetz", "key": "rpiwetz", "displayName": "Ron Piwetz", "active": true, "timeZone": "America/Chicago" }, "body": "As I suspected...the proxy is not set, so I get many of these errors:\r\nD:\\test>cmd /C \"set DEBUG=* && appc use -l trace\" > log.txt\r\n appc:bin install bin is undefined +0ms\r\n appc:bin main subcommand use +5ms\r\n appc:use use called with args [ 'use' ], getLatest=0 +2ms\r\n appc:util request {\"url\":{\"protocol\":\"https:\",\"slashes\":true,\"auth\":null,\"host\r\n\":\"software.appcelerator.com\",\"port\":443,\"hostname\":\"software.appcelerator.com\",\r\n\"hash\":null,\"search\":null,\"query\":null,\"pathname\":\"/api/appc/list\",\"path\":\"/api/\r\nappc/list\",\"href\":\"https://software.appcelerator.com/api/appc/list\"},\"proxy\":\"\",\r\n\"headers\":{\"user-agent\":\"Appcelerator CLI/4.0.0 (win32)\",\"host\":\"software.appcel\r\nerator.com\"}} +182ms\r\n appc:util request error +98ms { [Error: read ECONNRESET] code: 'ECONNRESET', e\r\nrrno: 'ECONNRESET', syscall: 'read' }\r\n\r\nHow do I set the proxy when I can't run 'appc config'?", "updateAuthor": { "name": "rpiwetz", "key": "rpiwetz", "displayName": "Ron Piwetz", "active": true, "timeZone": "America/Chicago" }, "created": "2015-06-03T14:47:58.000+0000", "updated": "2015-06-03T14:47:58.000+0000" }, { "id": "354233", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~rpiwetz] Can you run {{https://software.appcelerator.com/api/appc/list}} in the browser and see whether you are getting the correct response ? If not, then I believe your machine is not reachable to the endpoint, either due to firewall or network issues. We realized that it is a issue to set the config when the core packages are not yet installed. As a workaround, can you copy the below snippet (replace with your proxy server) in to your [HOME_DIR]\\.appcelerator\\appc-cli.json (for ex: {{C:\\Users\\\\.appcelerator\\appc-cli.json}}).\r\n\r\n{code}\r\n{\r\n \"proxyServer\": \"http://proxy.com\"\r\n}\r\n{code}", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-06-03T15:41:56.000+0000", "updated": "2015-06-03T15:42:39.000+0000" }, { "id": "354234", "author": { "name": "rpiwetz", "key": "rpiwetz", "displayName": "Ron Piwetz", "active": true, "timeZone": "America/Chicago" }, "body": "had just figured this out and was about to post it here. I am now receiving a self-signed cert error, but will keep working with support to get that solved.\r\n\r\nThank you!!", "updateAuthor": { "name": "rpiwetz", "key": "rpiwetz", "displayName": "Ron Piwetz", "active": true, "timeZone": "America/Chicago" }, "created": "2015-06-03T15:44:11.000+0000", "updated": "2015-06-03T15:44:11.000+0000" }, { "id": "364034", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Not sure if this is still an issue for you. Please follow the steps below and let us know.\r\n\r\n1)For *\"cert untrusted*\" you might try updating Node away from 0.10.34 (0.10.37 works) as there was a bug with that version of Node.\r\n2)If NPM or node install fails, check permissions on install locations. If you ARE behind a proxy, you should install the NPM portion of the Appcelerator CLI, then run this command on Mac: *HTTP_PROXY=http://proxy.com:port appc use latest*. \r\nOnce again, please insert your proxy server and port information. If you use \"https\", then substitute that in place of \"http\" and \"HTTP\" in the commands above.\r\n\r\nThanks", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-16T05:08:44.000+0000", "updated": "2015-11-13T19:29:22.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }