error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504 fatal: the remote end hung

Asrar Ahamed
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!
January 31, 2023

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.
 

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 3, 2023

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events