- Plesk for Linux
While accessing Plesk or performing some other actions,
502 Bad Gateway
error is shown.
contains the following error message:
CONFIG_TEXT: recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 188.8.131.52, server: , request: "POST <some url>
The root cause of this issue has not been identified.
- Сonnect to the server via SSH
- Use any text editor to increase the buffer size editing the file
# grep buffer /etc/sw-cp-server/configAfter:
fastcgi_buffers 16 16k;
# grep buffer /etc/sw-cp-server/config
fastcgi_buffers 32 32k;
- After editing the file, restart the below services:
# service sw-cp-server restart && service sw-engine restart