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

Webhook test from Github crashes strider on heroku #7

Closed
ralfschimmel opened this issue Nov 6, 2012 · 2 comments
Closed

Webhook test from Github crashes strider on heroku #7

ralfschimmel opened this issue Nov 6, 2012 · 2 comments
Assignees

Comments

@ralfschimmel
Copy link

Clicking the 'Test webhook' button after manual configuration results in this heroku log:

2012-11-06T11:13:26+00:00 app[web.1]: 6 Nov 11:13:26 - info: received a correctly signed webhook for repo https://github.com/** on master branch - starting task on user **'s behalf
2012-11-06T11:13:26+00:00 app[web.1]: 
2012-11-06T11:13:26+00:00 app[web.1]: /app/node_modules/mongoose/lib/utils.js:413
2012-11-06T11:13:26+00:00 app[web.1]:         throw err;
2012-11-06T11:13:26+00:00 app[web.1]:               ^
2012-11-06T11:13:26+00:00 app[web.1]: TypeError: Cannot read property 'undefined' of undefined
2012-11-06T11:13:26+00:00 app[web.1]:     at exports.webhook_secret (/app/routes/index.js:252:54)
2012-11-06T11:13:26+00:00 app[web.1]:     at exports.verify_webhook_req_secret (/app/github.js:669:16)
2012-11-06T11:13:26+00:00 app[web.1]:     at model.UserSchema.methods.get_repo_config (/app/models.js:169:12)
2012-11-06T11:13:26+00:00 app[web.1]:     at Promise.exports.verify_webhook_req_secret (/app/github.js:668:12)
2012-11-06T11:13:26+00:00 app[web.1]:     at Promise.addBack (/app/node_modules/mongoose/lib/promise.js:128:8)
2012-11-06T11:13:26+00:00 app[web.1]:     at Promise.EventEmitter.emit (events.js:93:17)
2012-11-06T11:13:26+00:00 app[web.1]:     at Promise.emit (/app/node_modules/mongoose/lib/promise.js:66:38)
2012-11-06T11:13:26+00:00 app[web.1]:     at Promise.complete (/app/node_modules/mongoose/lib/promise.js:77:20)
2012-11-06T11:13:26+00:00 app[web.1]:     at Query.findOne (/app/node_modules/mongoose/lib/query.js:1533:15)
2012-11-06T11:13:26+00:00 app[web.1]:     at model.Document.init (/app/node_modules/mongoose/lib/document.js:229:11)
2012-11-06T11:13:26+00:00 heroku[router]: Error H13 (Connection closed without response) -> POST strider-topicus.herokuapp.com/webhook/c4ec126114d63d346a08a221430bbdc53564c7203368cf23a251f193eaf92c0f dyno=web.1 queue= wait= service= status=503 bytes=
2012-11-06T11:13:27+00:00 heroku[web.1]: Process exited with status 1
2012-11-06T11:13:27+00:00 heroku[web.1]: State changed from up to crashed
@ghost ghost assigned niallo Nov 6, 2012
@niallo
Copy link
Member

niallo commented Nov 6, 2012

Looks like the same as #8. Will work on a fix and get back to you. Thanks for the report.

@niallo niallo mentioned this issue Nov 6, 2012
@niallo
Copy link
Member

niallo commented Nov 6, 2012

Watch #11 for progress

@niallo niallo closed this as completed Nov 6, 2012
d3ming pushed a commit to d3ming/strider that referenced this issue May 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants