• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Resolved Disabling IPv6 Caused Plesk to Crash - 502 Bad Gateway

J.Wick

Regular Pleskian
Server operating system version
Rocky Linux release 8.7 (Green Obsidian)
Plesk version and microupdate number
Plesk Obsidian Version 18.0.50 Update #2,
I disabled IPv6 on my server, which caused Plesk to crash with a 502 Bad Gateway.

Undoing my changes fixed the problem. Why is this happening?

/var/log/sw-cp-server/error_log
2023/03/01 14:43:08 [emerg] 1015#0: socket() [::]:8443 failed (97: Address family not supported by protocol)
2023/03/01 14:43:13 [emerg] 1441#0: socket() [::]:8443 failed (97: Address family not supported by protocol)
2023/03/01 14:43:18 [emerg] 2191#0: socket() [::]:8443 failed (97: Address family not supported by protocol)

How I disabled IPv6 was to modify /etc/default/grub by adding ipv6.disable=1 then running grub2-mkconfig -o /boot/grub2/grub.cfg then rebooting the server.

Plesk is biding to IPv6 :: and should be on 127.0.0.1.

What's the proper way to disable IPv6?
 
Maybe this article can help:
Yes, I found that and decided to turn on IPv6 and enable it for all customers now that we have the proper firewall to handle it.
 
Back
Top