Bamboo connection to Bitbucket Cloud - Test connection failing

Jon Starbird
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 31, 2019

I am setting up Bamboo to connect to our Bitbucket Cloud instance and everything works up until I click Test Connection. 

So I can connect, select a Repo, select a Branch all fine. 

Then I click Test Connection and it just says:

"We couldn't connect to the repository. The details you provided were invalid."

I have tried both SSH and username/password and it just keeps giving the same message.

Bamboo's logs are not showing anything so not to sure what is going on here. 

Any suggestions??

2 answers

2 accepted

0 votes
Answer accepted
Jon Starbird
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 5, 2019

As someone else might hit this I wanted to update what was the final solution. 

After getting an update for Bamboo that was fixing an issue with BitBucket Cloud connnections which did not fix our issue I reached out to Atlassian support and they helped find the issue.

It turned out that the Temp folder used by Git via Bamboo was under the install folder of Bamboo itself. This is on Windows and the person who installed it had put it under Program Files and the Space there was causing a problem. 

I ended up having to change the JVM setting for the tmp folder:

-Djava.io.tmpdir=<some path without spaces>

0 votes
Answer accepted
Jon Starbird
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 31, 2019

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events