• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Error 502 Bad Gateway timeout for few seconds after save settings

Azurel

Silver Pleskian
Each time updating/change "Apache & nginx Settings" for a single domain the server show for all subscriptions/domains a Error 502 Bad Gateway (for few seconds).

Is here no better way? Is this a bug? This issue is very annoying, you can never work in prime time or test things. I think this is because "restart" nginx? Why plesk "restart" it and not "reload" it with "nginx -s reload"?

CentOS Linux 7.8.2003
Plesk Obsidian Version 18.0.28 Update #2
 
Great, thank you very much! In your article was a hint
Graceful restart for Apache is enabled by default on all new Plesk Obsidian installations.
I use Plesk Obsidian and its was not checked, so this is a bug? I migrated from Onyx.
 
Hi, I have the same problem, I have a plesk VPS hosted in OVH. since yesterday all the hosted websites have an error
502 Bad Gateway
nginx​
In Plesk:
Code:
Details: [2020-07-14 10:17:31.413] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache_control_adapter' '--restart' '--restart-interval' '0' '--http-port' '7080' '--https-port' '7081' '--graceful'] with exit code [255] [2020-07-14 10:17:34.409] ERR [panel] Apache config (15947217180.25276600) generation failed: Template_Exception: Can not restart web server: Apache is down, start it instead of graceful Apache is down, start it instead of graceful file: /opt/psa/admin/plib/Service/Driver/Web/Server/Apache.php line: 114 code: 0 plesk sendmail[6363]: Unable to resolve fqdn: Name or service not known plesk sendmail[6363]: It is impossible to detect the FQDN of the host. Please make sure that the host name is correctly specified in /etc/hosts and goes right after the host's IP address. Depending on your OS, you might need to set the host name in /etc/HOSTNAME or /etc/hostname. plesk sendmail[6363]: Unable to retrieve hostname. Use localhost.localdomain instead. Can not restart web server: Apache is down, start it instead of graceful Apache is down, start it instead of graceful

this has happened since I updated Plesk
Me can you help me please?
 
Check your server hostname with

# hostname

and make sure that it is resolvable to IP of your server first.
 
Back
Top