Articles in this section

Website hosted at Plesk is unavailable: 504 Gateway Time-out

Plesk for Linux kb: technical ABT: Group A

Applicable to:

  • Plesk for Linux

Symptoms

  • A website is not accessible. The following error is shown in a browser:

    504 Gateway Time-out

  • The following error message can be found in the domain error log file /var/www/vhosts/example.com/logs/error_log:

    [proxy_fcgi:error] [pid 42290:tid 140458047010560] (70007)The timeout specified has expired: [client 203.0.113.2:54693] AH01075: Error dispatching request to :, referer: http://example.com/gallery

  • The following error message can also be found in the domain proxy error log file /var/www/vhosts/example.com/logs/proxy_error_log:

    [error] 2766#0: *19950 upstream timed out (110: Connection timed out) while connecting to upstream, client: 203.0.113.3, server: example.com, request: "GET / HTTP/2.0", upstream: "https://203.0.113.2:7081/", host: "example.com"

Cause

Website misconfiguration.

Resolution

  1. Connect to the server using SSH.
  2. Run the following command to rebuild domain configuration files:

    # plesk repair web example.com

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.