Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,444
Community Members
 
Community Events
165
Community Groups

error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504

Total 20806 (delta 14193), reused 20805 (delta 14193), pack-reused 0

error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504

fatal: the remote end hung up unexpectedly

fatal: the remote end hung up unexpectedly

Everything up-to-date

 

## steps taken to resolve ##

edit bitbucket.properties file in the server to add 

plugin.ssh.command.timeout.idle=86400
plugin.stash-scm-git.backend.timeout.idle=1800
plugin.stash-scm-git.backend.timeout.execution=86400

 

added ~/.gitconfig

[http]

        postBuffer = 10000000000

        maxRequestBuffer = 500M

        lowSpeedLimit = 0

        lowSpeedTime = 999999

 

Seems able to push to bitbucket but still receiving error

error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504

fatal: the remote end hung up unexpectedly

fatal: the remote end hung up unexpectedly

 

1 comment

Edward Atlassian Team Jun 22, 2022

Hi Amrit,

The 504 error means:

The HyperText Transfer Protocol (HTTP) 504 Gateway Timeout server error response code indicates that the server, while acting as a gateway or proxy, did not get a response in time from the upstream server that it needed in order to complete the request

You will need to possibly increase timeouts on the proxy, CloudFront, or use ssh. For example proxy configurations we recommend, please see:

Thanks!

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,229 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you