- Web Presence Builder for Linux
Error on website publishing in Web Presence Builder:
CONFIG_TEXT: Unable to connect to Web Presence Builder. Please contact the server administrator.
The same error may occur during other actions in Web Presence Builder, e.g. on tab opening.
max_execution_time was already increased in
# grep 'max_execution_time' /usr/local/psa/admin/conf/php.ini
max_execution_time = 1200
The following error record can be found in
CONFIG_TEXT: [error] 882361#0: *3346046 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 203.0.113.2, server: , request: "POST /sitebuilder/JsonApi/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock", host: "server.example.com:8443", referrer: "https://server.example.com:8443/sitebuilder/Editor"
The issue was caused by timeout from sw-cp-server service.
Connect to the server via SSH.
Increase fastcgi limits in
CONFIG_TEXT: fastcgi_buffers 32 32k;
Restart sw-cp-server and sw-engine services:
# service sw-cp-server restart
# service sw-engine restart
Note: In case the issue persists, consider increasing mentioned limits twice.