This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to register your site using WPML and encountered a cURL error 28. Solution: First, ensure that SELinux is disabled, as its status will not impact the httpd_can_network_connect setting. Next, to diagnose the issue further, attempt to connect to a third-party host using custom code. You can use the
This test will help determine if the issue is specific to our domains or a broader problem affecting all domains.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your 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 problems persist, 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.
Again, need to get this resolved ASAP. I am concerned that our request is being denied based on IP or host name. Can you confirm this is not happening. Thank you
This has been escalated to our systems team and I'm asking them to review the IP and check for any blockages from our side. As soon as I hear back from them I will let you know what we have found.
Our systems team did a check on our end. From our Logs I saw a couple times where the user's site was able to connect to our API.
However, I did notice that the IP address that was being used in this case was 92.204.137.202. Not the mentioned 192.169.176.142 in the ticket. Which suggests that you may have switched servers for their site - do you know if that is the case?
The last ping we got from your site was on January 1, 2025, which means the issue would've started any time after that. Please confirm the following:
1. Have you switched hosting for the site?
2. Double check to ensure that httpd_can_network_connect is indeed enabled i.e. set to 1
3. Inspect SELinux logs for related denials: sudo ausearch -m AVC,USER_AVC -ts recent
4. Check the SELinux status:: sestatus
After January 1, 2025 no connections were seen in the logs. Our systems team confirms that the issue is on the server side, and not on ours, but we want to do everything we can to help identify the issue and get it resolved.
I am unable to enable SELinux and therefore httpd_can_network_connect. Do you have any suggestions how to enable this? I tried setsebool -P httpd_can_network_connect 1 then restarted Apache, still disabled.
/** @var array|WP_Error $response */
$response = wp_remote_get( '<em><u>hidden link</u></em>' );
if ( is_array( $response ) && ! is_wp_error( $response ) ) {
$headers = $response['headers']; // array of http header lines
$body = $response['body']; // use the content
var_dump($headers); //output the headers
var_dump($body); //output the body
}
In that way, we can rule out our domains being blocked or having the problem globally for all domains.
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.