• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

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