• 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.

502 bad gateway

  1. Mario Chamorro

    Input Webmail 502 Bad Gateway

    I installed a new server with Ubuntu 24.04 and migrated my Plesk installation from the old Ubuntu 22.04 VM to the new 24.04 VM. Everything was fine except for the web service. The domain sites did not load and returned 502 Bad Gateway. I resolved that by disabling Nginx Apache2 proxy service...
  2. A

    Issue Problem with modsecurity - modsecurity_ctl failed

    Hello, This morning we had a 502 error on our website, after a reboot and using the repair tool, the site was online again. From last 5 this morning i get the following mail: Cron <root@h2913878> cd / && run-parts --report /etc/cron.hourly /etc/cron.hourly/asl: Error: ASL has not been...
  3. T

    Issue 502 Bad Gateway after I changed one of domain names

    Hi, yesterday I got an error on all websites hosted, 502 Bad Gateway. I did rename one domaine and after that I start getting some errors on web domain page. what should I do?
  4. J

    Issue sw-engine won't start

    Hi, I try to rebooted the server. Now everything is broken I get the 502 Bad Gateway error when I try to access the Plesk login page. When I try to run systemctl status sw-cp-server.service process:17940 ExecStartPre/usr/sbin/sw-cp-serverd -q -t (code=exited, status=1/Failure) Any ideas what...
  5. M

    Issue 502 Bad Gateway afterstartinga backup download

    Hello I am getting Server Error 502 Bad Gateway Web server received an invalid response while acting as a gateway or proxy server. https://15.235.83.79:8443 I cant run repair kit as it says its missingi have tried in ssh I noticed a file was renamed to ervice sw-engine start I dontknow if...
  6. Mark12345

    Input Solved 502 Bad Gateway Shipstation Plugin AWS TLS NGINX Woocommerce

    I suffered for hours on this problem so I decided to post it here for future searchers. Basically I moved my website to my new server hosted by Ionos. We run Woocommerce on Wordpress and use a Shipstation plugin to update orders. We I transferred over the website to the new server, the...
  7. C

    Issue Issue with NGINX and Apache Crashing

    Hi Everyone. I am using Plesk since a few years now for my little hosting business, but recently I've upgraded my machine and plesk now it's installed on a Debian 10 Machine. Before it was running under ubuntu, and what I've noticed since the migration is that every time an action get done on a...
  8. F

    Resolved sw-engine won't start

    Hi, After some issues with emails I tried updating the server. When that process stalled in the interface, I rebooted the server. Now everything is broken :( I get the 502 Bad Gateway error when I try to access the Plesk login page. The repair tool shows Service sw-engine.service Status...
  9. Lrnt

    Resolved Nginx error each hour (502) peer closed connection in SSL handshake (104: Connection reset by peer) while SSL handshaking to upstream

    Hi, Sine a little time, I have an nginx error each hour (at HH:58:00) which result in a 502 Bad Gateway during 10-15 second. I really don't know where it comes from? Before turning of nginx, maybe someone will have an good idea? Here is a the part of the nginx log when the error occurs...
  10. mdraselkhan

    Issue Magento 2.x 502 Bad Gateway Error on Ubuntu

    Hello, I'm using AWS Lightsail Plesk Hosting Stack on Ubuntu. After installing Elaasticsearch 2.x that is mandatory to install Magento 2 on this same server, after successfully installed this, getting 502 Bad Gateway. The developer guy was told me to contact the server admin or OS system's...
  11. D

    Resolved Plesk Interface Domain Overview - 502 Bad Gateway

    Hello, Whenever I try to access the domain overview (for any domain) in the Plesk interface I get "502 Bad Gateway - nginx". The domain itself can be displayed with no issues, and I can also access the domain overview by going through the subscriptions-page. I've tried to tail all the...
  12. V

    Resolved Only some requests receiving 502 Bad Gateway

    Issue Some users are getting a 502 error and the error does not go away with a refresh of the page. Once that error pops-up any page requested on the domain throws the same 502 error. There is no specific website or domain from the ones configured on the server where this error is being faced it...
  13. D

    Issue Plesk Won't load (certain pages)/with power user mode -on

    Hi, Since a few days ago plesk won't load anymore. Sever performance seems very poor. I can access the login screen of plesk, but when pressing the login button "with plesk power user mode on" the page never loads and exits with a 502 or 504 error. (504 - Gateway Time-out - nginx) If I disable...
  14. D

    Resolved 502 Bad Gateway nginx after auto update Version 17.5.3 Update #54

    Hi, All websites on my DV are displaying: 502 Bad Gateway nginx On logging into plesk I can see a few hours prior the plesk automaticaly updated. Plesk Onyx Version 17.5.3 Update #54, last updated on July 24, 2018 09:28 PM I have restarted services and rebooted the server via the plesk panel...
  15. stas styler

    Issue Websites Hanging loading for minutes and 502

    Hi guys, Lately I'm seeing a problem that makes me so frustrated. Some websites suddenly could not be loaded. When I type the URL and press enter it just trying to load them for ages and then show me 502 bad gateway. I've tried to find the problem / reproduce it but with no luck. The first...
  16. iGraphics

    Issue 502 bad gateway

    Hello, I got a new dedicated server with Plesk. And I face a problem: 1- When I add a new site and when I click OK to adding a new site when this page loading for make this process other sites get 502 bad gateway! 2- When I change the PHP version for 1 site and when I click OK the other sites...
  17. Pier

    Resolved https generates 502 bad gateway

    My environment: OS: ‪Ubuntu 16.04.3 LTS‬ Product: Plesk Onyx 17.5.3 Update #27 Nginx is running as a proxy server all the websites there are running fine with http, when I try to use https I always receive a 502 bad gateway error (for all the websites hosted there). What I did: i created a...
  18. A

    Resolved Control Panel unreachable on port 8443

    Hi, all of a sudden I am not able to reach the cp both on https://serverurl:8443 and http://serverurl:8880. Website and other services seem to work as usual though. Now, since I know that this can be related to a variety of issues, I would appreciate very much if someone could help me in...
  19. AndyM

    Issue nginx 502 Bad Gateway when using https with webmail subdomain

    Operating System: Ubuntu 12.04.5 LTS; Plesk Onyx v17.0.17 build1700161028.14 Apache, nginx, PHP-FPM 5.6.30, Fail2ban, Dovecot IMAP/POP3, QMail, SpamAssassin After struggling for many hours and researching forum threads, I cannot figure out how to configure nginx to allow access to webmail...
  20. D

    Resolved Help troubleshooting Nginx + Php-Fpm Set up

    Researched this issue many times and now need help understanding some diagnostics. Basically switched a server over from Apache + Php regular to Nginx + php-fpm . The problem is after a small increase in users Nginx starts encountering 503 and 502 errors. The main error we see in the log is...
Back
Top