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

Remote events not pushed from Bitbucket to Bamboo

I am trying to link Bamboo and Bitbucket in order to get Bamboo react on pull requests.

I have:

  • Bitbucket 6.10.0 self-hosted
  • Bamboo 6.10.6 self-hosted

I am checking the "System information" page in Bamboo to see if I receive any events from Bitbucket. Even though "Remote events status=working" "Last received event" column remains empty. I am trying to trigger some event by creating and editing pull requests.

Observations:

  • I can see Bitbucket is periodically querying GET /rest/remote-event-consumer/1/capabilities of Bamboo 
  • Bamboo returns capabilities like "stash-pullrequest-opened-remote-event" or "stash-pullrequest-updated-remote-event"

What could be missing? Why does Bamboo not receive any events? I have re-established the links between the applications. Nothing has changed.

2 answers

OK. I have some more info:

The Bamboo endpoint GET /rest/capabilities returns several links. My Bamboo is hosted with SSL and all the links have https prefix. This is OK.

However the endpoint GET /rest/remote-event-consumer/1/capabilities returns all links with http. This makes Bitbucket complain:

java.lang.IllegalArgumentException: Request url 'http://bamboo.my.org/rest/remote-event-consumer/latest/events/stash-branch-changed-remote-event' isn't in the same origin as the rpc url 'https://bamboo.my.org'

Any Idea how to fix the URLs in the GET /rest/remote-event-consumer/1/capabilities response?

Suggest an answer

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

Bamboo Data Center is here!

G’day Bamboo customers, The wait is over! Bamboo Data Center edition you have been asking for is finally here! This self-managed enterprise offering of Bamboo has the resilience, reliability, and s...

558 views 1 17
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