I cant use the SEO analyser

#1070780
  • Resolved Mitchell Ware
    Rank Math free

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

    I keep getting this error up and I cant access anything to change the time out time.

    could you please help me get it to work.

    Thanks,
    Mitch

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

    We apologize for the issue you are facing with the SEO Analyzer. The error message you are seeing, cURL error 28: Operation timed out, typically indicates that your website is taking too long to respond, which can be caused by several factors. Here are some steps you can take to troubleshoot this issue:

    1. Check Website Status: Ensure that your website is returning a 200 status code. You can check the status of your website using this status checker tool. Enter your website URL and click Check Status.
      Check website status with httpstatus tool

    2. API Timeout: If your website takes more than 30 seconds to load, it may result in a timeout error. You might want to optimize your website’s performance to reduce loading times.

    3. Firewall Settings: Sometimes, server security or firewall settings can block API requests. Ensure that your firewall is not blocking Rank Math’s API requests. You may need to whitelist the IP 46.30.211.100 and the user-agent RankMathApi/2.0.2; https://rankmath.com.

    4. Locally Hosted Website: If your site is hosted locally, the SEO Analyzer will not work as it requires a live site that returns a 200 OK status when crawled from an external site.
      API Error: The Site-Wide Analysis is unavailable on localhost.

    If you have tried these steps and are still experiencing issues, please reply to this ticket with your website URL so we can assist you further. A human agent from our support team will take over and provide more specific help.

    Thank you for raising this concern!

    Sources:
    Why Am I Getting "API Error: HTTP 400" Error » Rank Math
    Why Am I Getting "API Error: HTTP 400" Error » Rank Math

    Hello,

    Thank you for contacting us. We apologize for any inconvenience this issue may have caused.

    Could you please share the affected website URL so we can check as well?

    The error is related to the server connection, and not from Rank Math. The issue is with the cURL library (used by the SEO Analyzer) not being able to complete the request due to server-side constraints, often caused by server load or configurations.

    Meanwhile, please follow this guide to see if this fixes the issue for you.
    https://www.wpbeginner.com/wp-tutorials/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds/

    If that doesn’t fixes the issue for you, please update this Rank Math file via FTP or CPanel’s file manager:

    plugins/seo-by-rank-math/includes/modules/seo-analysis/class-seo-analyzer.php

    From there, change the following line (line number 541):
    $request = wp_remote_get( $api_url, [ 'timeout' => 30 ] );

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

    Once done, check the SEO Analyzer again.

    Please note that you may need to modify the code above each time you update Rank Math.

    If the issue persists, please get in touch with your web host to see if they can fix the issue for you. This is because the issue is most likely a server time-out issue.

    Let us know how it goes. We are here to assist you.

    Thank you.

    Hello,

    We were able to run your site successfully on our external analyzer: https://rankmath.com/tools/seo-analyzer/
    https://i.rankmath.com/i/yvhcg0

    Please head over to your WordPress Dashboard > Rank Math > Status & Tools > Database Tools and click on the Clear SEO Analyzer button to flush SEO Analyzer data.

    Once done, clear your website and any server-level caching on your site before doing the Sitewide analysis again.

    If the issue persists, then follow the steps we shared above.

    Don’t hesitate to let us know if you need our assistance with anything else.

    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 ‘I cant use the SEO analyser’ is closed to new replies.