SEO Analyzer – API Error: HTTP 400 error

#956829
  • Resolved Michael Casey
    Rank Math free

    Hi,

    I am getting a API Error: HTTP 400 error when I run the seo analyzer. I have gone through all of the trouble shooter guide:

    1. Website is not in maintenance mode
    2. Website is getting a 200 response
    3. Website load time is 2 – 4 seconds
    4. I raised a ticket with our web hosting provider and their response was: “The IP 46.30.211.100 is not blocked on our server and whitelisting is not possible on a Shares hosting account. I also checked our Modsecurity rules and none have been triggered from the IP 46.30.211.100 in the last 48 hours.”
    5. The website is not hosted locally.

    Installed plugins amd their status include:

    1. Elementor (Active)
    2. Elementor pro (Active)
    3. ElementsKit Lite (Active)
    4. Rank math (Active)
    5. Skyboot Custom Icons for Elementor – Elementor Icons library (Active)
    6. Maintenance (Not Active)

    I included the current system settings in sensitive data.

    Any help greatly appreciated

    Michael

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

    We apologize for the issue you are facing with the API Error: HTTP 400 while running the SEO Analyzer. Thank you for providing detailed information about your troubleshooting steps; it helps us understand your situation better.

    Since you’ve already checked the maintenance mode, website status, load time, and confirmed that your site is not hosted locally, here are a few additional suggestions:

    1. Firewall Settings: Even though your hosting provider mentioned that the IP is not blocked, there might be other firewall settings or security plugins that could be interfering with the API requests. Please ensure that any security plugins are configured to allow Rank Math’s API requests.

    2. Check for Conflicting Plugins: Sometimes, other plugins can conflict with Rank Math. You might want to temporarily deactivate other plugins (except Rank Math) to see if the issue persists. If the error goes away, reactivate them one by one to identify the conflicting plugin.

    3. Server Configuration: Since you are on shared hosting, there might be server-level configurations that could be affecting the API requests. It may be worth reaching out to your hosting provider again to check if there are any restrictions on outgoing connections from your server.

    4. Debugging Mode: If you have access to enable debugging in WordPress, you can do so by adding define( 'WP_DEBUG', true ); in your wp-config.php file. This might provide more insight into what is causing the error.

    If none of these suggestions resolve the issue, we recommend replying to this ticket with any new findings or errors you encounter, and a human agent from the Rank Math Support team will take over and assist you further.

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

    Hello,

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

    Can you please confirm if the IP 46.30.211.100 and the user-agent RankMathApi/2.0.2; https://rankmath.com are whitelisted on your firewall?

    If so, please head over to your WordPress Dashboard > Rank Math > Status & Tools > Database Tools and click the Clear SEO Analysis and Remove Transients buttons to flush the SEO Analysis cache.

    Flush

    Please clear your website and any server-level caching on your site before doing the SEO analysis again.

    If the issue persists, please share your website URL with us so that we can check this further for you.

    Let us know how it goes. Looking forward to helping you.

    Hi, Still no luck.

    Just to note actions I have taken –

    Firewall Settings: I followed up with hosting proivider and they have confirmed “I checked our firewall and ModSecurity settings and can conrfirm that the IPs are not being blocked there.”

    Check for Conflicting Plugins: Disabled all plugins, cleared cache, Flush SEO Analyzer Data, Remove Rank Math Transients and re-ran the test and got the same response – API Error: HTTP 400 error

    Server Configuration: Since you are on shared hosting, there might be server-level configurations that could be affecting the API requests. It may be worth reaching out to your hosting provider again to check if there are any restrictions on outgoing connections from your server.

    Debugging Mode: I have enabled de-bugging mode

    In relation to white listing your IP’s in the firewall, hosting provider has confirmed that we are on a shared server and it is not possible to whitelist IP’s See response from hosting provider – “The IP 46.30.211.100 is not blocked on our server and whitelisting is not possible on a Shares hosting account. I also checked our Modsecurity rules and none have been triggered from the IP 46.30.211.100 in the last 48 hours.”

    I ran the SEO analyser and got the following logs from the cpanel. It appears to be returning 304 as opposed to 200 –

    url is tzc.ie

    Thanks,
    Michael

    Hi,

    Our hosting provider has asked for you to expand and give more detail on what the below means –

    Server Configuration: Since you are on shared hosting, there might be server-level configurations that could be affecting the API requests. It may be worth reaching out to your hosting provider again to check if there are any restrictions on outgoing connections from your server.

    Any examples of things that would cause issues would be great.

    Michael

    Hello,

    You shouldn’t face any issues with shared hosting.

    However, we tested your website with our external SEO Analyzer and we are getting the ‘Invalid server response’.

    Please check with your host and share your server & site’s IP addresses so we can check if your site is getting blocked from our end.

    Looking forward to helping you.

    Thank you.

    Michael Casey
    Rank Math free

    Hi, Hosting Provider has confirmed the IP for the server is 91.210.235.222. URL is https:tzc.ie

    Thank you,

    Michael

    Michael Casey
    Rank Math free

    Hi, any update on this?

    Looking forward to getting this sorted.

    Thanks,
    Michael

    Hello,

    We deeply apologize for the unexpected delay in response.

    We checked the IP address you’ve shared but it is not blocked from our end. Can you please confirm if the IP address is your internal server IP?

    If not, you can share that with us so we can check the issue further for you.

    Looking forward to helping you.

    Thank you.

    Michael Casey
    Rank Math free

    Hi,

    Hosting Provider has confirmed that the Server IP is 91.210.235.222 and there is no other IP address.

    Thanks
    Michael

    Michael Casey
    Rank Math free

    Hi,

    My hosting provider has identified the issue. Your IP address (46.30.211.100) is included in Malwareexperts blacklist. Our hosting provider uses the Malwareexperts blacklist. They have advised that you will need to discuss this with Malwareexperts to have your IP removed from their blacklist as it could affect anyone using this blacklist.

    Thanks,

    Michael

    Michael Casey
    Rank Math free

    you can see IP is listed by checking it here: https://malware.expert/rbl-database/?rbl=46.30.211.100+

    Hello,

    We have already notified our development team regarding this issue.

    Once we have an update about this, we will inform you here as well.

    We really appreciate your patience in the meantime.

    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.

Viewing 12 replies - 1 through 12 (of 12 total)

The ticket ‘SEO Analyzer – API Error: HTTP 400 error’ is closed to new replies.