[wp-trac] [WordPress Trac] #59842: WordPress 6.4 wp_remote_get (cURL error 28: Operation timed out)
WordPress Trac
noreply at wordpress.org
Wed Nov 8 19:07:50 UTC 2023
#59842: WordPress 6.4 wp_remote_get (cURL error 28: Operation timed out)
--------------------------+---------------------
Reporter: cenkdemir | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.4.1
Component: General | Version: 6.4
Severity: critical | Resolution:
Keywords: has-patch | Focuses:
--------------------------+---------------------
Description changed by sabernhardt:
Old description:
> Hello,
>
> Wordpress 6.4 update caused wp_remote_get to give "cURL error 28:
> Operation timed out" errors.
>
> I tested on two fresh wordpress installations.
>
> How to reproduce:
>
> functions.php:
> $request = wp_remote_get( 'https://example.com/test.json' );
> var_dump($request);
>
> Wordpress 6.4:
> object(WP_Error)#4571 (3) { ["errors"]=> array(1) {
> ["http_request_failed"]=> array(1) { [0]=> string(95) "cURL error 28:
> Operation timed out after 5001 milliseconds with 2050 out of 2766 bytes
> received" } } ["error_data"]=> array(0) { }
> ["additional_data":protected]=> array(0) { } }
>
> Wordpress 6.3.2:
> valid json data in 1 sec
>
> PHP 7.4
New description:
Hello,
WordPress 6.4 update caused `wp_remote_get` to give "cURL error 28:
Operation timed out" errors.
I tested on two fresh WordPress installations.
How to reproduce:
functions.php:
{{{
$request = wp_remote_get( 'https://example.com/test.json' );
var_dump($request);
}}}
WordPress 6.4:
{{{
object(WP_Error)#4571 (3) { ["errors"]=> array(1) {
["http_request_failed"]=> array(1) { [0]=> string(95) "cURL error 28:
Operation timed out after 5001 milliseconds with 2050 out of 2766 bytes
received" } } ["error_data"]=> array(0) { }
["additional_data":protected]=> array(0) { } }
}}}
WordPress 6.3.2:
valid json data in 1 sec
PHP 7.4
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59842#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list