Excessive Traffic from Rank Math Plugin API Requests

#962457
  • Resolved EduVisor
    Rank Math free

    Dear Rank Math Support Team,

    I am experiencing an unusually high volume of traffic on my server, and after analyzing the logs, I found that a significant portion of the requests originate from the Rank Math SEO plugin. Specifically, I am seeing a large number of API calls to the following endpoints:

    /wp-json/rankmath/v1/an/post/30?_locale=user – 42,650 requests
    /wp-json/rankmath/v1/an/post/1473?_locale=user – 34,370 requests
    /wp-json/rankmath/v1/an/post/1399?_locale=user – 33,159 requests
    /wp-json/rankmath/v1/an/post/3903?_locale=user – 10,392 requests
    (… and many more similar requests)
    Additionally, the endpoint /wp-admin/admin-ajax.php?action=rest-nonce has received 137,528 requests, which may also be linked to the Rank Math plugin. This massive amount of traffic is causing server performance issues and consuming significant resources.

    The majority of these requests are coming from the IP address:

    89.64.68.145 (277,236 requests)
    Could you please provide guidance on why Rank Math is generating such excessive API requests? Is this expected behavior, or is there a configuration issue causing unnecessary load? Additionally, how can I optimize or limit these requests to prevent server overload?

    Looking forward to your response.

    Best regards,

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

    We apologize for the issue you are facing with excessive traffic from the Rank Math plugin API requests. This can indeed lead to server performance issues, and we appreciate you bringing this to our attention.

    The high volume of API requests you are observing may be due to several factors:

    1. API Timeout: If your website takes longer than 30 seconds to load, it can result in repeated API requests as the plugin attempts to fetch data.
    2. Firewall Blocking: Sometimes, server security settings or firewalls may block API requests, causing the plugin to retry multiple times.
    3. Configuration Issues: Certain settings within the plugin or conflicts with other plugins/themes could lead to excessive API calls.

    To address this issue, we recommend the following steps:

    • Check Website Status: Ensure your website is returning a 200 status code. You can check this using tools like httpstatus.io.
      Check website status with httpstatus tool
    • Whitelist IPs: If your firewall is blocking requests, consider whitelisting the IP 193.138.6.5 and the user-agent RankMathApi/2.0.2; https://rankmath.com.
    • Review Plugin Settings: Check if there are any settings in Rank Math that might be causing these excessive requests, such as analytics or monitoring features that are overly aggressive.
    • Limit API Requests: If possible, implement rate limiting on your server to manage the number of requests being processed at a time.

    If the problem persists after trying these solutions, please reply to this ticket, and a human agent from our support team will take over and provide further assistance.

    Thank you for your understanding, and we hope to resolve this issue for you soon!

    Hello,

    Thank you for contacting Rank Math support.

    1. The /wp-json/rankmath/v1/an/post endpoint is called on the Analytics page or on the frontend page when the Frontend Stats Bar option is enabled. So every time the page is viewed (by an authorized user having the capability to view Analytics), it will send a request to this endpoint. Please disable the Frontend Stats Bar option in WP Dashboard > Rank Math SEO > General Settings > Analytics to reduce the requests.

    2. The wp-admin/admin-ajax.php is an WP AJAX endpoint. Without more details, it’s hard to say what could cause the spike for this endpoint. You should check with your host for more details.

    Please do not 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 2 replies - 1 through 2 (of 2 total)

The ticket ‘Excessive Traffic from Rank Math Plugin API Requests’ is closed to new replies.