• Resolved Hüseyin K?rbalta

    (@huseyinkorbalta)


    Website: https://wptreni.com

    Report Number: QQJUBJDX

    Even though all settings are correct, image optimization is not working.

    Domain key available. Dedicated IP Address attached., WP-Cron is working, REST-Api is working. I use CloudFlare for DNS management and I added the entire Quic.Cloud IP list (https://quic.cloud/ips) to the Firewall rules as allow / whitelist.

    The page I need help with: [log in to see the link]

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

    (@qtwrk)

    please do me a full screenshot on your image optm summary page

    Thread Starter Hüseyin K?rbalta

    (@huseyinkorbalta)

    WordPress LS Cache Image Optimization Page ScreenShots:

    Quic.Cloud Dashboard Image Optimization Page Screenshot:

    Image Optimization Settings Pages:

    Plugin Support qtwrk

    (@qtwrk)

    what happens if you click that pull button ?

    Thread Starter Hüseyin K?rbalta

    (@huseyinkorbalta)

    When I press that button, it says “Asynchronous image optimization request started” but nothing happens.

    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 file with this code , put it at same dir as your wp-config.php file , replace domain.com to your actual domain , then open by browser, see what it returns.

    Thread Starter Hüseyin K?rbalta

    (@huseyinkorbalta)

    It gives 401 unauthorized error. Link: https://wptreni.com/lscache.php

    Plugin Support qtwrk

    (@qtwrk)

    yes, that is your problem , somehow somewhere, something , somewhat blocked this request which also renders image optm process inoperable

    most likely some of your security plugin , or probably some directives in /wp-admin/.htaccess that blocks it , please check on that.

    Thread Starter Hüseyin K?rbalta

    (@huseyinkorbalta)

    I reinstalled WordPress from scratch and installed it with a new database. But there is still the same error

    Plugin Support qtwrk

    (@qtwrk)

    you may seek assistance from your hosting provider , the server should log the reason for 401

    on a normal site it shouldn’t give 401 error.

    below is the response how it should be , from my test site

    Thread Starter Hüseyin K?rbalta

    (@huseyinkorbalta)

    I talked to my hosting provider, they disabled the modsecurity plugin via cPanel, the 401 code returned as 200 and the cron tasks run automatically.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Image Optimization Issue, webP Not Converting, Image Pull Request Issue’ is closed to new replies.