• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Plesk 502 bad gateway (104: Connection reset by peer) while reading response header from upstream

Busi

New Pleskian
After doing a clean install of my dedicated debian and a clean install of plesk i started getting error 502 bad gateway diffend places already at where i had to put in my license key but i got past that but now everytime i try and add a extension from either zip file or catalog i get it again. the sw-cp-server log shows


2016/10/10 04:41:58 [error] 13365#0: *557 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 2.104.126.106, server: , request: "POST /admin/module/install-from-catalog/uuid/f6847e61-33a7-4104-8dc9-d26a0183a8dd?_randomId=97162 HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "digfordiamonds.com:8443", referrer: "https://digfordiamonds.com:8443/admin/module/catalog"


I have already tried to increase
fastcgi_buffers 32 32k;
fastcgi_buffer_size 64k;

with no luck at all. and I'm lost on what to do :(
 
Do you have fail2ban activated? Have you whitelisted localhost (127.0.0.1/8) and your public IPv4 address?
 
Back
Top