Control Web Panel
WebPanel => CentOS 9 Problems => Topic started by: phpprogrammer93 on March 12, 2025, 04:05:13 PM
-
Hello everyone,
on my new server I installed the Centos 9 Stream operating system (my provider Hetzner only allows Centos 9 or Alma Linux 9). After installing CWP for Centos 9 I proceed to do some usage tests by installing a test website with woocommerce. From here I notice that I cannot use payment systems because in woocommerce status I have the error wp_remote_post() failed .
On my previous server with Centos 7 I do not have this problem.
CWP support tells me that everything is fine and there is no incompatibility between installed PHP and to contact woocommerce support. Woocommerce tells me that it could be a server problem, giving me some commands to disable selinux, modsecurity (already disabled), and test curl.
Unfortunately the problem persists... I also contacted the owner of the server, Hetzner, and he assured me that there are no active firewalls on their part.
Can anyone help me? I don't know who to trust anymore.
A thousand thanks
-
Hi,
The function name wp_remote_post() allows me think the function sends some post request to some host. To investigate the problem you need to know where the function wp_remote_post() sends the request to (host) and then emulate the request using "curl" or similar utility, make attempt to connect to the host using "telnet", etc.
Anyway, the problem could be caused by bad DNS resolvers, firewall, error in your script, etc.
-
Before you get too far, CentOS Stream is a beta-quality OS, only good for local testing or to get a sense of where RHEL is going but not a good foundation for a server. If you can before you get too far with setup, switch now to AlmaLinux 9 -- it will be supported till the end of the decade!
https://endoflife.date/almalinux (https://endoflife.date/almalinux)