The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bamboo and Git errors

Christian Nentwich
September 15, 2011

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
ArmenA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 22, 2013

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

0 votes
Andrew Finnell
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 13, 2012

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.

0 votes
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 17, 2011

Do you get any errors in the ssh log?

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events