This thread is resolved. Here is a description of the problem and solution.
Problem: If you're experiencing issues connecting to the WPML API server and suspect that your server might be blocked or unable to establish a connection, it's important to verify several aspects to diagnose the connectivity problem.
Solution: First, confirm that the IP address '192.169.179.165' is the correct public IP for your server and that it's configured to host your WordPress site. Check if there are any firewalls or security services like Cloudflare or ModSecurity that could be blocking outbound connections.
Next, connect to your server via SSH or your hosting control panel's terminal and execute the following commands to gather more information about your server environment and network settings:
uname -a
dig +short api.wpml.org
nc -vz -w 10 api.wpml.org 443
curl -I https://api.wpml.org --max-time 10
getenforce
getsebool -a | grep httpd_can_network_connect
These commands will help determine the operating system details, DNS resolution for api.wpml.org, connectivity to api.wpml.org on port 443, HTTP response from api.wpml.org, SELinux status, and whether Apache or PHP-FPM can make outbound connections.
If the issue persists, check if the outbound firewall or network policy is blocking port 443 and consult with your hosting provider to enable SELinux and the 'httpd_can_network_connect' boolean. This will allow outbound connections necessary for WPML.
If these steps do not resolve the issue, it might be due to server-level configurations or restrictions beyond our control. In such cases, we recommend contacting your system administrator or hosting provider for a detailed investigation.
Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Background of the issue:
I have been trying to install the WPML plugin with no success. We were advised to whitelist the addresses provided and this has been done. We are unable to communicate with your API server and the problem seems to be that we are blocked from your server.
Symptoms:
We cannot reach your server at all.
Questions:
Please can you check if 192.169.179.165 is blocked as we cannot reach your server at all?
the curl function to test connectivity to your api server fails. Please can you check that you are not blocking our server
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
Hi,
I checked our firewall logs and found no indication that IP `192.169.179.165` is being blocked on our side. Also, when trying to open `hidden link` directly, I’m redirected to a default server page (`/cgi-sys/defaultwebpage.cgi`), which usually appears when no site is configured for that IP.
Could you please confirm the following so we can troubleshoot further:
1. Is `192.169.179.165` the correct public IP address of the server hosting your WordPress site? It seems like this IP might not be serving the live site directly, or might not have WordPress running on it.
2. What is the actual domain or URL of your website where WPML is installed? This will help us run proper connectivity tests and check server headers.
3. Are there any firewalls or security services (e.g., Cloudflare, ModSecurity, server-level firewalls) in place on your end that could be interfering with outbound connections?
Once we have these details, we can better identify where the connection is failing and how to resolve it.
Hello, I provided the domain in an earlier email it is hidden link with ip address 172.67.150.243
We are using cloudflare and have a firewall. All the sites you indicated that need to be whitelisted have been configured. We cannot connect to your server with
curl -I hidden link
I have checked this myself and have had another individual test it and we have the same result
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
I've reviewed the installer log, and it shows the following error:
wpml: Connection error: Unable to get data from service. Detailed error: cURL error 7: Failed to connect to api.wpml.org port 443: Connection timed out
hidden link
This indicates WPML is unable to connect to its API server. Our documentation suggests this is often caused by a firewall blocking the connection.
Please contact your hosting provider and ask them to whitelist the following domains:
hidden link – it returns a 404 even when WPML is not active, so it doesn’t appear to be related to WPML.
I also noticed that WPML is installed and active here: hidden link
However, the site key is not registered under: hidden link\&repository=wpml\&action=register
Could you please register your WPML key directly through that page?
Lastly, just to confirm—are you still experiencing an issue with WPML not being configured properly? From what I can see, it appears to be properly installed and usable at this point.
Let me know if you're still encountering issues or if there's something else you’d like me to look into.
I manually installed the plugins and registered a subdomain as follows:
hidden link
whenever I try to register the curl error is displayed. It indicates the api server is rejecting requests.
I have had 4 support professionals look at this and they all conclude that the api server is denying access. We cannot get past registration.
Also I did note that when setting up the French language, there was no choice for French Canadian. I would hope that we can select this once we get past the registration process
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
I asked our systems team to check this and I will get back to you. In the meantime, can you check why I get "There has been a critical error on this website." on hidden link?
The same is for hidden link.
As for the French Canadian, you can add it later but also during the wizard itself, in the first step.
Thanks, please can you advise if there is any progress on this.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.