Unable to connect Bamboo Server to BitBucket Cloud

I have installed Bamboo (6.3.1 build 60306) on an Ubuntu 16.04 instance.

I'm attempting to add a Linked Repository to connect to my BitBucket cloud instance.

In order to do that I've added the "Shared Credentials" of type SSH.

Now, when I attempt to add a new "Linked Repository" and choose the option "Use shared credentials to authenticate" I get the following error message:

"No shared credentials of this type have been defined. You can configure them in administration panel on Shared credentials page.

More information about shared credentials can be found in the documentation."

Screen Shot 2018-01-28 at 9.05.18 AM.png

 

I've tried adding a "Shared Credentials" of type "Username & Password", which shows up when I attempt to add a new "Linked Repository". However, when I click on "Load Repositories", I get the error message "Failed to load data from Bitbucket. [403 Forbidden]"

Screen Shot 2018-01-28 at 9.03.41 AM.png

2 answers

Thanks to Atlassian Support for a quick resolution on this.

 

The challenge was that I was running Bamboo behind a Reverse Proxy (nginx).

 

The solution is described in -> https://confluence.atlassian.com/bamkb/failed-to-load-data-from-bitbucket-403-forbidden-attempting-to-create-a-bitbucket-cloud-repository-in-bamboo-fails-869183268.html

0 votes

Can you please confirm username/password you used for Shared credentials works if you enter them at create Linked repository form

When I key in the credentials directly on the "Linked repository form" and click on "Test Connection", I get the following error message:

Screen Shot 2018-01-28 at 10.18.25 AM.png

When I click on the button "Load Repositories", I get "Failed to load data from Bitbucket. [403 Forbidden]":

Screen Shot 2018-01-28 at 10.18.46 AM.png

I think I'm running into trouble because I'm running my Bamboo Server behind a Reverse Proxy Server (nginx). Here's my configuration file:

 

upstream bamboo_server {

        server 111.222.333.444:8087;

}

 

server {

        listen 80;

        listen [::]:80;

 

        server_name ci.xxxxxxxxx.com;

 

        access_log  /var/log/nginx/ci_xxxx_com_access.log;

        error_log   /var/log/nginx/ci_xxxx_com_error.log;

 

        location / {

                proxy_pass http://bamboo_server;

        }

}

 

What would I need to change?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

457 views 0 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you