• Resolved mnm372

    (@mnm372)


    I have a very weird problem with Image Optimization. I tried for days now, there are 250+ images on my sites, inlcuding the various sizes and each time I click on Image Optimization it only works for 10 images and then it’s stuck for days.
    I tried everything so far, and delete all optimization and try again but nothing works.
    At the moment it even says “You can request a maximum of 0 images at once.” when my account is supposed to have 10k/month and because of the error it keeps requesting 250+ image for optimization but never able to get the webp version.
    I tried to report on the plugin and this is the report number: NSFWSJPI

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

    (@qtwrk)

    please do me a screenshot on LiteSpeed Cache -> Dashboard

    Thread Starter mnm372

    (@mnm372)

    Here you go for the screenshots! appreciate it!

    Plugin Support qtwrk

    (@qtwrk)

    from screenshot , it looks like the daily limit was reached

    please wait for daily reset (UTC -4) , then try again.

    Thread Starter mnm372

    (@mnm372)

    Yes, the daily limit says it has been reached and it didn’t change for the last 3 days until today when it’s back to 1000. But the only reason it has been reached is because everytime the request was sent (250+ images) it would not pull the webp images. Only 10 image was pulled and served webp. And the I had to delete all data and try again.
    In my quic.cloud dashboard there was an “attention required” next to image optimization for service denied or something like that no matter what I tried.
    So I want to make sure what’s wrong that it is stuck at 10 before I press it again and hit the limit again which will delay it for another few days

    Plugin Support qtwrk

    (@qtwrk)

    is there any more specific message on that “attention require” ?

    and please also try “sync” button on your screenshot after daily reset

    Thread Starter mnm372

    (@mnm372)

    It would say image not processed but it won’t say which and why so I can’t know for sure. All the images have been generate with the same process on photoshop so I don’t know if one is corrupted and causing an error or it’s completely something different.

    As for the sync, I always synced it for the last 3 days but until today the daily limit was always 0. Today I didn’t have to sync it and it was refreshed but error appear above now when I click sync. I tried to disable wordfence and try again but same error

    Plugin Support qtwrk

    (@qtwrk)

    looks like our IPs are blocked from your side

    please try create a PHP file with code below

    <?php
    require( './wp-load.php' );
    
    $response = wp_remote_get( 'https://api.quic.cloud/' );
    
    echo '<pre>';
    var_dump($response);
    echo '</pre>';

    and open it in browser, see what it returns

    Thread Starter mnm372

    (@mnm372)

    Hmm, should I do it vs code or where should I do this exaclty? Or in the file manager in cpanel?

    Thread Starter mnm372

    (@mnm372)

    This is the return when I put it in the same folder as wpconfig and visit domain.com/phpfile

    object(WP_Error)#11940 (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) { } }

    Plugin Support qtwrk

    (@qtwrk)

    yes in cpanel file manager , go to the dir where is your wp-config.php , name it whatever, like test.php , then open it by browser as https://your_domain.com/test.php

    Thread Starter mnm372

    (@mnm372)

    object(WP_Error)#11940 (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) {
      }
    }
    Plugin Support qtwrk

    (@qtwrk)

    yeah , it looks like your server has blocked the communication to our servers , I’d suggest to check with your hosting provider with this test code

    Thread Starter mnm372

    (@mnm372)

    Noted, will contact the hosting support and will report back

    Thread Starter mnm372

    (@mnm372)

    Curl issues has been solved and firewall is disabled, dashboard has been synced, auto pull cron enabled and yet as you can see it’s stuck again, this time at 21 out of 257 optimized image is being pulled.

    I can’t click it manually and clicking on sending request resulted in an error. With the last screenshot you can see all are greyed out and it’s been stuck for already 2 hours.

    Note: The curl28 issue didn’t exist in the first place when it was not working so I’m not sure if it’s related at all. At least it did 11 more images than previously

    Plugin Support qtwrk

    (@qtwrk)

    please try this

    go to General -> click “redetect”

    go to Image Opm -> clean up all unfinished , then destroy all optimized data

    wait for 5 minutes , send it again , see how it goes

    if this still doesn’t work , please create a ticket by mail to support at litespeedtech.com with reference link to this topic , we will investigate further.

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘Image optimization problem’ is closed to new replies.