Troubleshoot

How to Resolve Error Messages on Astra’s Threats Page?

Sometimes while performing certain operations from the Astra threat page (like blocking/trusting an IP, IP address, country or adding custom parameters) you may get an error.

Many a time we have seen that due to your server configurations, or recent modifications, Astra’s APIs are not able to communicate. Such errors could easily be solved by you or your developer. In this KB, you will find common error messages, their reasons, and quick ways to fix them.

1. Broken URL Error (404 error)

A 404 error

A 404 error

Possible Reasons

404 error is the most common of all. Reasons behind this error could be:

  1. A broken URL or some website endpoint error
  2. Some software on your site that is blocking our API calls.
  3. Or you might have migrated servers but have not moved some of the Astra files.

Solution

  1. Visit the URL mentioned in the error message, and see if the file exists on your server.
  2. Delete the Astra plugin you currently have installed, and re-install Astra by visiting the Settings page of the site in your Astra account.

2. Denied API Calls Error (403 error)

A 403 error

A 403 error

Possible Reasons

The reasons behind the 403 error can be varied. But usually, this error occurs due to the “Forbidden” message when our server makes API calls to your server.

  1. Access denied/Forbidden HTTP status code for our API calls to your server
  2. Special rules in your server config (.htaccess file or Nginx configuration)

Solution

The solution, in this case, lies in correcting the endpoint URL. Here is how you can do that:

  1. If you have developed the site yourself, re-check the Astra endpoint URL. Or tell your developer about it.
  2. You can go about the correction by changing rules in .htaccess or the server configuration.

3. 500 Internal Server Error (500 error)

A 500 error

A 500 error

A 500 error means that an unknown PHP error was encountered on your server when Astra tried to perform an operation via our API.

Possible Reasons

  1. You do not have pdo_sqlite module installed/enabled on your server.
  2. There are wrong file & folder permissions of the Astra folder on your web server.

Solution

  1. Verify if you have SQLite installed or not.
  2. Install SQLite for PHP on a VPS/Dedicated server.
  3. Enable SQLite in your cPanel/hosting account.
  4. Review your files/folder permission. The recommended permissions for files are 644 and for folders are 755.

4. Session Timeout Error

Session Timeout Error

Session Timeout Error

Possible Reasons

After long periods of inactivity, you are automatically logged out of your Astra dashboard. 

Solution

If you see this error in your dashboard, please refresh the page and log in once again.

If you still face problems after troubleshooting yourself and need help, please create a Support Request from your Astra Dashboard.

Was this helpful?