Forums

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

I'm trying bitbucket server. All works except on one repository that is 1.4GB

Richard Parsons
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!
September 28, 2018

when i try to clone a 1.4GB repository from Bitbucker server, I always get the error: fatal: the remote end hung up unexpectedly error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500

works fine with smaller repositories or if I clone to a depth of 200 on the large repository. Cloning to depth returns only main branch and attempts to fetch other branches at any depth fails with same error as above.

1 answer

0 votes
Rajath Veeramanchala September 30, 2018

Hi @Richard Parsons,

Instead of using HTTP protocol to clone, I suggest you use SSH protocol. You can create a public key in git bash using below command :

ssh-keygen -t rsa

This would create an id_rsa.pub under .ssh folder in your user folder. Copy the public key and paste in under Manage account > SSH keys of your bitbucket account. This way you can authenticate via ssh easily and you wouldn`t find such issues like you found in HTTP.

Hope this helps

Regards,

Rajath

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events