Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

GIT clone failing

ebrouillard July 16, 2015

Hi,

 

I'm trying to clone a repository from commandline and get this error:

 

Cloning into 'E:\Workspace\.....\project.name'...

POST git-upload-pack (250 bytes)

fatal: The remote end hung up unexpectedly

error: RPC failed; result=22, HTTP code = 504

 

VisualStudio 2013 does not seem to be affected by the same problem. Google hasn't been quite helpful yet and I would like to know what else can be done to avoid this error.

 

Regards,

 

ÉBr

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
rrudnicki
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 16, 2015

Hello, 

 

The HTTP error 504 is related to a Gateway Timeout, what means your request couldn’t be completed. 

 When attempting to clone your Git repository over HTTP, it probably means that there's a size issue. Git is not designed to perform well over HTTP with repositories larger than about 1 GB. Over HTTP, Git has to be served using FastCGI and so the FastCGI process can sometimes time out before the command can return results

 Please, follow the workaround from this documentation:

https://confluence.atlassian.com/display/STASHKB/error%3A+RPC+failed+result%3D22+-+Push+to+Stash+fails

I know this is for Stash, but both are related to GIT. 

 If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

 

Regards, 

Renato Rudnicki

ebrouillard July 16, 2015

Hi, It didn't fix the issue. After a couple of retry I can say it became intermittent. I was able to clone once out of 2 - 3 tries. It may well be a performance issue on the GIT server. I started getting this error after CI in Azure WebApps started to fail on the fetch method. I had to increase the app setting SCM_COMMAND_IDLE_TIMEOUT in order to get it to work. Regards, Étienne Brouillard

TAGS
AUG Leaders

Atlassian Community Events