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 votes

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
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

63 views 3 2
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