I recently integrated webhooks into my server where when ever a push event happens, bitbucket sends data to the server and parses it and displays some sort of commit message in our discord.
This worked great for around 2 weeks. Now, suddenly, the webhooks stopped working specifically for any pushes I do to a few repositories and I cannot understand why. The webhooks work for another developer with no issues but do not work for me.
The only way to get the webhook to work once for me is to change the webhook URL and then to change it back. It will then proceed to work exactly once.
I just tried upgrading GIT and that also allowed the webhook to work exactly once. After that, it no longer works. That being said, it does work for my other developer 100% of the time. We are pushing to the same branch for the same repository.
Here is a video reproduction of my issue. Note, the 404 error is part of the response from the api if the webhook isn't valid. As you can see in the video, I push upstream and bitbucket does not do anything with the webhook. The commits can also be seen in the repository.
If anyone can give me insight to why this happens I'd very much appreciate it. Thanks!
Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events