Articles in this section

Backup restoration in Plesk finishes with a warning: Utility returns not valid response: 504 Gateway Time-out

kb: technical

Symptoms

  • Backup restoration in Plesk finishes with a warning:

    Warning: Restore hosting "example.com"
    Utility returns not valid response: [html]
    [head][title]504 Gateway Time-out[/title][/head]
    [body]
    [center][h1]504 Gateway Time-out[/h1][/center]
    [hr][center]nginx[/center]
    [/body]
    [/html]

  • The Subscription from the warning contains a lot of domains (~300).

Cause

Timeout reached during the restore background command execution. Default timeout is 10 min and operation takes about an hour.

Resolution

  1. Connect to a Plesk server via SSH.

  2. Open the configuration file /etc/sw-cp-server/config. Vi editor can be used.

  3. Adjust the parameter values of fastcgi_read_timeout and fastcgi_send_timeout:

    • From 10 minutes:

      fastcgi_read_timeout 600;
      fastcgi_send_timeout 600;

    • To 2 hours:

      fastcgi_read_timeout 7200;
      fastcgi_send_timeout 7200;

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.