• Resolved Sean Thompson

    (@seanthompson)


    Hi,

    I started optimizing images on three separate website and all have the same problem. Connection to quic.cloud is fine.

    Completes first optimization request, but won’t pull images. When I try another optimization request I get…

    You have too many notified images, please pull down notified images first.

    I try to pull images…

    Started async image optimization request.

    But no images pulled.

    The notice… Pull cron is running keeps popping up randomly.

    I left both crons running overnight with no results.

    I get this in error log…

    01/02/24 07:47:52.297 [24.229.185.28:61775 1 Tsa] ??? allowance_max 200 wet_limit 1
    01/02/24 07:47:52.297 [24.229.185.28:61775 1 Tsa] ??? preparing images to push
    01/02/24 07:47:52.298 [24.229.185.28:61775 1 Tsa] ??? ? Too many notified images (10 > 5)

    Thanks in advance, Sean

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support qtwrk

    (@qtwrk)

    please provide the report number

    you can get it in toolbox -> report -> click “send to LiteSpeed”

    Thread Starter Sean Thompson

    (@seanthompson)

    Report number:?OJSSWNJF

    Plugin Support qtwrk

    (@qtwrk)

    <?php
    
    require( './wp-load.php' );
    $args = array(
      'timeout'   => 100,
      'blocking'  => true,
      'sslverify' => false,
      // 'cookies'   => $_COOKIE,
    );
    
    $url = 'https://domain.com/wp-admin/admin-ajax.php?action=async_litespeed&nonce=123123123&litespeed_type=imgoptm_force';
    $result = wp_remote_post(esc_url_raw($url), $args);
    
    echo '<pre>';
    var_dump($result);
    echo '</pre>';

    please create a php file with above code , put it at same dir as your wp-config.php dir , replace domain.com to yours and open it by browser , see what it returns

    and also please do me a full screenshot on image optm page.

    • This reply was modified 1 year, 2 months ago by qtwrk.
    Thread Starter Sean Thompson

    (@seanthompson)

    Plugin Support qtwrk

    (@qtwrk)

    yeah , on that optm.php , you can see it gets a 403 error , that means something forbids the access to wp-admin/admin-ajax.php by script , this is needed for image optm

    please check your security setting or similar

    Thread Starter Sean Thompson

    (@seanthompson)

    Can’t find anything that would block admin-ajax.php.

    I did find this error in the log…

    [STDERR] PHP Fatal error:  Uncaught Error: Class "WpOrg\Requests\Autoload" not found in /home/alexandraandnico/domains/alexandraandnicolay.com/public_html/wp-content/plugins/litespeed-cache/src/img-optm.cls.php:1128\nStack trace:\n#0 /home/alexandraandnico/domains/alexandraandnicolay.com/public_html/wp-content/plugins/litespeed-cache/src/img-optm.cls.php(885): LiteSpeed\Img_Optm->pull()\n#1 /home/alexandraandnico/domains/alexandraandnicolay.com/public_html/wp-content/plugins/litespeed-cache/src/task.cls.php(96): LiteSpeed\Img_Optm::async_handler()\n#2 /home/alexandraandnico/domains/alexandraandnicolay.com/public_html/wp-includes/class-wp-hook.php(287): LiteSpeed\Task::async_litespeed_handler()\n#3 /home/alexandraandnico/domains/alexandraandnicolay.com/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()\n#4 /home/alexandraandnico/domains/alexandraandnicolay.com/public_html/wp-includes/plugin.php(458): WP_Hook->do_action()\n#5 /home/alexandraandnico/domains/alexandraandnicolay.com/public_html/wp-admin/admin-ajax.php(179): do_action()\n#6 {main}\n  thrown in /home/alexandraandnico/domains/alexandraandnicolay.com/public_html/wp-content/plugins/litespeed-cache/src/img-optm.cls.php on line 1128\n
    Plugin Support qtwrk

    (@qtwrk)

    this error will be fixed in next release, but you sitll need to figure out why admin-ajax.php was blocked , it is critical step for image optm

    Hello,
    I would like to intervene in this post. I have exactly the same problem, I ran the PHP script suggested above with the same result. I looked for what could influence admin-ajax.php but I can’t find anything. I’m looking for some clues because I don’t know where to look.

    Note: I’m running a multisite and the offending configuration isn’t the main site. I optimized the whole site without any problem the first time, with the CloudFlare CDN, but my site wasn’t serving Webp (?) correctly. So I deleted everything as Litespeed allows and started again, but this time with quic.cloud CDN. Since then I’ve had the same problem as Sean.

    Plugin Support qtwrk

    (@qtwrk)

    CF may block it , specially if you have high-security setting or enabled bot-fight mode

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Image Optimization Stuck’ is closed to new replies.