cURL error 28: Connection timed out on WP 5.6.1
-
Hi!
A lot of users update WP from 5.6 to 5.6.1 and the plugin i developed “Contabilium para WooCommerce” is get this error.
Detail: <pre>WP_Error Object ( [errors] => Array ( [http_request_failed] => Array ( [0] => cURL error 28: Connection timed out after 5000 milliseconds ) ) [error_data] => Array ( ) [additional_data:protected] => Array ( ) ) </pre>
The lines of the error is this one:
$response = wp_remote_post( 'https://rest.contabilium.com/token', array( 'headers' => array( 'Content-Type' => 'application/x-www-form-urlencoded', 'Accept' => 'application/json' ), 'body' => array( 'grant_type' => 'client_credentials', 'client_id' => $this->client_id, 'client_secret' => $this->client_secret ) ) );
I didt’n change anything and the Rest API is working fine.
Can you help me?Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘cURL error 28: Connection timed out on WP 5.6.1’ is closed to new replies.