Image pull process failure: Failed to pull image
-
Hello,
I keep getting this message:
Image pull process failure: Failed to pull image [url] https://saw35-hyb-worker.quic.cloud/dl/d_1391950/677d4ab050fc40.48099310.jpgReport number: YNBXJDFI
What I’ve tried so far based on the previous threads:
- Click “redetect” > doesn’t work, still getting the error message (current closest Cloud server is https://node117.quic.cloud)
- Edit img-optm.cls.php > doesn’t work, it just removes the error message but the images don’t get pulled (by cron or manually)
Thanks in advance for the help!
-
This topic was modified 1 year, 5 months ago by
nomad1108.
-
<?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) {
var_dump($response);
};
$requests = array(
array('url' => 'https://saw35-hyb-worker.quic.cloud/dl/d_1391950/677d4ab050fc40.48099310.jpg', 'type' => 'GET',)
);
$options = array(
'timeout' => 60,
'connect_timeout' => 60,
'complete' => $complete_action,
);
$responses = Requests::request_multiple($requests, $options);
} else {
echo 'No class';
}please create a php file , name it like
test.phpwith above code , put it at same dir as your wp-config.phpopen it in browser, see what it returns
Here is what it returns:
object(WpOrg\Requests\Exception\Transport\Curl)#5051 (10) { ["message":protected]=> string(48) "28 Connection timed out after 60000 milliseconds" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(28) ["file":protected]=> string(69) "/home/iwhejii/flora.paris/wp-includes/Requests/src/Transport/Curl.php" ["line":protected]=> int(294) ["trace":"Exception":private]=> array(2) { [0]=> array(6) { ["file"]=> string(63) "/home/iwhejii/flora.paris/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_1391950/677d4ab050fc40.48099310.jpg" ["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)#5052 (1) { ["cookies":protected]=> array(0) { } } ["max_bytes"]=> bool(false) ["idn"]=> bool(true) ["hooks"]=> object(WpOrg\Requests\Hooks)#5053 (1) { ["hooks":protected]=> array(4) { ["requests.before_request"]=> array(1) { [0]=> array(1) { [0]=> array(2) { [0]=> object(WpOrg\Requests\Cookie\Jar)#5052 (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)#5052 (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)#5050 (1) { ["parameter"]=> array(2) { ["$response"]=> string(10) "" ["$id"]=> string(10) "" } } } } } } ["transport"]=> NULL ["verify"]=> string(64) "/home/iwhejii/flora.paris/wp-includes/certificates/ca-bundle.crt" ["verifyname"]=> bool(true) ["complete"]=> object(Closure)#5050 (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)#5052 (1) { ["cookies":protected]=> array(0) { } } ["max_bytes"]=> bool(false) ["idn"]=> bool(true) ["hooks"]=> object(WpOrg\Requests\Hooks)#5053 (1) { ["hooks":protected]=> array(4) { ["requests.before_request"]=> array(1) { [0]=> array(1) { [0]=> array(2) { [0]=> object(WpOrg\Requests\Cookie\Jar)#5052 (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)#5052 (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)#5050 (1) { ["parameter"]=> array(2) { ["$response"]=> string(10) "" ["$id"]=> string(10) "" } } } } } } ["transport"]=> NULL ["verify"]=> string(64) "/home/iwhejii/flora.paris/wp-includes/certificates/ca-bundle.crt" ["verifyname"]=> bool(true) ["complete"]=> object(Closure)#5050 (1) { ["parameter"]=> array(2) { ["$response"]=> string(10) "" ["$id"]=> string(10) "" } } ["data_format"]=> string(5) "query" } } } [1]=> array(6) { ["file"]=> string(44) "/home/iwhejii/flora.paris/litespeed-test.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_1391950/677d4ab050fc40.48099310.jpg" ["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)#5052 (1) { ["cookies":protected]=> array(0) { } } ["max_bytes"]=> bool(false) ["idn"]=> bool(true) ["hooks"]=> object(WpOrg\Requests\Hooks)#5053 (1) { ["hooks":protected]=> array(4) { ["requests.before_request"]=> array(1) { [0]=> array(1) { [0]=> array(2) { [0]=> object(WpOrg\Requests\Cookie\Jar)#5052 (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)#5052 (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)#5050 (1) { ["parameter"]=> array(2) { ["$response"]=> string(10) "" ["$id"]=> string(10) "" } } } } } } ["transport"]=> NULL ["verify"]=> string(64) "/home/iwhejii/flora.paris/wp-includes/certificates/ca-bundle.crt" ["verifyname"]=> bool(true) ["complete"]=> object(Closure)#5050 (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(64) "/home/iwhejii/flora.paris/wp-includes/certificates/ca-bundle.crt" ["verifyname"]=> bool(true) ["complete"]=> object(Closure)#5050 (1) { ["parameter"]=> array(2) { ["$response"]=> string(10) "" ["$id"]=> string(10) "" } } } } } } ["previous":"Exception":private]=> NULL ["type":protected]=> string(8) "cURLEasy" ["data":protected]=> object(CurlHandle)#5066 (0) { } ["reason":protected]=> string(45) "Connection timed out after 60000 milliseconds" }Try this:
add code in functions.php of your current theme by following these steps:
– clear current Image optimization request https://docs.litespeedtech.com/lscache/lscwp/imageopt/#clean-up-unfinished-data
– add code to functions.php:!class_exists('\LiteSpeed\Cloud') || \LiteSpeed\Cloud::save_summary(['server.img_optm' => 'https://node117.quic.cloud']);//node119.quic.cloud
– do a new image optmiziation requestI’ve just done that but get the error:
Image pull process failure: Failed to pull image [url] https://bud55-hyb-worker.quic.cloud/dl/d_1391950/677e6dd7a81849.22168584.jpgI also tried to replace “node117” by “node119” in the previous code you asked me to add to functions.php but got the error:
Failed to pull image [url] https://sjc409-hyb-worker.quic.cloud/dl/d_1391950/677e6fa5ef73a2.31934039.jpg.webpAnd the test.php file returns:
object(WpOrg\Requests\Exception\Transport\Curl)#4894 (10) { ["message":protected]=> string(22) "28 Connection time-out" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(28) ["file":protected]=> string(69) "/home/iwhejii/flora.paris/wp-includes/Requests/src/Transport/Curl.php" ["line":protected]=> int(294) ["trace":"Exception":private]=> array(2) { [0]=> array(6) { ["file"]=> string(63) "/home/iwhejii/flora.paris/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_1391950/677d4ab050fc40.48099310.jpg" ["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)#4892 (1) { ["cookies":protected]=> array(0) { } } ["max_bytes"]=> bool(false) ["idn"]=> bool(true) ["hooks"]=> object(WpOrg\Requests\Hooks)#4887 (1) { ["hooks":protected]=> array(4) { ["requests.before_request"]=> array(1) { [0]=> array(1) { [0]=> array(2) { [0]=> object(WpOrg\Requests\Cookie\Jar)#4892 (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)#4892 (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)#4884 (1) { ["parameter"]=> array(2) { ["$response"]=> string(10) "" ["$id"]=> string(10) "" } } } } } } ["transport"]=> NULL ["verify"]=> string(64) "/home/iwhejii/flora.paris/wp-includes/certificates/ca-bundle.crt" ["verifyname"]=> bool(true) ["complete"]=> object(Closure)#4884 (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)#4892 (1) { ["cookies":protected]=> array(0) { } } ["max_bytes"]=> bool(false) ["idn"]=> bool(true) ["hooks"]=> object(WpOrg\Requests\Hooks)#4887 (1) { ["hooks":protected]=> array(4) { ["requests.before_request"]=> array(1) { [0]=> array(1) { [0]=> array(2) { [0]=> object(WpOrg\Requests\Cookie\Jar)#4892 (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)#4892 (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)#4884 (1) { ["parameter"]=> array(2) { ["$response"]=> string(10) "" ["$id"]=> string(10) "" } } } } } } ["transport"]=> NULL ["verify"]=> string(64) "/home/iwhejii/flora.paris/wp-includes/certificates/ca-bundle.crt" ["verifyname"]=> bool(true) ["complete"]=> object(Closure)#4884 (1) { ["parameter"]=> array(2) { ["$response"]=> string(10) "" ["$id"]=> string(10) "" } } ["data_format"]=> string(5) "query" } } } [1]=> array(6) { ["file"]=> string(44) "/home/iwhejii/flora.paris/litespeed-test.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_1391950/677d4ab050fc40.48099310.jpg" ["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)#4892 (1) { ["cookies":protected]=> array(0) { } } ["max_bytes"]=> bool(false) ["idn"]=> bool(true) ["hooks"]=> object(WpOrg\Requests\Hooks)#4887 (1) { ["hooks":protected]=> array(4) { ["requests.before_request"]=> array(1) { [0]=> array(1) { [0]=> array(2) { [0]=> object(WpOrg\Requests\Cookie\Jar)#4892 (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)#4892 (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)#4884 (1) { ["parameter"]=> array(2) { ["$response"]=> string(10) "" ["$id"]=> string(10) "" } } } } } } ["transport"]=> NULL ["verify"]=> string(64) "/home/iwhejii/flora.paris/wp-includes/certificates/ca-bundle.crt" ["verifyname"]=> bool(true) ["complete"]=> object(Closure)#4884 (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(64) "/home/iwhejii/flora.paris/wp-includes/certificates/ca-bundle.crt" ["verifyname"]=> bool(true) ["complete"]=> object(Closure)#4884 (1) { ["parameter"]=> array(2) { ["$response"]=> string(10) "" ["$id"]=> string(10) "" } } } } } } ["previous":"Exception":private]=> NULL ["type":protected]=> string(8) "cURLEasy" ["data":protected]=> object(CurlHandle)#4886 (0) { } ["reason":protected]=> string(19) "Connection time-out" }-
This reply was modified 1 year, 5 months ago by
nomad1108.
From your server is there a firewall active? Do you have Cpanel => Immunify active?
Is your hosting blocking some of QC ips found here: https://www.quic.cloud/ips?ln
If this info will not help, please create a ticket by sending an email to:support at litespeedtech.comwith link to this topic and request to be assigned to a developer. Thank you!There is a firewall but it never caused any issue before, I’ve been using image optimization without problem for years now. I tried again with the firewall disabled but it didn’t change a thing and according to my hosting provider they don’t block QC IPs.
So I’ve sent a mail to support at litespeedtech.com… -
This reply was modified 1 year, 5 months ago by
The topic ‘Image pull process failure: Failed to pull image’ is closed to new replies.