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

#62333
  • Resolved Phil Mallon
    Rank Math free

    Just started using rank math and keep getting ‘API Error: cURL error 28: Operation timed out after 30001 milliseconds with 0 bytes received’ when I do SEO Analysis?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Todd
    Rank Math free

    Hello Phil,

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

    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.

    Thanks Todd, How do you edit the file in Rank Math ?

    I also tried the link you sent and getting an error on that as well?

    Hello,

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

    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.

    Thanks, I am a bit concerned letting someone I don’t know access to my site. Is there no other way to fix this? Also is this part of Ranik Math necessary is there maybe another workaround?

    Hello,

    You can edit the plugin under Plugins > Plugin editor. Then select the plugin to edit, in this case Rank math. And finally follow the guideline by my colleague to edit the file in /includes/modules/seo-analysis/class-seo-analyzer.php

    Here is screenshot to guide you: https://i.rankmath.com/4ZfFsQ

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

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