SEO Analysis error cURL error 28

#80753
  • Resolved James Wiant
    Rank Math free

    I’m getting the error API Error: cURL error 28: Operation timed out after 30005 milliseconds with 0 bytes received

    I saw other support posts suggesting changing the timeout values in this file:
    /includes/modules/seo-analysis/class-seo-analyzer.php

    However I can’t find that file anywhere. I am using WordPress.org structure on my hosted site. Some things are in root, some things in public_html. Can you give me more information on where I find the class-seo-analyzer.php file?

    Thank you

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

    Hello,

    You should go to the root of your website and look for a folder called wp-content, there look for the folder called seo-by-rank-math. From there you will have the folders you say (includes/modules/seo-analysis/class-seo-analyzer.php) so you shouldn’t have any issue finding the file.

    If you still have issues, let us know and we will take a look for you.

    Looking forward to help you.

    Found it. I changed the timeout value to 60 (from 30) and that appears to have taken care of it.
    I changed this line for others reference:
    $request = wp_remote_get( $api_url, [ ‘timeout’ => 60 ] );

    Cheers

    Alberto
    Rank Math business

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    Also, thank you for sharing it, I am sure other people will find it useful.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

You must be logged in to reply to this ticket.