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 

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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