API Error:

#88829
  • Resolved Chris
    Rank Math free

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

    Hi,

    I received this code when I tried to run the SEO analyzer.

    Can you help with this?

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

    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 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.

    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.

    Chris
    Rank Math free

    Hi Alberto,

    Many thanks for your email.

    Line 380 looks different to what you had mentioned.

    It has this code $status = absint( wp_remote_retrieve_response_code( $request ) );

    Im in Editing seo-by-rank-math/includes/modules/seo-analysis/class-seo-analyzer.php (active)

    Can you please advice.

    Thanks,

    Chris

    Thank you, Alberto for your advice.
    The problem was resolved.

    Thanks.

    Hello Chris,

    The line number may defer from site to site. You can check line 370/374/378.

    If you can’t find are still unable to find the specified line, 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,

    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:’ is closed to new replies.