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

Bamboo Can't Connect To BitBucket

When I run a Bamboo job I get the following error:

Error occurred while running Task 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout.

This error may have occurred due to an authentication issue with Bitbucket Server. Save the repository configuration to refresh the authentication details or manually add the access key visible in Advanced section to Bitbucket Server.


This was working, but just stopped.  I tried to go to the Linked Repositories and click save, but that didn't work.  I tried rebooting the server, no help.  

1 answer

Running through the same problem, found no solution so far

To fix this issue, I had to delete the files in the Cache folder on the Bamboo Server.

  1. Stop Bamboo – Logon to the Bamboo Server, go to Services, Stop the “Atlassian Bamboo Bamboo” service.
  2. Delete the cache folder on the Bamboo server.  Delete the folders under this directory (C:\BambooData\xml-data\build-dir\_git-repositories-cache), but not the _git-repositories-cache directory. 
  3. Start Bamboo – Go back to Service and start the “Atlassian Bamboo Bamboo” service.

Are you trying to connect bamboo agent or bamboo server ?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,869 views 0 7
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