Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Invalid URL for BitBucket Cloud Webhook to Bamboo

When trying to set up our BitBucket webhook to Bamboo, I am getting "Invalid URL" when trying to save the Webhook initial setup.  I am using the URL from the pattern posited in the Atlassian post: https://confluence.atlassian.com/bamboo/triggering-a-bamboo-build-from-bitbucket-cloud-using-webhooks-873949130.html

I have tried:

http://10.3.2.23:8085/rest/triggers/1.0/remote/changeDetection?planKey=BAMTEST-BAMWEB&skipBranches=false

Which results in "Invalid URL"

And when I try:

10.3.2.23:8085/rest/triggers/1.0/remote/changeDetection?planKey=BAMTEST-BAMWEB&skipBranches=false

I get "The specified URL is invalid"

I have added the BitBucket IPs to the whitelist for the trigger in Bamboo.

1 answer

0 votes

Hello Mike,

I've checked the errors you were experiencing and this is what they usually mean:
Invalid URL: Domain unreachable. This error is misleading, it was reported as an enhancement but closed due to missing information - #12533 - Urls that don't exist give unclear "invalid url" error - Bitbucket. I've added some extra comments there to highlight this as an existing problem.
The specified URL is invalid: The URL format is not valid.

Your Bamboo instance seems to be unavailable to the internet, in order words, Bitbucket is not able to reach your Bamboo server therefore not being able to configure the WebHook.

Please check if your instance is available by accessing it from a different machine, on an external network.

curl --user <user>:<password> -H "Content-Type: application/json" -X POST http://<your_IP>:8085/rest/triggers/1.0/remote/changeDetection?planKey=BAMTEST-BAMWEB&skipBranches=false

(!) Please make sure the IP calling Bamboo is configured in Trigger IP addresses remote trigger.

In case you need to whitelist a firewall to allow Bitbucket request to reach your server, please use the following pages as a reference:

I hope that helps you to move forward.

Thank you - I was able to figure that out eventually, but could not find this information anywhere else (another answer to a different question triggered the "DUH!" moment that my local URL wouldn't be accessible via cloud bitbucket).  A more informative message might be helpful.

Thanks for your assistance!

 

---Mike

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

190 views 4 6
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