Page 1 of 1

getting 504 gateway timeout

Posted: Wed Apr 01, 2015 5:37 am
by cmuench
when assessing my websites I'm getting a 504 gateway timeout I have already rebooted the server. apachectl configtest and nginx configtest both report fine.
Getting this error

Code: Select all

2015/04/01 03:01:59 [error] 2026#0: *170 upstream timed out (110: Connection timed out) while connecting to upstream, client: 66.249.67.87, server: , request: "GET / HTTP/1.1", upstream: "http://10.90.80.10:8080/", host: ""
    

Re: getting 504 gateway timeout

Posted: Wed Apr 01, 2015 6:35 am
by ScIT
It seems that your apache2 have a problem, please check if you can access manually on "http://10.90.80.10:8080/", also check apache2 status and log.

Regards
Raphael

Re: getting 504 gateway timeout

Posted: Thu Apr 02, 2015 7:47 pm
by skurudo
Please check also site error log, may be you have fatal error(s) in scripts.

Re: getting 504 gateway timeout

Posted: Wed Jul 01, 2015 4:56 am
by jinsonkv
skurudo wrote:Please check also site error log, may be you have fatal error(s) in scripts.
check this page for more details http://firstandgeek.com/504-gateway-tim ... error-504/

Re: getting 504 gateway timeout

Posted: Wed Jul 01, 2015 6:57 am
by skurudo
jinsonkv wrote:
skurudo wrote:Please check also site error log, may be you have fatal error(s) in scripts.
check this page for more details
It's not details - only simple explanations, why you need more resources.

Main idea - "Some company’s may have hosted their website with cheap servers which are not compatible with handling many requests at a time."