Checkout Default Repository(1) failed with code 128

Hi all, the environment we are using is stash, bamboo and clover. Initially, I enabled git flow branch, everything goes well, the code can be fetched from stash, compile correctly, artifact, etc. Then I tried to integrate clover with bamboo, one job for Clover, one job to produce artifact, however the error shows up frequently (not every time). The credential is not updated for the time being. Any ideas? Thanks.

bamboo_authentication_error_1.png

om.atlassian.bamboo.plugins.git.GitCommandException: command /opt/git/2.1.0/bin/git ls-remote ssh://6ea4a535-4dbd-4ee2-8c56-b25826d042d0@127.0.0.1:44090/~xx/xx.git failed with code 128
 
 stderr: Authenticating remote session failed stdout: [Warning: Permanently added '[127.0.0.1]:44090' (RSA) to the list of known hosts.
 
Authenticating remote session failed: Session is closed], fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.])

2 answers

This widget could not be displayed.

- what Stash version do you use? - did you try to run exactly the same git command outside Bamboo? what happens?

This widget could not be displayed.

Stash v3.5.0 I cannot run git command in agent, because I am not admin. If running the git command in my local machine, it is fine. The error did not occur today. Let's put aside this issue. I will ping you if the error is up again. Thanks a lot.

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...

142 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