Skip to content

Instantly share code, notes, and snippets.

@outrunthewolf
Created March 6, 2013 22:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save outrunthewolf/5502c496a9d429c8b60b to your computer and use it in GitHub Desktop.
Save outrunthewolf/5502c496a9d429c8b60b to your computer and use it in GitHub Desktop.
Server error jitsu
debug: { method: 'GET',
debug: uri: 'https://api.nodejitsu.com/apps/outrunthewolf/calendar-app',
debug: headers:
debug: { Authorization: '*************************************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000 }
debug: { statusCode: 200,
debug: result:
debug: { app:
debug: { _id: 'outrunthewolf/calendar-app',
debug: name: 'calendar-app',
debug: scripts: { start: 'app.js' },
debug: user: 'outrunthewolf',
debug: subdomain: 'calendar-app',
debug: snapshots: [],
debug: env:
debug: { SUBDOMAIN: 'calendar-app',
debug: NODE_ENV: 'production' },
debug: domains: [],
debug: databases: {},
debug: config: {},
debug: maxDrones: 1,
debug: drones: 0,
debug: ctime: 1362602989051,
debug: mtime: 1362602989051,
debug: resource: 'App',
debug: _rev: '2-b409a51d62d29811d4b301893afeba81',
debug: version: '0.0.0',
debug: dependencies:
debug: { express: '3.x',
debug: mongodb: '>=0.9.6-7',
debug: mongoose: '>= 2.5.10',
debug: needle: '>= 0.4.x',
debug: look: '0.1.x' },
debug: description: 'calendar app server side',
debug: engines: { node: '0.8.x' },
debug: id: 'calendar-app' } } }
info: Creating snapshot 1.0.0
debug: { method: 'POST',
debug: uri: 'https://api.nodejitsu.com/apps/outrunthewolf/calendar-app/snapshots/1.0.0',
debug: headers:
debug: { Authorization: '*************************************************************************',
debug: 'Content-Type': 'application/octet-stream',
debug: 'Content-Length': 5680 },
debug: timeout: 240000 }
info Uploading: [=============================] 100%
debug: { statusCode: 201,
debug: result:
debug: { snapshot:
debug: { id: '1.0.0',
debug: md5: 'c60fbc5632ce68bc93e4e3b997e20e5c',
debug: filename: 'outrunthewolf-calendar-app-1.0.0.tgz',
debug: ctime: 1362607769804 } } }
info: Updating app calendar-app
debug: { method: 'PUT',
debug: uri: 'https://api.nodejitsu.com/apps/outrunthewolf/calendar-app',
debug: headers:
debug: { Authorization: '*************************************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000,
debug: body: '{"name":"calendar-app","description":"calendar app server side","version":"1.0.0","dependencies":{"express":"3.x","mongodb":">=0.9.6-7","mongoose":">= 2.5.10","needle":">= 0.4.x","look":"0.1.x"},"subdomain":"calendar-app","engines":{"node":"0.8.x"},"scripts":{"start":"app.js"},"analyzed":true}' }
debug: { statusCode: 204, result: undefined }
info: Activating snapshot 1.0.0 for calendar-app
debug: { method: 'POST',
debug: uri: 'https://api.nodejitsu.com/apps/outrunthewolf/calendar-app/snapshots/1.0.0/activate',
debug: headers:
debug: { Authorization: '*************************************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000,
debug: body: '{}' }
debug: { statusCode: 200,
debug: result:
debug: { active:
debug: { id: '1.0.0',
debug: md5: 'c60fbc5632ce68bc93e4e3b997e20e5c',
debug: filename: 'outrunthewolf-calendar-app-1.0.0.tgz',
debug: ctime: 1362607769804,
debug: active: false,
debug: running: false } } }
info: Starting app calendar-app
debug: { method: 'GET',
debug: uri: 'https://api.nodejitsu.com/endpoints',
debug: headers:
debug: { Authorization: '*************************************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000 }
debug: { statusCode: 200,
debug: result:
debug: { endpoints:
debug: { joyent:
debug: { 'us-east-1': 'api.nodejitsu.com',
debug: 'us-sw-1': 'api.jyt.us.sw1.nodejitsu.com',
debug: 'eu-ams-1': 'api.jyt.eu.ams1.nodejitsu.com' },
debug: telefonica:
debug: { 'eu-lon-1': 'api.tf.eu.lon1.nodejitsu.com',
debug: 'eu-mad-1': 'api.tf.eu.mad1.nodejitsu.com' } } } }
debug: { method: 'GET',
debug: uri: 'https://api.nodejitsu.com/apps/outrunthewolf/calendar-app/cloud',
debug: headers:
debug: { Authorization: '*************************************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000 }
debug: { statusCode: 200,
debug: result:
debug: [ { provider: 'joyent',
debug: datacenter: 'us-east-1',
debug: drones: 0 } ] }
debug: { method: 'POST',
debug: uri: 'https://api.nodejitsu.com/apps/outrunthewolf/calendar-app/start',
debug: headers:
debug: { Authorization: '*************************************************************************',
debug: 'Content-Type': 'application/json' },
debug: timeout: 240000,
debug: body: '{}' }
debug: { statusCode: 500,
debug: result:
debug: { message: 'haibu Error (500): Internal Server Error',
debug: stack: 'Error: haibu Error (500): Internal Server Error\n at Request.Client._request [as _callback] (/root/nodejitsu/node_modules/haibu/node_modules/haibu-api/lib/client/client.js:95:15)\n at Request.init.self.callback (/root/nodejitsu/node_modules/haibu/node_modules/request/main.js:119:22)\n at Request.EventEmitter.emit (events.js:99:17)\n at Request.<anonymous> (/root/nodejitsu/node_modules/haibu/node_modules/request/main.js:521:16)\n at Request.EventEmitter.emit (events.js:96:17)\n at IncomingMessage.Request.start.self.req.self.httpModule.request.buffer (/root/nodejitsu/node_modules/haibu/node_modules/request/main.js:483:14)\n at IncomingMessage.EventEmitter.emit (events.js:126:20)\n at IncomingMessage._emitEnd (http.js:366:10)\n at HTTPParser.parserOnMessageComplete [as onMessageComplete] (http.js:149:23)\n at Socket.socketOnData (http.js:1447:20)',
debug: result:
debug: { error:
debug: { message: 'Error spawning drone',
debug: stack: 'Error: Error spawning drone\n at Object.onTimeout [as _onTimeout] (/root/haibu-orchestra/node_modules/haibu/lib/haibu/core/spawner.js:396:15)\n at Timer.list.ontimeout (timers.js:101:19)',
debug: blame:
debug: { type: 'user',
debug: message: 'Script took too long to listen on a socket' },
debug: stdout: 'Profiler listening on 0.0.0.0:5959',
debug: stderr: 'connection error: [Error: failed to connect to [localhost:27017]]',
debug: event: 'error:service' } },
debug: status: '500' } }
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error:
error: There was an error while attempting to start the app
error: Error spawning drone
error: Script took too long to listen on a socket
error:
error: This type of error is usually a user error.
error: Error output from app:
error:
error: Profiler listening on 0.0.0.0:5959
error: connection error: [Error: failed to connect to [localhost:27017]]
help: For help with this error contact Nodejitsu Support:
help: webchat: <http://webchat.nodejitsu.com/>
help: irc: <irc://chat.freenode.net/#nodejitsu>
help: email: <support@nodejitsu.com>
help:
help: Copy and paste this output to a gist (http://gist.github.com/)
info: Nodejitsu not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment