Image pull process failure
-
I’m getting this error randomly at the top of my login WP dashboard.
Image pull process failure: Failed to pull image [url] https://{imgurl}.png
When i load the url in the browser, its the same image. But what’s going on or how do I get rid of this message?
Thanks
-
please provide the report number
you can get it in toolbox -> report -> click “send to LiteSpeed”
Thanks for your reply.
It’s XNJUFMEX
please try this , when you see that message again , save the link
then create 2 php files , first one name it like
test1.php
with code<?php
require( './wp-load.php' );
$response = wp_remote_get( 'https://xxx' );
echo '<pre>';
var_dump($response);
echo '</pre>';update the part
https://xxx
to the image link you got from the messagethen create another one php file , name it like
test2.php
with code<?php
require('./wp-load.php');
use WpOrg\Requests\Autoload;
use WpOrg\Requests\Requests;
use WpOrg\Requests\Response;
if (class_exists('\WpOrg\Requests\Requests') && class_exists('\WpOrg\Requests\Autoload') && version_compare(PHP_VERSION, '5.6.0', '>=')) {
Autoload::register();
$complete_action = function($response, $id) {
echo '<pre>';
var_dump($response);
echo '</pre>';
};
$requests = array(
array('url' => 'https://xxx', 'type' => 'GET',)
);
$options = array(
'timeout' => 60,
'connect_timeout' => 60,
'complete' => $complete_action,
);
$responses = Requests::request_multiple($requests, $options);
} else {
echo 'No class';
}update the
https://xxx
part as wellput them at same directory as your wp-config.php
then open both files as
https://your_domain.com/test1.php
andhttps://your_domain.com/test2.php
, and share the responsetest1.php
object(WP_Error)#2244 (3) {
[“errors”]=>
array(1) {
[“http_request_failed”]=>
array(1) {
[0]=>
string(59) “cURL error 28: Connection timed out after 5001 milliseconds”
}
}
[“error_data”]=>
array(0) {
}
[“additional_data”:protected]=>
array(0) {
}
}test2.php
object(WpOrg\Requests\Exception\Transport\Curl)#2234 (10) {
["code":protected]=>
int(28)
["type":protected]=>
string(8) "cURLEasy"
["reason":protected]=>
string(45) "Connection timed out after 60000 milliseconds"
["data":protected]=>
resource(107) of type (Unknown)
["message":protected]=>
string(48) "28 Connection timed out after 60000 milliseconds"
["string":"Exception":private]=>
string(0) ""
["file":protected]=>
string(57) "/var/www/html/wp-includes/Requests/src/Transport/Curl.php"
["line":protected]=>
int(294)
["trace":"Exception":private]=>
array(2) {
[0]=>
array(6) {
["file"]=>
string(51) "/var/www/html/wp-includes/Requests/src/Requests.php"
["line"]=>
int(585)
["function"]=>
string(16) "request_multiple"
["class"]=>
string(29) "WpOrg\Requests\Transport\Curl"
["type"]=>
string(2) "->"
["args"]=>
array(2) {
[0]=>
array(1) {
[0]=>
array(5) {
["url"]=>
string(76) "https://saw35-hyb-worker.quic.cloud/dl/d_5388145/67b1ea16902dc2.91318014.png"
["type"]=>
string(3) "GET"
["headers"]=>
array(0) {
}
["data"]=>
array(0) {
}
["options"]=>
array(21) {
["timeout"]=>
int(60)
["connect_timeout"]=>
int(60)
["useragent"]=>
string(19) "php-requests/2.0.11"
["protocol_version"]=>
float(1.1)
["redirected"]=>
int(0)
["redirects"]=>
int(10)
["follow_redirects"]=>
bool(true)
["blocking"]=>
bool(true)
["type"]=>
string(3) "GET"
["filename"]=>
bool(false)
["auth"]=>
bool(false)
["proxy"]=>
bool(false)
["cookies"]=>
object(WpOrg\Requests\Cookie\Jar)#2229 (1) {
["cookies":protected]=>
array(0) {
}
}
["max_bytes"]=>
bool(false)
["idn"]=>
bool(true)
["hooks"]=>
object(WpOrg\Requests\Hooks)#2240 (1) {
["hooks":protected]=>
array(4) {
["requests.before_request"]=>
array(1) {
[0]=>
array(1) {
[0]=>
array(2) {
[0]=>
object(WpOrg\Requests\Cookie\Jar)#2229 (1) {
["cookies":protected]=>
array(0) {
}
}
[1]=>
string(14) "before_request"
}
}
}
["requests.before_redirect_check"]=>
array(1) {
[0]=>
array(1) {
[0]=>
array(2) {
[0]=>
object(WpOrg\Requests\Cookie\Jar)#2229 (1) {
["cookies":protected]=>
array(0) {
}
}
[1]=>
string(21) "before_redirect_check"
}
}
}
["transport.internal.parse_response"]=>
array(1) {
[0]=>
array(1) {
[0]=>
array(2) {
[0]=>
string(23) "WpOrg\Requests\Requests"
[1]=>
string(14) "parse_multiple"
}
}
}
["multiple.request.complete"]=>
array(1) {
[0]=>
array(1) {
[0]=>
object(Closure)#2238 (1) {
["parameter"]=>
array(2) {
["$response"]=>
string(10) ""
["$id"]=>
string(10) ""
}
}
}
}
}
}
["transport"]=>
NULL
["verify"]=>
string(52) "/var/www/html/wp-includes/certificates/ca-bundle.crt"
["verifyname"]=>
bool(true)
["complete"]=>
object(Closure)#2238 (1) {
["parameter"]=>
array(2) {
["$response"]=>
string(10) ""
["$id"]=>
string(10) ""
}
}
["data_format"]=>
string(5) "query"
}
}
}
[1]=>
array(21) {
["timeout"]=>
int(60)
["connect_timeout"]=>
int(60)
["useragent"]=>
string(19) "php-requests/2.0.11"
["protocol_version"]=>
float(1.1)
["redirected"]=>
int(0)
["redirects"]=>
int(10)
["follow_redirects"]=>
bool(true)
["blocking"]=>
bool(true)
["type"]=>
string(3) "GET"
["filename"]=>
bool(false)
["auth"]=>
bool(false)
["proxy"]=>
bool(false)
["cookies"]=>
object(WpOrg\Requests\Cookie\Jar)#2229 (1) {
["cookies":protected]=>
array(0) {
}
}
["max_bytes"]=>
bool(false)
["idn"]=>
bool(true)
["hooks"]=>
object(WpOrg\Requests\Hooks)#2240 (1) {
["hooks":protected]=>
array(4) {
["requests.before_request"]=>
array(1) {
[0]=>
array(1) {
[0]=>
array(2) {
[0]=>
object(WpOrg\Requests\Cookie\Jar)#2229 (1) {
["cookies":protected]=>
array(0) {
}
}
[1]=>
string(14) "before_request"
}
}
}
["requests.before_redirect_check"]=>
array(1) {
[0]=>
array(1) {
[0]=>
array(2) {
[0]=>
object(WpOrg\Requests\Cookie\Jar)#2229 (1) {
["cookies":protected]=>
array(0) {
}
}
[1]=>
string(21) "before_redirect_check"
}
}
}
["transport.internal.parse_response"]=>
array(1) {
[0]=>
array(1) {
[0]=>
array(2) {
[0]=>
string(23) "WpOrg\Requests\Requests"
[1]=>
string(14) "parse_multiple"
}
}
}
["multiple.request.complete"]=>
array(1) {
[0]=>
array(1) {
[0]=>
object(Closure)#2238 (1) {
["parameter"]=>
array(2) {
["$response"]=>
string(10) ""
["$id"]=>
string(10) ""
}
}
}
}
}
}
["transport"]=>
NULL
["verify"]=>
string(52) "/var/www/html/wp-includes/certificates/ca-bundle.crt"
["verifyname"]=>
bool(true)
["complete"]=>
object(Closure)#2238 (1) {
["parameter"]=>
array(2) {
["$response"]=>
string(10) ""
["$id"]=>
string(10) ""
}
}
["data_format"]=>
string(5) "query"
}
}
}
[1]=>
array(6) {
["file"]=>
string(23) "/var/www/html/test2.php"
["line"]=>
int(27)
["function"]=>
string(16) "request_multiple"
["class"]=>
string(23) "WpOrg\Requests\Requests"
["type"]=>
string(2) "::"
["args"]=>
array(2) {
[0]=>
&array(1) {
[0]=>
array(5) {
["url"]=>
string(76) "https://saw35-hyb-worker.quic.cloud/dl/d_5388145/67b1ea16902dc2.91318014.png"
["type"]=>
string(3) "GET"
["headers"]=>
array(0) {
}
["data"]=>
array(0) {
}
["options"]=>
array(21) {
["timeout"]=>
int(60)
["connect_timeout"]=>
int(60)
["useragent"]=>
string(19) "php-requests/2.0.11"
["protocol_version"]=>
float(1.1)
["redirected"]=>
int(0)
["redirects"]=>
int(10)
["follow_redirects"]=>
bool(true)
["blocking"]=>
bool(true)
["type"]=>
string(3) "GET"
["filename"]=>
bool(false)
["auth"]=>
bool(false)
["proxy"]=>
bool(false)
["cookies"]=>
object(WpOrg\Requests\Cookie\Jar)#2229 (1) {
["cookies":protected]=>
array(0) {
}
}
["max_bytes"]=>
bool(false)
["idn"]=>
bool(true)
["hooks"]=>
object(WpOrg\Requests\Hooks)#2240 (1) {
["hooks":protected]=>
array(4) {
["requests.before_request"]=>
array(1) {
[0]=>
array(1) {
[0]=>
array(2) {
[0]=>
object(WpOrg\Requests\Cookie\Jar)#2229 (1) {
["cookies":protected]=>
array(0) {
}
}
[1]=>
string(14) "before_request"
}
}
}
["requests.before_redirect_check"]=>
array(1) {
[0]=>
array(1) {
[0]=>
array(2) {
[0]=>
object(WpOrg\Requests\Cookie\Jar)#2229 (1) {
["cookies":protected]=>
array(0) {
}
}
[1]=>
string(21) "before_redirect_check"
}
}
}
["transport.internal.parse_response"]=>
array(1) {
[0]=>
array(1) {
[0]=>
array(2) {
[0]=>
string(23) "WpOrg\Requests\Requests"
[1]=>
string(14) "parse_multiple"
}
}
}
["multiple.request.complete"]=>
array(1) {
[0]=>
array(1) {
[0]=>
object(Closure)#2238 (1) {
["parameter"]=>
array(2) {
["$response"]=>
string(10) ""
["$id"]=>
string(10) ""
}
}
}
}
}
}
["transport"]=>
NULL
["verify"]=>
string(52) "/var/www/html/wp-includes/certificates/ca-bundle.crt"
["verifyname"]=>
bool(true)
["complete"]=>
object(Closure)#2238 (1) {
["parameter"]=>
array(2) {
["$response"]=>
string(10) ""
["$id"]=>
string(10) ""
}
}
["data_format"]=>
string(5) "query"
}
}
}
[1]=>
array(20) {
["timeout"]=>
int(60)
["connect_timeout"]=>
int(60)
["useragent"]=>
string(19) "php-requests/2.0.11"
["protocol_version"]=>
float(1.1)
["redirected"]=>
int(0)
["redirects"]=>
int(10)
["follow_redirects"]=>
bool(true)
["blocking"]=>
bool(true)
["type"]=>
string(3) "GET"
["filename"]=>
bool(false)
["auth"]=>
bool(false)
["proxy"]=>
bool(false)
["cookies"]=>
bool(false)
["max_bytes"]=>
bool(false)
["idn"]=>
bool(true)
["hooks"]=>
NULL
["transport"]=>
NULL
["verify"]=>
string(52) "/var/www/html/wp-includes/certificates/ca-bundle.crt"
["verifyname"]=>
bool(true)
["complete"]=>
object(Closure)#2238 (1) {
["parameter"]=>
array(2) {
["$response"]=>
string(10) ""
["$id"]=>
string(10) ""
}
}
}
}
}
}
["previous":"Exception":private]=>
NULL
}I’ll also ass that im gettign 3 messages in the dashboard today (the 2 filenames are the same image jsut different versions)
https://picallow.com/screenshot-118/?usp_success=2&post_id=457107&form_id=27
as the error message shows , connection timeout , this indicates your server can not connect to our servers
please check with your provider and make sure our IPs are not blocked https://quic.cloud/ips
I have messaged the host technical team. They say
the service doesn’t have a WAF, so there’s nothing server side that could block any of those IP’s.
I’ve reviewed your?
.htaccess
?file and I can’t see any entries there that could contribute to this either.I’m assuming this is something to do with image optimization? Is there anything I can turn off to stop this message. The use optimized files option to display webp never worked anyway…
the code I provided was just use WordPress built-in function to do a request to our server, and it hits time out
no , I don’t think htaccess has anything to do with it , WAF might , but since they no , then no , but server side firewall could play a role as well
might ask them to try run
curl -I -XGET https://{imgurl}.png
as well , directly on server terminal when you have that issue to check connectivity
- You must be logged in to reply to this topic.