API Error: cURL error 28

#87482
  • Resolved Jack Jones
    Rank Math free

    Hey,

    I thought I’d managed to fix this issue, but it seems to have come back.

    When I go to analyse my site the percentage bar gets to 100%, stalls for a little while (30 seconds does sound about right) before bringing up “API Error: cURL error 28: Operation timed out after 30003 milliseconds with 0 bytes received” error.

    I have attached a temporary admin login link (expires in 16h) below, as some of my google-fu results said you might want that.

    Cheers,
    Jack.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Alberto
    Rank Math business

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    The login link already expired, could you add one with at least 3 days of expiration?

    Looking forward to helping you. Thank you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    I changed line 374 in Plugins > Plugin editor > Rank math SEO , in class-seo-analyzer.php ( seo-by-rank-math/includes/modules/seo-analysis/class-seo-analyzer.php)

    From:
    wp_remote_get( $api_url, [ 'timeout' => 30 ] );

    To:
    wp_remote_get( $api_url, [ 'timeout' => 60 ] );

    This should fix your issue.

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    I’m also having this problem. So I changed the file myself. It seemed to fix the problem. I’m guessing this change will be overridden, though, when the plugin is auto-updated. Is that correct?

    Hello,

    The code should not be overwritten but if it is, you can always make the changes again. You can also choose to use our external analyzer for your site analysis: https://rankmath.com/tools/seo-analyzer/

    Hope this helps

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

You must be logged in to reply to this ticket.