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.
Hi @Asrar Ahamed and welcome to the community.
Could you please let us know:
1. Does this issue occur with a repo hosted in Bitbucket Cloud? Or with a repo in Bitbucket Server/Data Center?
I see that your question has the tag 'bitbucket-cloud', but I cannot find a Bitbucket Cloud account with your email.
If you are unsure, the URL of a Bitbucket Cloud repo starts with https://bitbucket.org/, while for Server/Data Center it's a different custom url.
2. Does this issue occur with one specific repo only? Or with multiple Bitbucket repos?
3. What is the size of the affected repo(s)?
4. Do you have any large/binary files committed in the repo without LFS?
5. Is the issue intermittent or can it be consistently reproduced?
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.