API Error: cURL error 28: Operation timed out after 30002 milliseconds

#86755
  • Resolved Roamer Roasters
    Rank Math free

    Hi,

    I’ve started using your seo suite and have been receiving the following “API Error: cURL error 28: Operation timed out after 30002 milliseconds with 0 bytes received.”

    It works for the first run and then stalls out every time after that even waiting a few days each time. So then I uninstalled it and reinstalled it only to receive the same results.

    Version installed w/ auto-updates enabled:
    Version 1.0.47.1
    Including the plugin editor data for Rank Math SEO plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Michael Davis
    Rank Math pro

    Hello,

    Thank you for contacting Rank Math today.

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

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

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

    The SEO analysis should start working as expected.

    Or, you could also use the online version of the tool which is just as good:
    https://rankmath.com/tools/seo-analyzer/

    Looking forward to helping you. Thank you.

    Roamer Roasters
    Rank Math free

    Hi Michael,

    I followed your instruction, however, now I get the following: API Error: cURL error 28: Operation timed out after 60001 milliseconds with 0 bytes received

    Is there another suggestion to try next instead of using the website?

    Hello,

    That is quite weird. We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

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

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