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.
404 error is the most common of all. Reasons behind this error could be:
- A broken URL or some website endpoint error
- Some software on your site that is blocking our API calls.
- Or you might have migrated servers but have not moved some of the Astra files.
- Visit the URL mentioned in the error message, and see if the file exists on your server.
- Delete the Astra plugin you currently have installed, and re-install Astra by visiting the Settings page of the site in your Astra account.
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.
- Access denied/Forbidden HTTP status code for our API calls to your server
- Special rules in your server config (.htaccess file or Nginx configuration)
The solution, in this case, lies in correcting the endpoint URL. Here is how you can do that:
- If you have developed the site yourself, re-check the Astra endpoint URL. Or tell your developer about it.
- You can go about the correction by changing rules in .htaccess or the server configuration.
A 500 error means that an unknown PHP error was encountered on your server when Astra tried to perform an operation via our API.
- You do not have a pdo_sqlite module installed/enabled on your server.
- There are wrong file & folder permissions of the Astra folder on your web server.
- Verify if you have SQLite installed or not.
- Install SQLite for PHP on a VPS/Dedicated server.
- Enable SQLite in your cPanel/hosting account.
- Review your files/folder permission. The recommended permissions for files are 644 and for folders are 755.
After long periods of inactivity, you are automatically logged out of your Astra dashboard.
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.