 Paola Mendiburu
WPML Supporter since 11/2020
Languages:
English (English )
Spanish (Español )
Italian (Italiano )
Timezone:
Europe/Madrid (GMT+02:00)
|
To continue the diagnosis on a Linux environment, could you please connect via SSH (or use the cPanel/Plesk Terminal) and run the following commands? Then copy and paste all the output you see here:
uname -a
dig +short api.wpml.org
nc -vz -w 10 api.wpml.org 443
curl -I <em><u>hidden link</u></em> --max-time 10
getenforce
getsebool -a | grep httpd_can_network_connect
What each command does:
-
uname -a
Confirms the operating system and kernel version.
-
dig +short api.wpml.org
Checks if your server is correctly resolving the DNS for api.wpml.org.
-
nc -vz -w 10 api.wpml.org 443
Tests whether port 443 on api.wpml.org is reachable from your server (TCP connectivity check).
-
curl -I hidden link --max-time 10
Attempts an HTTP HEAD request to api.wpml.org with a 10-second timeout to see if the HTTPS layer responds.
-
getenforce
Shows the current SELinux status (enforcing, permissive, or disabled).
-
getsebool -a | grep httpd_can_network_connect
Reveals whether the httpd_can_network_connect SELinux boolean is enabled or not. This tells us if Apache (or PHP-FPM) can make outbound connections.
Once you have all the results, please paste them here so we can examine each point. This will help us determine whether SELinux or a firewall is blocking outbound connections to api.wpml.org.
Thanks, and I look forward to your output.
|
 larryP-3
|
Please see the output generated by the command line input:
[root@165 ~]# uname -a
Linux 165.179.169.192.host.secureserver.net 4.18.0-553.51.1.el8_10.x86_64 #1 SMP Wed Apr 30 04:00:07 EDT 2025 x86_64 x86_64 x86_64 GNU/Linux
[root@165 ~]# dig +short api.wpml.org
52.72.106.172
3.226.66.255
44.215.88.254
3.222.75.123
[root@165 ~]# nc -vz -w 10 api.wpml.org 443
nc: connect to api.wpml.org (3.222.75.123) port 443 (tcp) failed: Connection timed out
nc: connect to api.wpml.org (52.72.106.172) port 443 (tcp) failed: Connection timed out
nc: connect to api.wpml.org (3.226.66.255) port 443 (tcp) failed: Connection timed out
^C
[root@165 ~]# getenforce
Disabled
[root@165 ~]# getsebool -a | grep httpd_can_network_connect
getsebool: SELinux is disabled
[root@165 ~]#
|
 Paola Mendiburu
WPML Supporter since 11/2020
Languages:
English (English )
Spanish (Español )
Italian (Italiano )
Timezone:
Europe/Madrid (GMT+02:00)
|
I have forwarded to the second tier.
I will let you know when I have some news.
|
 Paola Mendiburu
WPML Supporter since 11/2020
Languages:
English (English )
Spanish (Español )
Italian (Italiano )
Timezone:
Europe/Madrid (GMT+02:00)
|
Hi there!
This is the answer from the systems team:
Please try 2 things.
1. Check if Outbound firewall/network policy blocking port 443. As it seems the outbound connections are failing.
2. They can get assistance from their hosting provider to get the httpd_can_network_connect enabled and try again.
In order for them to enable httpd_can_network_connect they will need to enable the SELinux. So let them get their host to enable SELinux and httpd_can_network_connect.
|
 larryP-3
|
Thanks I have verified that port 443 is working and it does connect to other sites.
I will enable SElinux, test and get back to you today
|
 Paola Mendiburu
WPML Supporter since 11/2020
Languages:
English (English )
Spanish (Español )
Italian (Italiano )
Timezone:
Europe/Madrid (GMT+02:00)
|
Ok perfect!
Please let me know if everything works correctly.
|
 larryP-3
|
Hello,
I have enabled SElinux and httpd_can_network_connect. I have made sure port 443 is open for outbound connections and tested to other servers with success. When trying to access api.wpml.org it fails still. Here is the new output
[root@165 ~]# nc -vz -w 10 api.wpml.org 443
nc: connect to api.wpml.org (3.222.75.123) port 443 (tcp) failed: Connection timed out
nc: connect to api.wpml.org (52.44.186.53) port 443 (tcp) failed: Connection timed out
nc: connect to api.wpml.org (3.226.66.255) port 443 (tcp) failed: Connection timed out
^C
[root@165 ~]# getenforce
Enforcing
[root@165 ~]# getsebool -a | grep httpd_can_network_connect
httpd_can_network_connect --> off
httpd_can_network_connect_cobbler --> off
httpd_can_network_connect_db --> off
[root@165 ~]# setsebool -P httpd_can_network_connect 1
[root@165 ~]# getsebool -a | grep httpd_can_network_connect
httpd_can_network_connect --> on
httpd_can_network_connect_cobbler --> off
httpd_can_network_connect_db --> off
|
 Paola Mendiburu
WPML Supporter since 11/2020
Languages:
English (English )
Spanish (Español )
Italian (Italiano )
Timezone:
Europe/Madrid (GMT+02:00)
|
I have forwarded the information with systems team.
As soon as I have news, I will let you know.
|
 Amit
Supporter
|
Hi,
Amit here, the WPML Support Manager.
At this point, we’ve carefully reviewed everything we can from our side, and we’re not seeing any requests from your site reaching our systems. This strongly suggests that the issue is likely occurring at the server level, beyond the scope of what we can access or control.
To avoid unnecessary guesswork and ensure the issue is addressed accurately and efficiently, we kindly recommend that your system administrator or hosting company take a closer look. They’ll be in the best position to investigate server configurations, firewall rules, or any network-level restrictions that may be interfering with the connection.
Please feel free to share any findings with us—we’re happy to collaborate further once we have more insight from the server-side investigation.
Thank you again for your understanding. Please let us know if you need any technical details from us to assist your hosting team.
|
 Paola Mendiburu
WPML Supporter since 11/2020
Languages:
English (English )
Spanish (Español )
Italian (Italiano )
Timezone:
Europe/Madrid (GMT+02:00)
|
Hi there!
I just wanted to follow up regarding the issue we discussed.
Were you able to check with your system administrator or hosting company as suggested?
If you already have any updates or findings from their side, please share them with us so we can continue assisting if needed. Otherwise, if everything is resolved, we’ll be happy to close this ticket.
Thank you very much for your cooperation, and I look forward to your reply.
|