API Error: cURL error 28: Operation timed out

#99959
  • Resolved TSC BD
    Rank Math free

    Hello,
    Thanks for the great plugin. Today I m facing a weird prb. When I tried to SEO Analysis. It gave me error.
    API Error: cURL error 28: Operation timed out after 30001 milliseconds with 0 bytes received

    Can you pls help me to figure it out.

    thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting support.

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

    and change the following line (line number 358):
    $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.

    Lucas
    Rank Math free

    RankMath team. This is such a frequent issue, why not make it an option for the timeout in the admin settings?

    Hello,

    I’ll forward your suggestion to the dev team and if this is something we can implement, I’ll be sure to let you know..

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

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘API Error: cURL error 28: Operation timed out’ is closed to new replies.