“Operation timed out error” while running SEO Analysis

#28229
  • Resolved Duane Mccune
    Rank Math free

    I see the following error when running SEO Analysis

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Todd
    Rank Math free

    Hello Duane,

    Thanks a lot for your query and we are so sorry about the trouble this must have caused.

    Please get in touch with your web host and ask them to enable cURL on your server and if it is enabled already – please ask them to whitelist RankMath.com so all the tests are run properly

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Todd,

    Thanks for the response. My web host is HostGator, according to their knowledge base cURL is enabled by default on all their servers per: https://www.hostgator.com/help/article/curl

    Also, Rank Math SEO analysis originally worked on my WebSite but quit working a couple of days ago. I’m also, using RankMath on another HostGator shared WebSite I have in the same account and that one is not experiencing the cURL timeout.

    I will call HostGator but I suspect they will tell me cURL is enabled.

    Duane

    Todd
    Rank Math free

    Hi Duane,

    I see.

    Can you please share your website URL with us so we can take a closer look?

    The website URL is: http://www.mccuneranch.com

    Thanks,
    Duane

    Hello,

    Thank you for contacting Rank Math today.

    The same error is reported when testing this from our online analyzer.

    Could you please change the following line that can be found in class-seo-analyzer.php on line 358 on this path: ..\wp-content\plugins\seo-by-rank-math\includes\modules\seo-analysis from:
    $request = wp_remote_get( $api_url, [ 'timeout' => 20 ] );

    to
    $request = wp_remote_get( $api_url, [ 'timeout' => 60 ] );

    Let me know if this fixes the problem.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Awesome that did the trick! Thanks, I will keep this info just in case I need to update the plugin and re-do it.

    FYI, I’m a retired S/W engineer. It’s not a good practice to have hard coded values embedded in the code. It should be a variable constant defined in a constants file or at the top of the file. It’s easier to maintain that way.

    Anyway, I love to RankMath tool.

    Thanks,
    Duane

    Hi Duane,

    Thank you for the follow up and the suggestion.

    Our developers are aware of this problem and you can expect it to be addressed in future updates.

    Let me know if you have additional questions, comments or suggestions.

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

The ticket ‘“Operation timed out error” while running SEO Analysis’ is closed to new replies.