Hi,
I'm trying to trigger a build plan created on Bamboo, from Bitbucket webhook. The webhook sends a request for build as soon as the master branch is updated.
I referred to the IPs given in the following document:
https://bitbucket.org/blog/new-ip-addresses-bitbucket-cloud
for configuring trigger in Bamboo.
It worked for few requests and then it started failing with code 400. Upon checking the webhook requests found that requests are originated from some other IP-
"Build request for plan [XXXX - XXXX] originated from 18.234.32.228,172.31.11.67,127.0.0.1 which is not an allowed address"
Not only this, I checked other failed requests and found different IPs which include following:
18.234.32.224,172.31.1.19,127.0.0.1
18.234.32.227,172.31.36.113,127.0.0.1
I'm doing this for the first time. Could anyone help me in this regard? Am I not doing it right? Do I need to specify the IPs in some other way. Any help in this regard is appreciated.
Thanks in anticipation
Hello @Paridhi.Jain,
Both 18.234.32.224 and 18.234.32.227 are within the 18.234.32.128/25 subnet listed in the blog post you mentioned, so I believe there's some misconfiguration in Bamboo.
However, you should consider this page as the source of truth regarding Bitbucket IPs. Specifically:
Outbound traffic will come from Atlassian's public IP range in addition to the below addresses:
18.205.93.0/25
18.234.32.128/25
13.52.5.0/25
Hope this helps.
Cheers,
Daniil
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.