Forums

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

Bitucket git clone with --depth 1 throwing HTTP 500 internal server errror

Peter Nusios
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!
October 25, 2018

Hi, I'm trying to clone git repository using --depth 1 parameter using https, but I'm getting internal server error when this parameter is used. Does anyone know how to overcome this issue? I've already tried to set git buffers and compression and so on, but nothing helps.  

 

full error response:

error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 Internal Server Error fatal: The remote end hung up unexpectedly

3 answers

0 votes
Peter Nusios
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!
March 13, 2019

My issue was connected with CocoaPods, which was generating this problematic git clone parameter when I was referencing concrete tag in CocoaPods spec: 

:git => "http://git.asdf.com/asdf/asdf.git", :tag => version

workaround was referencing commit instead of tag:

:git => "http://git.asdf.com/asdf/asdf.git", :commit => 'd749a0xa9da'

0 votes
lazyinit
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!
March 12, 2019

I am also facing this error too.

How can I solve this problem? 

Serina Joyce March 13, 2019

We ended up updating our Bamboo version and using the new Bamboo Source Control tasks.

We made compromises to go this route though, you'll have to see if it works for you.

0 votes
Serina Joyce January 23, 2019

I am also facing this error.  I have an older repository with two commits on the master branch, i have already increased the buffer size.  I can reliably reproduce from command line as well.

 

GITCloneError.PNG

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events