Question

My webhooks aren't working

I’ve followed the tutorial here: https://www.digitalocean.com/community/tutorials/deploying-react-applications-with-webhooks-and-slack-on-ubuntu-16-04

I’ve used the exact same files as them. I’ve setup a ssh key in my bitbucket repo, and the webhook says it’s matching, but the trigger rules aren’t being fulfilled.

I am not familiar with this area, so I don’t know what could be going wrong, any help?

[webhook] 2020/01/13 05:17:44 version 2.6.5 starting
[webhook] 2020/01/13 05:17:44 setting up os signal watcher
[webhook] 2020/01/13 05:17:44 attempting to load hooks from /opt/hooks/hooks.json
[webhook] 2020/01/13 05:17:44 found 1 hook(s) in file
[webhook] 2020/01/13 05:17:44 	loaded: redeploy-app
[webhook] 2020/01/13 05:17:44 serving hooks on http://0.0.0.0:9000/hooks/{id}
[webhook] 2020/01/13 05:17:44 os signal watcher ready
[webhook] 2020/01/13 05:17:57 [ecb8d9] incoming HTTP request from 18.234.32.228:51380
[webhook] 2020/01/13 05:17:57 [ecb8d9] redeploy-app got matched
[webhook] 2020/01/13 05:17:57 [ecb8d9] redeploy-app got matched, but didn't get triggered because the trigger rules were not satisfied
[webhook] 2020/01/13 05:17:57 200 | 1.0557ms | mattstromdesign.com:9000 | POST /hooks/redeploy-app 

Subscribe
Share

Sorry, I believe I ended up using a different solution than the one in this guide.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello, @strommj20

Can you please make sure that you’ve set application/json for Content Type as per step 4, point 4 in the tutorial:

https://www.digitalocean.com/community/tutorials/deploying-react-applications-with-webhooks-and-slack-on-ubuntu-16-04

Let me know how it goes.

Regards, Alex