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
wp_remote_get
function as shown below:
/** @var array|WP_Error $response */<br />$response = wp_remote_get( 'http://www.example.com/index.html' );<br /><br />if ( is_array( $response ) && ! is_wp_error( $response ) ) {<br /> $headers = $response['headers']; // array of http header lines<br /> $body = $response['body']; // use the content<br /> var_dump($headers); //output the headers<br /> var_dump($body); //output the body<br />}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.
This topic contains 0 reply, has 0 voices.
Last updated by 1 year, 2 months ago.
Assisted by: Lauren.
