Plesk

An operation fails in Plesk: upstream timed out (110: Connection timed out) while reading response header from upstream

Symptoms

Cause

Timeout limit which is set up in Plesk configuration has been exceeded by the operation.

Resolution

  1. Connect to the Plesk server via SSH.

  2. Modify the file /etc/sw-cp-server/config:

    2.1. Open the file in a text editor. In this example we use the vi editor:

    # vi /etc/sw-cp-server/config

    2.2. Increase the value of:

    fastcgi_read_timeout and fastcgi_send_timeout to 1200:

    fastcgi_read_timeout 1200;
    fastcgi_send_timeout 1200;

    2.3. Save the changes and close the file.

  3. Modify the file /usr/local/psa/admin/conf/php.ini:

    3.1. Open theĀ file in a text editor:

    # vi /usr/local/psa/admin/conf/php.ini

    3.2. Increase the max_execution_time value:

    max_execution_time 1200

    3.3. Save the changes and close the file.

  4. Restart the Plesk services:

    # service sw-cp-server restart && service sw-engine restart

  5. Retry the failed operation.
Exit mobile version