{ "id": "162100", "key": "AC-4245", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-08-31T20:19:14.000+0000", "created": "2016-07-26T15:46:57.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-08-31T20:19:14.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": "14555", "name": "Arrow Builder" } ], "description": "I'm getting the following error frequently during the build:\r\n\r\n{code:java}\r\n2016-07-26T11:36:22-04:00 | npm ERR! Linux 3.13.0-88-generic|\r\n2016-07-26T11:36:22-04:00 | npm ERR! node v0.12.4|\r\n2016-07-26T11:36:22-04:00 | npm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"i\" \"--production\" \"--unsafe-perm\"|\r\n2016-07-26T11:36:22-04:00 | npm ERR! npm v2.10.1|\r\n2016-07-26T11:36:22-04:00 | npm ERR! code ECONNRESET|\r\n2016-07-26T11:36:22-04:00 | npm ERR! errno ECONNRESET|\r\n2016-07-26T11:36:22-04:00 | npm ERR! syscall read|\r\n2016-07-26T11:36:22-04:00 | npm ERR! network read ECONNRESET|\r\n2016-07-26T11:36:22-04:00 | npm ERR! network and is related to network connectivity.|\r\n2016-07-26T11:36:22-04:00 | npm ERR! network This is most likely not a problem with npm itself|\r\n2016-07-26T11:36:22-04:00 | npm ERR! network |\r\n\r\n{code}\r\n\r\nPlease advise what is going on. After several attempts the build succeeds, so clearly the issue is elsewhere.", "attachment": [], "flagged": false, "summary": "Arrow application build crashes due to timeout during NPM install", "creator": { "name": "parijatsahai", "key": "parijatsahai", "displayName": "Parijat sahai", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "parijatsahai", "key": "parijatsahai", "displayName": "Parijat sahai", "active": true, "timeZone": "America/New_York" }, "environment": null, "comment": { "comments": [ { "id": "391518", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Please provide details of your environment. Also, it would be helpful if you provide a sample code that regenerates the issue. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-07-26T16:38:13.000+0000", "updated": "2016-07-26T16:38:13.000+0000" }, { "id": "391526", "author": { "name": "parijatsahai", "key": "parijatsahai", "displayName": "Parijat sahai", "active": true, "timeZone": "America/New_York" }, "body": "What kind of details? Would the following help?\r\n\r\n \r\n{code:java}\r\nApp name: ReconnexCloud\r\n -- Created by: parijat@aluminate.io\r\n -- URL: https://38dce6d6f0f509b6c1f6a5a3390c92e06399fdfe.cloudapp-enterprise.appcelerator.com\r\n -- DOMAIN: cloudapp.rekonnex.com\r\n -- Created at: Wed Aug 05 2015 15:17:34 GMT-0400 (EDT)\r\n -- Published at: 2016-07-26T10:41:33-04:00\r\n -- Maximum allowed number of servers: 1\r\n -- Minimum number of servers: 1\r\n -- Number of desired servers: 1\r\n -- Auto scale-up enabled: true\r\n -- Maximum queued requests per server: 50\r\n -- Auto scale-down enabled: true\r\n\r\n-- Active deployment: \r\n - Node version: 0.12.4\r\n - Server size: Medium\r\n - App version: 1.0.14\r\n - Deployed at: Tue Jul 26 2016 10:43:39 GMT-0400 (EDT)\r\n - Status: failed\r\n - Server errors: 579776a175a5014bf3da7a7e: App crashed.\r\nError: Error loading connector/appc.arrowdb. Request returned with HTTP status code 503 503 Service Unavailable. No server is available to handle this request.\r\nat /opt/app/node,modules/arrow/lib/arrow.js:516:11\r\nat Connector.connectCallback (/opt/app/node,modules/arrow/node,modules/arrow-orm/lib/connector.js:464:21)\r\nat /opt/app/node,modules/arrow/node,modules/arrow-orm/node,modules/async/lib/async.js:251:17\r\nat /opt/app/node,modules/arrow/node,modules/arrow-orm/node,modules/async/lib/async.js:148:21\r\nat /opt/app/node,modules/arrow/node,modules/arrow-orm/node,modules/async/lib/async.js:248:21\r\nat /opt/app/node,modules/arrow/node,modules/arrow-orm/node,modules/async/lib/async.js:612:34\r\nat /opt/app/node,modules/connectors/appc.arrowdb/lib/lifecycle/connect.js:16:11\r\nat Object. (/opt/app/node,modules/connectors/appc.arrowdb/node,modules/arrowdb/lib/rest.js:313:5)\r\nat Request.,callback (/opt/app/node,modules/connectors/appc.arrowdb/node,modules/arrowdb/lib/rest.js:166:11)\r\nat Request.self.callback (/opt/app/node,modules/connectors/appc.arrowdb/node,modules/arrowdb/node,modules/request/request.js:187:22)\r\n\r\n\r\n\r\n 579776f875a5014bf3da7a80: App crashed.\r\nTypeError: Cannot read property 'map' of undefined\r\nat ,map (/opt/app/node,modules/connectors/appc.composite/node,modules/async/lib/async.js:51:16)\r\nat ,asyncMap (/opt/app/node,modules/connectors/appc.composite/node,modules/async/lib/async.js:234:15)\r\nat Object.map (/opt/app/node,modules/connectors/appc.composite/node,modules/async/lib/async.js:216:23)\r\nat Connector.runJoin (/opt/app/node,modules/connectors/appc.composite/lib/utility/runJoin.js:22:10)\r\nat modelsDoneCallback (/opt/app/node,modules/connectors/appc.composite/lib/utility/execComposite.js:113:9)\r\nat done (/opt/app/node,modules/connectors/appc.composite/node,modules/async/lib/async.js:132:19)\r\nat /opt/app/node,modules/connectors/appc.composite/node,modules/async/lib/async.js:32:16\r\nat methodCallback (/opt/app/node,modules/connectors/appc.composite/lib/utility/execComposite.js:105:5)\r\nat Model. (/opt/app/node,modules/connectors/appc.arrowdb/lib/schema/wireModel.js:241:14)\r\nat Object. (/opt/app/node,modules/connectors/appc.arrowdb/node,modules/arrowdb/lib/rest.js:313:5)\r\n{code}\r\n", "updateAuthor": { "name": "parijatsahai", "key": "parijatsahai", "displayName": "Parijat sahai", "active": true, "timeZone": "America/New_York" }, "created": "2016-07-26T17:19:27.000+0000", "updated": "2016-07-26T17:19:27.000+0000" }, { "id": "391545", "author": { "name": "parijatsahai", "key": "parijatsahai", "displayName": "Parijat sahai", "active": true, "timeZone": "America/New_York" }, "body": "Please look at the edited description of the ticket. The error I'm now consistently getting during the deployment is that one. Now my app simply won't deploy. Nothing has changed at our end, so it's strange that this issue has come up.", "updateAuthor": { "name": "parijatsahai", "key": "parijatsahai", "displayName": "Parijat sahai", "active": true, "timeZone": "America/New_York" }, "created": "2016-07-26T19:46:00.000+0000", "updated": "2016-07-26T19:46:00.000+0000" }, { "id": "391682", "author": { "name": "parijatsahai", "key": "parijatsahai", "displayName": "Parijat sahai", "active": true, "timeZone": "America/New_York" }, "body": "Do you have any status update on this issue? Any workaround or any fix? I just upgraded the Arrow CLI to version 5.3.1 hoping that might resolve the issue but no change - the deployment fails every time at the same place and I really need to get past this issue:\r\n\r\n{code:java}\r\n2016-07-27T11:48:28-04:00 | ├── tar.gz@1.0.5 (commander@2.9.0, tar@2.2.1, bluebird@2.10.2, fstream@1.0.10, mout@0.11.1)|\r\n2016-07-27T11:48:28-04:00 | ├── appcelerator-saml@0.5.0 (semver@5.3.0, cookies@0.5.1, passport@0.3.2, passport-saml@0.15.0)|\r\n2016-07-27T11:48:28-04:00 | ├── babel@5.8.38 (slash@1.0.0, path-is-absolute@1.0.0, path-exists@1.0.0, fs-readdir-recursive@0.1.2, convert-source-map@1.3.0, commander@2.9.0, output-file-sync@1.1.2, glob@5.0.15, chokidar@1.6.0, source-map@0.5.6, babel-core@5.8.38)|\r\n2016-07-27T11:48:28-04:00 | ├── react@0.14.8 (envify@3.4.1, fbjs@0.6.1)|\r\n2016-07-27T11:48:28-04:00 | ├── acs@1.2.1 (colors@0.6.0-1, temp@0.4.0, commander@0.6.1, wrench@1.3.9, pkginfo@0.2.2, node-uuid@1.3.3, mkdirp@0.3.3, string@1.1.0, ejs@0.8.0, underscore@1.3.3, tar@0.1.13, fstream@0.1.18, log4js@0.5.1, uglify-js@1.3.2, jade@0.28.1, connect@2.3.5, request@2.14.0, express@3.0.0, esprima@0.9.9, moment@2.8.3, socket.io@0.9.16, npm@2.14.22)|\r\n2016-07-27T11:48:28-04:00 | └── arrow-admin@0.7.11 (mkdirp@0.5.1, spdx-licenses@0.0.3, appc-platform-sdk@1.3.6, arrow-util@0.1.6, arrow-docgen@0.3.3, lodash@4.14.0)|\r\n2016-07-27T11:48:28-04:00 | npm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"i\" \"--production\" \"--unsafe-perm\"|\r\n2016-07-27T11:48:28-04:00 | npm ERR! Linux 3.13.0-88-generic|\r\n2016-07-27T11:48:28-04:00 | npm ERR! node v0.12.4|\r\n2016-07-27T11:48:28-04:00 | npm ERR! npm v2.10.1|\r\n2016-07-27T11:48:28-04:00 | npm ERR! If you need help, you may report this error at:|\r\n2016-07-27T11:48:28-04:00 | |\r\n2016-07-27T11:48:28-04:00 | npm ERR! |\r\n2016-07-27T11:48:28-04:00 | npm ERR! Callback called more than once.|\r\n2016-07-27T11:48:28-04:00 | npm ERR! |\r\n2016-07-27T11:48:28-04:00 | |\r\n2016-07-27T11:48:28-04:00 | npm install exit with code 1|\r\n2016-07-27T11:48:28-04:00 | {\"success\":false,\"errcode\":219,\"message\":\"Failed to install dependencies.\"}\r\n\r\n{code}\r\n", "updateAuthor": { "name": "parijatsahai", "key": "parijatsahai", "displayName": "Parijat sahai", "active": true, "timeZone": "America/New_York" }, "created": "2016-07-27T16:24:40.000+0000", "updated": "2016-07-27T16:24:40.000+0000" }, { "id": "391723", "author": { "name": "parijatsahai", "key": "parijatsahai", "displayName": "Parijat sahai", "active": true, "timeZone": "America/New_York" }, "body": "I decided to upgrade the Appcelerator to 5.3.1 and also ran \"npm update -g\" to bring all modules up to date. Not sure if that caused it, but for some reason, my application successfully deployed this time. That said, the \"acs list\" and other \"acs\" CLI commands have stopped working with some node.js error on \"form-data\" module. I have started to use \"appc cloud list\" and similar commands as a result.\r\n\r\nAny ideas?", "updateAuthor": { "name": "parijatsahai", "key": "parijatsahai", "displayName": "Parijat sahai", "active": true, "timeZone": "America/New_York" }, "created": "2016-07-27T20:04:44.000+0000", "updated": "2016-07-27T20:04:44.000+0000" }, { "id": "391828", "author": { "name": "parijatsahai", "key": "parijatsahai", "displayName": "Parijat sahai", "active": true, "timeZone": "America/New_York" }, "body": "Well, the deployment errors came back again yesterday and it wouldn't deploy for hours of trying. For some reason, just a few minutes ago, the application successfully deployed. However, the application crashes almost instantly when any API calls are made that cause it to access the ArrowDB database. So, until the ArrowDB issue is resolved, this problem isn't over it seems.", "updateAuthor": { "name": "parijatsahai", "key": "parijatsahai", "displayName": "Parijat sahai", "active": true, "timeZone": "America/New_York" }, "created": "2016-07-28T14:39:36.000+0000", "updated": "2016-07-28T14:39:36.000+0000" }, { "id": "391882", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I believe the root cause of at least the initial report of this is CLOUDSRV-4875, as issues with ArrowDB from the queries were bringing down registry server (which would affect logging, in, downloading connectors, and deployments)\r\n\r\nThat has been resolved, so I would be curious to know what the new set of issues are. Do you have an updated stack trace?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-07-28T19:52:14.000+0000", "updated": "2016-07-28T19:52:14.000+0000" }, { "id": "391960", "author": { "name": "bgreen", "key": "bgreen", "displayName": "Barry Green", "active": true, "timeZone": "Australia/Sydney" }, "body": "I'm also getting the exact same \"Failed to install dependencies.\" error as shown in the second log window of the original report above. No dependency errors are actually reported, and if I re-run the same command several times, eventually it succeeds. See log below:\r\n\r\n{code:preformatted}\r\n2016-07-29T17:35:31+10:00 | ├── cssom@0.3.1|\r\n2016-07-29T17:35:31+10:00 | ├── slick@1.12.2|\r\n2016-07-29T17:35:31+10:00 | └── cheerio@0.20.0 (dom-serializer@0.1.0, entities@1.1.1, css-select@1.2.0, htmlparser2@3.8.3, jsdom@7.2.2, lodash@4.14.0)|\r\n2016-07-29T17:35:31+10:00 | ├── cross-spawn-async@2.2.4 (lru-cache@4.0.1, which@1.2.10)|\r\n2016-07-29T17:35:31+10:00 | ├── web-resource-inliner@2.0.0 (xtend@4.0.1, async@0.9.2, clean-css@1.1.7, datauri@0.2.1, htmlparser2@3.9.1, uglify-js@2.7.0, cli-color@0.3.3)|\r\n2016-07-29T17:35:31+10:00 | ├── dev-null@0.1.1|\r\n2016-07-29T17:35:31+10:00 | ├── uuid-v4@0.1.0|\r\n2016-07-29T17:35:31+10:00 | arrow@1.8.2 node_modules/arrow|\r\n2016-07-29T17:35:31+10:00 | ├── pluralize@1.2.1|\r\n2016-07-29T17:35:31+10:00 | ├── react-dom@0.14.8|\r\n2016-07-29T17:35:31+10:00 | ├── xml@1.0.0|\r\n2016-07-29T17:35:31+10:00 | ├── cookie-parser@1.4.3 (cookie-signature@1.0.6, cookie@0.3.1)|\r\n2016-07-29T17:35:31+10:00 | ├── appc-marked@0.3.6|\r\n2016-07-29T17:35:31+10:00 | ├── mustache@2.2.1|\r\n2016-07-29T17:35:31+10:00 | ├── chalk@1.1.3 (escape-string-regexp@1.0.5, supports-color@2.0.0, ansi-styles@2.2.1, has-ansi@2.0.0, strip-ansi@3.0.1)|\r\n2016-07-29T17:35:31+10:00 | ├── wrench@1.5.9|\r\n2016-07-29T17:35:31+10:00 | ├── json2csv@3.6.2 (path-is-absolute@1.0.0, lodash.flatten@4.3.0, lodash.uniq@4.4.0, lodash.get@4.4.0, commander@2.9.0, flat@2.0.1, cli-table@0.3.1)|\r\n2016-07-29T17:35:31+10:00 | ├── client-sessions@0.7.0 (cookies@0.5.0)|\r\n2016-07-29T17:35:31+10:00 | ├── require-new@1.1.0 (stack-trace@0.0.9)|\r\n2016-07-29T17:35:31+10:00 | ├── compression@1.6.2 (on-headers@1.0.1, vary@1.1.0, bytes@2.3.0, compressible@2.0.8, accepts@1.3.3)|\r\n2016-07-29T17:35:31+10:00 | ├── ejs@2.5.1|\r\n2016-07-29T17:35:31+10:00 | ├── numeral@1.5.3|\r\n2016-07-29T17:35:31+10:00 | ├── body-parser@1.15.2 (bytes@2.4.0, content-type@1.0.2, depd@1.1.0, http-errors@1.5.0, on-finished@2.3.0, qs@6.2.0, raw-body@2.1.7, type-is@1.6.13, iconv-lite@0.4.13)|\r\n2016-07-29T17:35:31+10:00 | ├── forever-monitor@1.7.0 (minimatch@2.0.10, ps-tree@0.0.3, utile@0.2.1, chokidar@1.6.0, broadway@0.3.6)|\r\n2016-07-29T17:35:31+10:00 | ├── js-yaml@3.6.1 (esprima@2.7.2, argparse@1.0.7)|\r\n2016-07-29T17:35:31+10:00 | ├── connect-busboy@0.0.2 (busboy@0.2.13)|\r\n2016-07-29T17:35:31+10:00 | ├── arrow-objectmodel@0.2.21 (js-beautify@1.6.3)|\r\n2016-07-29T17:35:31+10:00 | ├── appc-ldapauth@2.3.3 (lru-cache@2.5.0, bcryptjs@2.1.0, appc-ldapjs@0.7.3)|\r\n2016-07-29T17:35:31+10:00 | ├── appc-logger@1.1.27 (response-time@2.3.1, readable-stream@2.1.4, fs-extra@0.26.7, bunyan@1.8.1)|\r\n2016-07-29T17:35:31+10:00 | ├── highlight.js@9.5.0|\r\n2016-07-29T17:35:31+10:00 | ├── tar.gz@1.0.5 (commander@2.9.0, tar@2.2.1, bluebird@2.10.2, fstream@1.0.10, mout@0.11.1)|\r\n2016-07-29T17:35:31+10:00 | ├── appcelerator-saml@0.5.0 (semver@5.3.0, cookies@0.5.1, passport@0.3.2, passport-saml@0.15.0)|\r\n2016-07-29T17:35:31+10:00 | ├── arrow-orm@0.6.10 (lru-cache@2.7.3, async@0.9.2, mingo@0.3.3)|\r\n2016-07-29T17:35:31+10:00 | └── arrow-admin@0.7.11 (mkdirp@0.5.1, spdx-licenses@0.0.3, appc-platform-sdk@1.3.7, arrow-util@0.1.6, arrow-docgen@0.3.3, lodash@4.14.0)|\r\n2016-07-29T17:35:31+10:00 | ├── react@0.14.8 (envify@3.4.1, fbjs@0.6.1)|\r\n2016-07-29T17:35:31+10:00 | ├── babel@5.8.38 (slash@1.0.0, path-is-absolute@1.0.0, path-exists@1.0.0, fs-readdir-recursive@0.1.2, convert-source-map@1.3.0, commander@2.9.0, output-file-sync@1.1.2, glob@5.0.15, chokidar@1.6.0, source-map@0.5.6, babel-core@5.8.38)|\r\n2016-07-29T17:35:31+10:00 | ├── acs@1.2.1 (colors@0.6.0-1, temp@0.4.0, commander@0.6.1, wrench@1.3.9, pkginfo@0.2.2, node-uuid@1.3.3, mkdirp@0.3.3, string@1.1.0, ejs@0.8.0, underscore@1.3.3, tar@0.1.13, fstream@0.1.18, log4js@0.5.1, uglify-js@1.3.2, jade@0.28.1, connect@2.3.5, request@2.14.0, express@3.0.0, esprima@0.9.9, moment@2.8.3, socket.io@0.9.16, npm@2.14.22)|\r\n2016-07-29T17:35:31+10:00 | npm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"i\" \"--production\" \"--unsafe-perm\"|\r\n2016-07-29T17:35:31+10:00 | npm ERR! node v0.12.7|\r\n2016-07-29T17:35:31+10:00 | npm ERR! Linux 3.13.0-88-generic|\r\n2016-07-29T17:35:31+10:00 | npm ERR! Callback called more than once.|\r\n2016-07-29T17:35:31+10:00 | npm ERR! npm v2.11.3|\r\n2016-07-29T17:35:31+10:00 | |\r\n2016-07-29T17:35:31+10:00 | npm ERR! |\r\n2016-07-29T17:35:31+10:00 | npm ERR! If you need help, you may report this error at:|\r\n2016-07-29T17:35:31+10:00 | npm ERR! |\r\n2016-07-29T17:35:31+10:00 | |\r\n2016-07-29T17:35:31+10:00 | npm install exit with code 1|\r\n2016-07-29T17:35:31+10:00 | {\"success\":false,\"errcode\":219,\"message\":\"Failed to install dependencies.\"}\r\n{code}\r\n", "updateAuthor": { "name": "bgreen", "key": "bgreen", "displayName": "Barry Green", "active": true, "timeZone": "Australia/Sydney" }, "created": "2016-07-29T08:29:53.000+0000", "updated": "2016-07-29T08:30:19.000+0000" }, { "id": "391972", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "When you are \"running the build\" what command are you using?\r\n\r\nCan I also see a copy of your package.json of your project?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-07-29T13:26:43.000+0000", "updated": "2016-07-29T13:26:43.000+0000" }, { "id": "391974", "author": { "name": "bgreen", "key": "bgreen", "displayName": "Barry Green", "active": true, "timeZone": "Australia/Sydney" }, "body": "I run \"appc publish --force\" to build. Contents of package.json are below.\r\n\r\n{noformat}\r\n{\r\n \"name\": \"my_arrow\",\r\n \"description\": \"\",\r\n \"version\": \"1.0.0\",\r\n \"author\": \"BG\",\r\n \"license\": \"\",\r\n \"framework\": \"none\",\r\n \"keywords\": [\r\n \"appcelerator\",\r\n \"arrow\"\r\n ],\r\n \"repository\": {},\r\n \"private\": true,\r\n \"dependencies\": {\r\n \t\"arrowdb\": \">=1.0.6\",\r\n \"async\": \"^1.4.0\",\r\n \"lodash\": \"^3.10.1\",\r\n \"pkginfo\": \"^0.3.0\",\r\n \"stripe\": \"^4.6.0\",\r\n \"validator\": \"^5.2.0\",\r\n \"twilio\": \"^2.9.1\",\r\n \"request\": \"^2.72.0\",\r\n \"sendgrid\": \"^3.0.7\",\r\n \"handlebars\": \"^4.0.5\",\r\n \"juice\": \"^2.0.0\",\r\n \"moment\": \"^2.13.0\",\r\n\t\"csprng\": \"^0.1.1\"\r\n },\r\n \"devDependencies\": {\r\n \"grunt\": \"^0.4.5\",\r\n \"grunt-contrib-clean\": \"^0.6.0\",\r\n \"grunt-contrib-jshint\": \"^0.10.0\",\r\n \"grunt-kahvesi\": \"^0.1.0\",\r\n \"grunt-mocha-test\": \"^0.11.0\",\r\n \"mocha\": \"^1.21.4\",\r\n \"should\": \"^4.0.4\"\r\n },\r\n \"main\": \"app.js\",\r\n \"healthCheck\": true,\r\n \"engines\": {\r\n \"node\": \"0.12.7\"\r\n }\r\n}\r\n\r\n{noformat}\r\n", "updateAuthor": { "name": "bgreen", "key": "bgreen", "displayName": "Barry Green", "active": true, "timeZone": "Australia/Sydney" }, "created": "2016-07-29T13:32:48.000+0000", "updated": "2016-07-29T13:32:48.000+0000" }, { "id": "391976", "author": { "name": "parijatsahai", "key": "parijatsahai", "displayName": "Parijat sahai", "active": true, "timeZone": "America/New_York" }, "body": "I'm using the same command as what Barry mentioned.\r\n\r\nMy package.json is the following:\r\n\r\n\r\n{code:java}\r\n{\r\n \"name\": \"MyArrowApp\",\r\n \"description\": \"\",\r\n \"version\": \"1.0.14\",\r\n \"author\": \"Parijat Sahai\",\r\n \"license\": \"\",\r\n \"framework\": \"none\",\r\n \"keywords\": [\r\n \"appcelerator\",\r\n \"arrow\"\r\n ],\r\n \"repository\": {},\r\n \"private\": true,\r\n \"dependencies\": {\r\n \"arrowdb\": \"^1.0.6\",\r\n \"async\": \"^0.9.0\",\r\n \"azure-sb\": \"^0.10.2\",\r\n \"azure-search\": \"0.0.8\",\r\n \"cheerio\": \"^0.19.0\",\r\n \"documentdb\": \"^1.9.0\",\r\n \"feedparser\": \"^1.1.4\",\r\n \"google-timezone-api\": \"^1.0.1\",\r\n \"googlemaps\": \"^1.0.0\",\r\n \"iconv-lite\": \"^0.4.13\",\r\n \"lodash\": \"^2.4.1\",\r\n \"moment\": \"^2.10.0\",\r\n \"moment-timezone\": \"^0.4.0\",\r\n \"newrelic\": \"^1.26.1\",\r\n \"nodemailer\": \"^2.4.1\",\r\n \"nodemailer-smtp-transport\": \"^2.5.0\",\r\n \"password-generator\": \"^1.0.0\",\r\n \"pkginfo\": \"^0.3.0\",\r\n \"request\": \"^2.60.0\",\r\n \"socket.io\": \"^1.4.4\",\r\n \"underscore\": \"^1.8.3\"\r\n },\r\n \"devDependencies\": {\r\n \"arrow\": \"*\",\r\n \"grunt\": \"^0.4.5\",\r\n \"grunt-contrib-clean\": \"^0.6.0\",\r\n \"grunt-contrib-jshint\": \"^0.10.0\",\r\n \"grunt-kahvesi\": \"^0.1.0\",\r\n \"grunt-mocha-test\": \"^0.11.0\",\r\n \"mocha\": \"^1.21.4\",\r\n \"should\": \"^4.0.4\"\r\n },\r\n \"main\": \"app.js\",\r\n \"engines\": {\r\n \"node\": \"0.12.4\"\r\n }\r\n}\r\n{code}\r\n", "updateAuthor": { "name": "parijatsahai", "key": "parijatsahai", "displayName": "Parijat sahai", "active": true, "timeZone": "America/New_York" }, "created": "2016-07-29T13:41:23.000+0000", "updated": "2016-07-29T13:41:23.000+0000" }, { "id": "391977", "author": { "name": "parijatsahai", "key": "parijatsahai", "displayName": "Parijat sahai", "active": true, "timeZone": "America/New_York" }, "body": "Btw, I find it really odd that issues with ArrowDB would affect registry server at Appcelerator - how lean are you running your operations that you can't have separate servers and redundancy and failover for ANY of your servers? Unbelievable and highly unprofessional I must say!", "updateAuthor": { "name": "parijatsahai", "key": "parijatsahai", "displayName": "Parijat sahai", "active": true, "timeZone": "America/New_York" }, "created": "2016-07-29T13:45:07.000+0000", "updated": "2016-07-29T13:45:07.000+0000" }, { "id": "391978", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I disagree. We specifically run our infrastructure on the same infrastructure as our public customers as a point of pride. Customers are welcome to purchase a VPC for themselves if they like, but typically they do that for organizational reasons. We certainly could set one up for ourselves, but we specifically choose not to.\r\n\r\nWe also have multiple servers for redundancy, but the issue here was separate and appears to be due to a bug in MongoDB code.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-07-29T13:53:03.000+0000", "updated": "2016-07-29T13:53:03.000+0000" }, { "id": "391979", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is a NPM issue. You can get a similar thing to happen by just doing a `npm install arrow --loglevel verbose`\r\n\r\nHowever, there is still some work around figuring what is triggering it and how to stop it. We will work on that ASAP.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-07-29T14:03:12.000+0000", "updated": "2016-07-29T14:03:37.000+0000" }, { "id": "391980", "author": { "name": "parijatsahai", "key": "parijatsahai", "displayName": "Parijat sahai", "active": true, "timeZone": "America/New_York" }, "body": "If what you're saying is correct, then I have to assume that EVERY customer of Appcelerator has been impacted by this MongoDB bug. If there are any mission-critical applications being run by your customers, I would expect that either your customers would be fleeing from Appcelerator by now or screaming like crazy because it has been more than 4 days since the issue arose. If neither of that has happened, then it seems no customer trusts Appcelerator's public infrastructure enough to run their mission-critical applications and probably only run peripheral applications that go unnoticed when they are down for such an extended amount of time. Hence, Appcelerator cannot pride itself about its infrastructure being able to support mission-critical applications on their cloud. And blaming the outage on a third-party software doesn't help - it should have been tested by Appcelerator before deploying on their public cloud and, for the worst case scenario, Appcelerator should have done rollback planning in the case things go horribly wrong, which is what happened here. Clearly, contingency planning wasn't done and customers are now being asked to wait patiently during the 100+ hour outage - give me a break!", "updateAuthor": { "name": "parijatsahai", "key": "parijatsahai", "displayName": "Parijat sahai", "active": true, "timeZone": "America/New_York" }, "created": "2016-07-29T14:04:19.000+0000", "updated": "2016-07-29T14:04:19.000+0000" }, { "id": "391984", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~parijatsahai] I don't believe it's a fruitful exercise to go down this path. You are more than welcome to contact support if you have additional questions. My point initially was to say I believe we've addressed the first issue and not lead down a complete explanation of our operations practices.\r\n\r\nWe take all of our customer's applications very seriously. I will only say that we have many enterprise customers both on public cloud and VPC. Once we were able to identify the issue, we immediately restored service to all public cloud users (VPC users are unaffected). I understand a percentage of users are affected by this issue related to the bug I mentioned (which is related to a very specific use case) and we are addressing those ASAP.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-07-29T14:23:09.000+0000", "updated": "2016-07-29T14:23:09.000+0000" }, { "id": "391990", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This ticket has been cloned and moved to API-1325 to see what we can do to address the issue. ", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-07-29T14:43:26.000+0000", "updated": "2016-07-29T14:43:26.000+0000" }, { "id": "391991", "author": { "name": "parijatsahai", "key": "parijatsahai", "displayName": "Parijat sahai", "active": true, "timeZone": "America/New_York" }, "body": "You said \"we immediately restored service to all public cloud users\". However, our application continues to get ArrowDB errors \"503 Service Unavailable. No server is available to handle this request.\" - clearly the ArrowDB service hasn't been restored in over 4 days now.\r\n\r\nThanks for acknowledging and reproducing the issue with the build. Hopefully we will have a quick resolution. I'm still at a loss to understand why only 2 customers have reported this issue and how I'm the first one to do that - it would impact either ALL or NONE of the customers - there probably aren't many Arrow customers, are there? If you put yourself in my shoes, you'd understand how scary this looks.", "updateAuthor": { "name": "parijatsahai", "key": "parijatsahai", "displayName": "Parijat sahai", "active": true, "timeZone": "America/New_York" }, "created": "2016-07-29T14:51:40.000+0000", "updated": "2016-07-29T14:51:40.000+0000" }, { "id": "391994", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The build issue is intermittent. NPMJS has many, many registries. It does not seem to affect everyone all the time. You could have cached the dependencies in your .npm folder, meaning that you wouldn't redownload them. There are a lot of variables that affect this, which is why not everyone would encounter it.\r\n\r\nhttp://status.npmjs.org/", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-07-29T14:57:09.000+0000", "updated": "2016-07-29T14:57:09.000+0000" }, { "id": "394780", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, [~parijatsahai], are you still having the issue? ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-08-30T14:28:03.000+0000", "updated": "2016-08-30T14:28:03.000+0000" }, { "id": "394875", "author": { "name": "parijatsahai", "key": "parijatsahai", "displayName": "Parijat sahai", "active": true, "timeZone": "America/New_York" }, "body": "The issue with timeout was resolved after we changed the Node engine version on the Arrow app's package.json file to 4.x.", "updateAuthor": { "name": "parijatsahai", "key": "parijatsahai", "displayName": "Parijat sahai", "active": true, "timeZone": "America/New_York" }, "created": "2016-08-31T04:01:15.000+0000", "updated": "2016-08-31T04:01:15.000+0000" } ], "maxResults": 21, "total": 21, "startAt": 0 } } }