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://xxxx@xxxx.xxxx.com/repos/swift.git: Session.connect: java.net.SocketException: Connection reset
	at com.atlassian.bamboo.plugins.git.GitOperationHelper.obtainLatestRevision(GitOperationHelper.java:106)
	at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:143)

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?

Cheers,

Christian

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.

Cheers,
Armen

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