400 Error – Initial Setup

#1104706
  • We are trying to get the rank math wordpress plugin installed and running on our site:

    https://www.netdirectorhealthcare.com/

    However, we are getting a 400 error on the WP admin console and cannot run a scan from your website either.

    We had some geo blocking rules that were blocking IPs from Denmark, and have since removed that geoblocking. The traffic seems to be allow on the firewall, but still isn’t working.

    Can you help me get connectivity established?

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

    I apologize for the issue you are facing with the Rank Math plugin and the 400 error. It seems like there could be several reasons for this error. Here are some steps you can take to troubleshoot and potentially resolve the issue:

    1. Check Website Status

    Make sure your website is returning a 200 status code. You can check the status of your website using this tool: Check Website Status. Enter your 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. Ensure that your site is loading quickly.

    3. API Requests Blocked by Firewall

    Even if you have removed geo-blocking, ensure that your server’s firewall is not blocking our API requests. You may need to whitelist the following IP addresses:

    46.30.212.200
    46.30.212.201
    46.30.212.202
    46.30.212.203

    You can do this in your firewall settings or ask your web hosting provider for assistance.

    4. Locally Hosted Website

    If your site is hosted locally, the SEO Analyzer module will not work and will return an API error. Ensure that your site is live and accessible from external sources.

    If you continue to experience issues after trying these steps, please reply to this ticket with any additional details or errors you encounter, and a human agent from our support team will assist you further.

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

    This is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.

    1. Check Website Status – This doesn’t work for us.
    2. API Timeout – Website Loads just fine.
    3. API Requests Blocked by Firewall – We have allowed the 46.30.212.200 thru 203 addresses.
    4. Locally Hosted Website – What do you mean by “locally”? We have wordpress installed on a linux VM that we manage. The site is publicly accessible on port 443.

    Do we need other ports open?

    Hello,

    Your site is getting a Connection timed out error in https://httpstatus.io/.

    Please note that the SEO Analyzer tool only works for websites that return a 200 OK status.

    You can get in touch with your web host to fix this issue on your site.

    Looking forward to helping you.

    We are self hosted. Can we not get this to be setup with our own installation?

    Hello,

    Since your site is publicly accessible and self-hosted, there’s no issue with the type of installation. The main requirement is that the site must return a valid 200OK status and allow external API requests on port 443 (HTTPS). No additional ports are needed.

    Please review your server or firewall configuration to ensure nothing is blocking outgoing or incoming requests on HTTPS. Once your site responds with 200 OK, the SEO Analyzer and plugin scan should work correctly.

    Hope that helps.

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

You must be logged in to reply to this ticket.