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

0 vote

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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,802 views 0 6
Read article

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