Clean 1.9.0 install, trying to access Appwrite from another PC and get 401 general_access_forbidden
- 0
- Self Hosted
I've been using Appwrite cloud for several months now, it's great and I love it. Doing some local testing so I setup a new Docker image on a Mini PC. Install failed a few times, I kept restarting the install and eventually it completed. I created my account, logged in and created my first project.
Then I tried to access that instance from my main computer. I opened port 80 and 443 through the windows firewall, but when trying to connect I get this error: Error 401 Router protection does not allow accessing Appwrite over this domain. Please add it as custom domain to your project or disable _APP_OPTIONS_ROUTER_PROTECTION environment variable. general_access_forbidden
In my .env file, _APP_OPTIONS_ROUTER_PROTECTION is already disabled.
What did you type in the env?
It needs to be written disabled and check if itβs saving the env. You should after changing it restart the dockers by
docker compose down && docker compose up -d
In the .env it's listed as: _APP_OPTIONS_ROUTER_PROTECTION="disabled"
I just tried "docker compose up -d" to refresh the container, but the .env was showind disabled from the beginning. I will try the down and up command now to see if it fixes it...
Refreshed the docker with "docker compose down && docker compose up -d" and still getting the 401 error.
Recommended threads
- _APP_OPTIONS_ROUTER_PROTECTION
Hi Everyone, I just setup a fresh 1.9.0 on a server. Configured everything and now when i try to connect to appwrite for first time setup i get a _APP_OPTIONS_R...
- Selfhost - Starting Docker containers fa...
I am stuck at installing appwrite. Specifically, the containers dont want to start up. The images are downloaded and ready. Dockhand is reporting containers st...
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...