• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Two site running server - 504 Gateway Time-out

Hajime Tanaka

Regular Pleskian
We running on VPS Server,
12GB RAM
Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz (4 core(s))
CentOS 7.4 - Core
SSD

We created domain site is large.
We getting error "504 Gateway Time-out" from nginx. We have enabled Nginx and Apache, HTTP2.
 
Nope, Doesn't work. It is still error.
Code:
2018/02/13 02:37:29 [error] 1680#0: *4845 upstream timed out (110: Connection timed out) while reading response header from upstream, client: IPADDRESS, server: unknown.com, request: "GET / HTTP/1.0", upstream: "http://IPADDRESS:7080/", host: "www.unknown.com"
 
Nope, Doesn't work. It is still error.
Code:
2018/02/13 02:37:29 [error] 1680#0: *4845 upstream timed out (110: Connection timed out) while reading response header from upstream, client: IPADDRESS, server: unknown.com, request: "GET / HTTP/1.0", upstream: "http://IPADDRESS:7080/", host: "www.unknown.com"

Your issue is related to Apache, Nginx display an error 504 because Apache was not available. Try to check apache error_logs to see if there are additional info.
 
Your issue is related to Apache, Nginx display an error 504 because Apache was not available. Try to check apache error_logs to see if there are additional info.
There,
error_logs
Code:
[Tue Feb 13 02:09:41.803669 2018] [proxy:error] [pid 30923:tid 140100247693056] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /var/www/vhosts/system/unknown.com/php-fpm.sock (*) failed
[Tue Feb 13 02:09:41.803721 2018] [proxy_fcgi:error] [pid 30923:tid 140100247693056] [client 108.162.215.193:43820] AH01079: failed to make connection to backend: httpd-UDS, referer: https://www.unknown.com/
[Tue Feb 13 02:16:07.801850 2018] [proxy_fcgi:error] [pid 1432:tid 140593095157504] (70007)The timeout specified has expired: [client 141.101.88.127:45152] AH01075: Error dispatching request to :
[Tue Feb 13 02:16:09.055854 2018] [proxy_fcgi:error] [pid 1432:tid 140593367176960] (70007)The timeout specified has expired: [client 108.162.212.206:45156] AH01075: Error dispatching request to :, referer: http://queuecosm.bid/-36695BKHZ/2I5t?rndad=3130484029-1518484469
[Tue Feb 13 20:32:55.278315 2018] [ssl:warn] [pid 16558:tid 139977020299392] AH01909: RSA certificate configured for unknown.com:443 does NOT include an ID which matches the server name
 
Back
Top