Git credentials storage exception when trying to connect to a Github repository from Bamboo.
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Git credentials storage exception when trying to connect to a Github repository from Bamboo.
Environment
To date, it's more prevalent on Windows
Diagnosis
When testing the connection to a GitHub repository, Bamboo reports:
⚠️ We couldn't connect to the repository. Here's what we got back:
1
Git credentials storage exception.
Cause
The user running the Bamboo Server process does not have full permissions to read/write from the $BAMBOO_INSTALL\temp
directory.
Solution
Windows:
Shutdown Bamboo
Remove all contents from this directory, to clean it:
$BAMBOO_INSTALL\temp
Right click >> Properties on
$BAMBOO_INSTALL\temp
Visit the Security / Permissions tab
Ensure that the user you're using to run Bamboo has Full Control over this folder and its contents
If running Bamboo as the
LOCALSYSTEM
account, this maps to theBUILT-IN\Administrator
group
Start Bamboo
Was this helpful?