hookdeck / hookdeck-cli

Alternative to ngrok for localhost asynchronous web development (e.g. webhooks). No account required.
https://hookdeck.com?ref=github-hookdeck-cli
Apache License 2.0
261 stars 9 forks source link

Getting an error when trying to setup a webhook on a Github repo #20

Closed MuditJ closed 2 years ago

MuditJ commented 2 years ago

Issue: I followed this article https://hookdeck.com/webhooks/platforms/tutorial-github-webhooks#get-the-webhook-url to setup Hookdeck CLI and to receive HTTP POST request on the endpoint configured in the Node app that is linked to in the tutorial. After completing all the steps and upon creating an issue in my Github repo for which the webhook is created, I got the following error in the CLI: 2022-04-18 19:11:41 [ERROR] Failed to POST: Post "http://localhost:1337/log-github-webhook": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

Also, the node app shows this TypeError: UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'timestamp' of undefined