Bamboo and Git errors

We've been having some issues with Bamboo's Git support, and have a support query outstanding on repo corruption.

Regardless of that one, we generally seem to get a lot of errors generated (about 1 per hour, where our repo checks are set to every 3 or 10 minutes):

com.atlassian.bamboo.repository.RepositoryException: ssh:// Session.connect: Connection reset
	at com.atlassian.bamboo.plugins.git.GitOperationHelper.obtainLatestRevision(
	at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(

These errors are quite annoying - especially because on the next retry it works again. We never got these before with another build server.

Anybody else got a similar problem, or a solution?



3 answers

0 vote

Do you get any errors in the ssh log?

I have the same issues but my builds don't fail. It just looks like the Git plugin keeps a connection open when it is cloning instead of closing it.

Hey there,

  1. Please try to use 'None' in the repository configuration page for the authentication
  2. Manually configure the SSH executable from the Administration -> Server Capabilities page (add a new Git executable and a new drop-down will appear. choose SSH and type the full path of the SSH executable)
  3. If you still face the same problem, try to run the same checkout from a simple Inline Script task instead of using a Source Code Checkout task.
  4. Also, try to upgrade your Bamboo instance to the latest version.
  5. If nothing helps, please sign up, open a new support ticket and provide your Bamboo logs and screenshots of your repository configurations.


Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

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