• Resolved Lucid Gen

    (@lucidgen)


    Hello support team,

    Litespeed Cache works perfectly before I use QUIC Cloud CND. But after using QUIC Cloud CDN, the sitemap crawler not works anymore. I got the error “No valid sitemap parsed for crawler”.

    I have created a PHP file with the content below (my sitemap link has been replaced):

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

    And I got the output:

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

    If I enable bypass CDN in QUIC Cloud CDN setting or disable CDN then the sitemap works again.

    Please help me resolve this problem, thank you all!

    • This topic was modified 1 year, 9 months ago by Lucid Gen.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support qtwrk

    (@qtwrk)

    please try with CDN enabled , with dns_get_record() and see which node you have hit with your wp_remote_get

    Thread Starter Lucid Gen

    (@lucidgen)

    Hello @qtwrk , I don’t know how to edit code in the PHP file. Can you help me edit it? (the first PHP code copied from another support topic).

    Thank you very much!

    Thread Starter Lucid Gen

    (@lucidgen)

    I have tried this PHP file:

    <?php
    $result = dns_get_record("https://xxx");
    print_r($result);
    ?>

    But I got an empty array:

    Array ( )

    Hope you can help, thank you so much!

    Plugin Support qtwrk

    (@qtwrk)

    please use dns_get_record("xxx");

    without https://

    Thread Starter Lucid Gen

    (@lucidgen)

    Hello @qtwrk

    With xxx is sitemap, I got output:

    Array ( [0] => Array ( [host] => my-domain.com/sitemap_index.xml.azdigihost.com [class] => IN [ttl] => 3789 [type] => HINFO [cpu] => RFC8482 [os] => ) )

    And with xxx is domain only, I got output:

    Array ( [0] => Array ( [host] => my-domain.com [class] => IN [ttl] => 3600 [type] => HINFO [cpu] => RFC8482 [os] => ) )

    Please help me, thank you for your support!

    Plugin Support usabe

    (@usabe)

    This looks like a quite site specific case. You’d better create a ticket in litespeed by email to [email protected] with further details. We may need to check into your site admin to investigate.

    • This reply was modified 1 year, 8 months ago by usabe.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Sitemap not work with QUIC Cloud CDN’ is closed to new replies.