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
Community moderators have prevented the ability to post new answers.
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:
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.