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: 

Issues with clone/fetch over SSH

Martin Pivarník
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!
February 10, 2020

Hi we are getting having intermittent problems with fetching multiple repositories due to this error:

Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress git@bitbucket.org:xxx/xxx.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: Connection closed by 18.205.93.0
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 11, 2020

Hello @Martin Pivarník,

Well, from this much of detail I can say only that the SSH key used to run this operation:

  • is not recognised at all (not associated with any user or repository)
  • is associated with a user that doesn't have access to the repository in question
  • is an access key for a different repository
  • OR repository simply doesn't exist

If the repository exists, I'd suggest you to enable verbose log for SSH and check which key is used and where it is registered in Bitbucket.

Hope this helps. Let me know if you have any questions.

Cheers,
Daniil

Martin Pivarník
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!
February 11, 2020

Hey Daniil, the issue seems to be gone now.

Like Daniil Penkin likes this
TAGS
AUG Leaders

Atlassian Community Events