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

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events