API Error

#81349
  • Resolved Umesh Kumar
    Rank Math free

    Hi Team,

    When I run RankMath SEO Analysis in my WordPress site, receiving below error;

    “API Error: cURL error 28: Operation timed out after 30001 milliseconds with 0 bytes received”

    Kindly check on this and assist further.

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

    Hello,

    Thank you for contacting support today.

    Please edit the following plugin file:
    /includes/modules/seo-analysis/class-seo-analyzer.php

    and change the following line (line number 380):
    $request = wp_remote_get( $api_url, [ ‘timeout’ => 20 ] );

    to increase the timeout value to 60:
    $request = wp_remote_get( $api_url, [ ‘timeout’ => 60 ] );

    Looking forward to helping you.

    Alex
    Rank Math free

    Thanks this worked for me too, increased from 30 to 60 second timeout.

    Okie.
    But how do I change it?

    It worked.

    Thank you.

    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.

    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 5 replies - 1 through 5 (of 5 total)

The ticket ‘API Error’ is closed to new replies.