Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

webhook ips

bsutton December 4, 2018

We have a webhook which we have been using for a couple of years with no problems and it suddenly stopped working - can't be absolutely sure when without major trawling through logs but probably within the last few weeks.

It is hosted by itself on a subdomain and triggers a local shell process which pulls content from the repo and auto merges it.  Being a bit of a security nut, I ensured that only whitelisted IPs can access the domain and the hook itself over https and the list included those IPs which are listed in the relevant page online.

Now here is the thing.  If I open up the domain to all requesting IPs then the hook works again just fine.  When I put back the IP requirements it stops - so I am pretty sure that it has to be that the Bitbucket IP from which it is being called is not in the list.

Anyone have any ideas?

KR

 

Bob

2 answers

1 vote
Guillermo Schwindt December 5, 2018

These list of IPs work for me.

 

Screen Shot 2018-12-05 at 15.46.49.png

bsutton December 6, 2018

Thanks again, I will try these and see if I get anywhere.  Right now I have removed the checking which I don't like to do.  Will feed back once I have had the chance to test.

Ryan L.
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 18, 2019

These worked for me, thank you very much!

0 votes
Guillermo Schwindt December 5, 2018

Same issue with webhook, in the blog post they mention Bitbucket IP changes https://bitbucket.org/blog/update-to-outgoing-webhook-ip-addresses

But I added all these ips but doesn't work:

IPv4 outbound for bitbucket.org

  • 104.192.136.0/21
  • 34.198.203.127
  • 34.198.32.85

IPv6 outbound for bitbucket.org

  • 2401:1d80:1010::/64
  • 2401:1d80:1003::/64
bsutton December 6, 2018

Well I guess it is good to know that it's not just me!  Thanks for the reply.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events