SEO Analysis is failing

  • Hello. When I try to run a site-wide analysis, the progress bar goes to 100%, sits there for a bit, and then displays this error:

    API Error: cURL error 28: Operation timed out after 30002 milliseconds with 0 bytes received

    To be clear, this was working before. Also, the SEO score on each individual page is working just fine.

    I’ve made a number of changes since then so I don’t recall whether some changes are before or after my Rank Math install. I have WordFence set up (Premium version), so maybe that’s blocking you guys (but strange it doesn’t block the individual page SEO score, unless that’s calculated locally)? I doubt it’s my host since the score has worked previously.

    Anyway, help please! 🙂

    • This topic was modified 2 weeks, 1 day ago by MSCC.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

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

    Please check around 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)

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

    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.

    Fantastic! My problem is solved.


    The fixed the issue for me as well, thanks! Is there going to be an official fix for this or will I need to update this timeout each time there’s an update from Rank Math? I presume an update will wipe out my change to this file…?


    • This reply was modified 5 days ago by MSCC.


    Thank you for the follow up.

    The issue only happens on a few sites so it is unlikely it is going to be updated as a fix.

    This is the current fix and in case it is overwritten with an update and the issues recurs please let us know and we will assist you further.

    Hope this helps you. If you have any further questions please let us know.

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

You must be logged in to reply to this ticket.