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:

  1. Shutdown Bamboo

  2. Remove all contents from this directory, to clean it: $BAMBOO_INSTALL\temp

  3. Right click >> Properties on $BAMBOO_INSTALL\temp

  4. Visit the Security / Permissions tab

  5. Ensure that the user you're using to run Bamboo has Full Control over this folder and its contents

    1. If running Bamboo as the LOCALSYSTEM account, this maps to the BUILT-IN\Administrator group

  6. Start Bamboo

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.