Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git push error: HTTP request failed: The requested URL returned 504

I am getting the error git did not exit cleanly (exit code 128) in Tortoise Git while pushing my changes to master in GITHub

git.exe push -v --progress  "origin" master:master

Pushing to https://github.com/myproj/Net.git
error: The requested URL returned 
error: 504 while accessing 
https://github.com/myproj/Net.git/info/refs?service=git-receive-pack
fatal: HTTP request failed

git did not exit cleanly (exit code 128) (63228 ms @ 22-12-2012 23:57:48)

I already referred How to resolve "git did not exit cleanly (exit code 128)" error on TortoiseGit?

But i am using HTTPS and not SSH. I mean i cloned using HTTPS url from GITHub. Also i have no idea how to get SSH generated!

enter image description here

What will be fix?

like image 563
Murali Murugesan Avatar asked Dec 22 '12 18:12

Murali Murugesan


People also ask

What causes a 504 error?

A 504 Gateway Timeout Error means your web server didn't receive a timely response from another server upstream when it attempted to load one of your web pages. Put simply, your web servers aren't communicating with each other fast enough.

What is a 504 error?

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.


1 Answers

As mentioned here:

The 504 Gateway Timeout error is an HTTP status code that means that one server did not receive a timely response from another server that it was accessing while attempting to load the web page or fill another request by the browser.

This usually means that the other server is down or not working properly.

And that is coherent with the current GitHub status (22d of Dec.):

We are currently experiencing major service outages across all services.

So while the cause is quite punctual and specific to the current network issue on GitHub side, you question can help others with a similar error message:

504 means: the upstream server is in trouble.

like image 157
VonC Avatar answered Oct 08 '22 21:10

VonC