Hello,
We apologize for the issue you are facing with the SEO Analyzer in Rank Math. Since you’ve already checked the website status and confirmed that everything is okay, let’s explore a few more possibilities:
-
API Timeout: Even though you mentioned that your website is not taking more than 30 seconds to load, it might still be worth checking if there are any intermittent performance issues. You can use tools like GTmetrix or Pingdom to analyze your site’s performance further.
-
Firewall Settings: Ensure that the IP 46.30.211.100
and the user-agent RankMathApi/2.0.2; https://rankmath.com
are whitelisted in your firewall settings. Sometimes, even if you think they are whitelisted, it’s good to double-check with your hosting provider.
-
Server Configuration: There might be server-level configurations that could be causing this timeout. It would be beneficial to reach out to your hosting provider to see if they can identify any issues on their end.
-
Check for Maintenance Mode: Ensure that your website is not in maintenance mode, as this can also lead to API errors.
If you continue to experience this issue after checking these points, please reply to this ticket with your site URL so that we can assist you further. A human agent from our support team will take over and provide more specific guidance.
Thank you for raising this concern, and we look forward to helping you resolve it!
Hello,
Thank you for your query and we are so sorry about the trouble this must have caused.
You are whitelisting an older version of our user agent, please make sure to whitelist the following:
IP Adress: 46.30.211.100
User-agent: RankMathApi/2.0.7; https://rankmath.com
Also, 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 edit the following plugin file:
/includes/modules/seo-analysis/class-seo-analyzer.php
Then, change the following line (line number 405):
$request = wp_remote_get( $api_url, [ 'timeout' => 30 ] );
to increase the timeout value to 60:
$request = wp_remote_get( $api_url, [ 'timeout' => 60 ] );
If the issue persists, head over to your WP Dashboard > Rank Math > Status & Tools > System Status and click the “Copy System Info to Clipboard” button, and paste it here so we can further analyze the issue.
Looking 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.