API Error: cURL error 28: Operation timed out after 30000 milliseconds with 0 by

#68072
  • Resolved Liban Elmi
    Rank Math free

    I’m getting this error while setting up rankmath

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

    thanks

    • This topic was modified 4 years, 4 months ago by Liban Elmi.
Viewing 1 replies (of 1 total)
  • Hello,

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

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

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

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

    The SEO analysis should start working as expected.

    Looking forward to helping you. 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 1 replies (of 1 total)

The ticket ‘API Error: cURL error 28: Operation timed out after 30000 milliseconds with 0 by’ is closed to new replies.