Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Solved: Bitbucket Webhooks does not send X-Hub-Signature Header

Edited

Edit: Turns out Bitbucket only doesn't send the header when using the Test button. Actual webhook triggers correctly set the header, but still throw a 400 Error but for reasons based on my end.

I tired setting up a webhook for my repository to notify my flux-controller running on my Kubernetescluster, whenever I update my Cluster definition. According to the Documentation, Bitbucket sends the X-Hub-Signature Header when I provide it with a secret, which I did. But this does not seem to be the case and when testing the Connection (Either by using the Button, or by making a Push to my Repository), the Flux-Controller answers with a 400 Error due to the signature missing. Sending a request manually using curl (With the Header set) gets rejected because of a wrong signature (Obviously, since I did not calculate a correct one by Hand), so the missing signature seems to be the Problem. Are there any settings that change Bitbuckets behaviour in this regard, or am I doing something wrong?

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.7.1
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,711 views 10 16
Read article

Community Events

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

Events near you