Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled error crashed the server #94

Closed
jer opened this issue Aug 12, 2016 · 1 comment · Fixed by screwdriver-cd/datastore-dynamodb#15
Closed

Unhandled error crashed the server #94

jer opened this issue Aug 12, 2016 · 1 comment · Fixed by screwdriver-cd/datastore-dynamodb#15

Comments

@jer
Copy link
Contributor

jer commented Aug 12, 2016

The specific bug that triggered it has been resolved here screwdriver-cd/models#50 , but the server should never exit like this:

160812/191904.322, [response] http://0.0.0.0:8080: post /v3/webhooks/github {} 500 (893ms)
160812/191906.047, [request,webhook-build,bb12771e794ac72679ea2538219fef33f7789432] data: Received status update to RUNNING
/usr/src/app/node_modules/vogels/lib/serializer.js:35
return new Date(value).toISOString();
^
RangeError: Invalid time value
at Object.internals.serialize.date (/usr/src/app/node_modules/vogels/lib/serializer.js:35:30)
at Object.internals.serializeAttribute.serializer.serializeAttribute as serializeAttribute
at /usr/src/app/node_modules/vogels/lib/expressions.js:70:44
at /usr/src/app/node_modules/vogels/node_modules/lodash/index.js:2523:13
at /usr/src/app/node_modules/vogels/node_modules/lodash/index.js:3073:15
at baseForOwn (/usr/src/app/node_modules/vogels/node_modules/lodash/index.js:2046:14)
at /usr/src/app/node_modules/vogels/node_modules/lodash/index.js:3043:18
at baseReduce (/usr/src/app/node_modules/vogels/node_modules/lodash/index.js:2520:7)
at Function. (/usr/src/app/node_modules/vogels/node_modules/lodash/index.js:3446:13)
at Object.exports.serializeUpdateExpression (/usr/src/app/node_modules/vogels/lib/expressions.js:53:18)
npm info lifecycle screwdriver-api@3.0.0~start: Failed to exec start script
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v6.3.1
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! screwdriver-api@3.0.0 start: ./bin/server
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the screwdriver-api@3.0.0 start script './bin/server'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the screwdriver-api package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ./bin/server
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs screwdriver-api
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls screwdriver-api
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /usr/src/app/npm-debug.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants