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

This widget could not be displayed.

Do you get any errors in the ssh log?

This widget could not be displayed.

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.

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

264 views 1 3
Join discussion

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