We are getting the HTTP 504 while cloning on jenkins build job. After we wiped out the workspace, build job getting successes, but we are not sure frequently we are getting this error when cloning happening.
error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504 fatal: the remote end hung
We have added buffer sizes also on git config file.
$ cat .gitconfig
[http]
postBuffer = 10000000000
maxRequestBuffer = 500M
lowSpeedLimit = 0
lowSpeedTime = 999999
After that also still receiving same error.
please check this and let us know how to solve this issue.