Error: The site <URL> cannot be added since it is invalid or blocks Patchstack from accessing the site.
This error often appears when there is no public access to your website. There are 3 main reasons this is happening:
-
Usually, it means that your server is protected using .htaccess and .htpasswd. To install the Patchstack plugin and connect Patchstack App to your website, it has to be publicly accessible for Patchstack as well, so you will have to remove the server authentication.
-
In order for us to properly start monitoring your application, its response when you first add it must not be a 5xx HTTP status code.
-
When your site is in maintenance mode, it will also result in a 5xx HTTP status code and thus will trigger this error.