• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question REST Server Timeout

puzz1ed1

New Pleskian
Trying to migrate some sites off of a Plesk server, but it appears the API is timing out. Gaining host has asked that we extend the timeout on it, but can't see any option for that.
 
Taken from a Plesk support article that solves another issue, but probably the same solution can apply to your case:

Open /etc/sw-cp-server/config file using a text editor
Adjust timeout limits for FastCGI, for example:
fastcgi_read_timeout 1200
fastcgi_send_timeout 1200

Open /usr/local/psa/admin/conf/php.ini file using a text editor.
Adjust timeout limits for PHP, for example:
max_execution_time = 1200

Restart sw-engine and sw-cp-server services:
# service sw-engine restart
# service sw-cp-server restart

If the issue still persists increase timeout limits even greater.
 
Back
Top