If you’re getting a message of the form:
error: RPC failed; result=22, HTTP code = 504
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. To your team, this looks like intermittent failure and some issue with our servers, but it’s actually Git’s inability to send the amounts of data in question fast enough.
To work around this, if you need to have a large Git repository, we recommend accessing it via SSH using the instructions at:
You can email us as well at support [at] to open a support ticket and request that we run garbage collection on your server, which sometimes can free up enough space to make a difference.
Alternatively, we do offer Subversion, which is great for hosting large artifact repositories for your team as well, and because it’s not distributed, doesn’t have as many issues with copying large amounts of data.