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
- 404 page not found
Hey I am trying to run a simple Svelte-kit project on appwrite self-hosted but the logs says: ```bash [13:56:26] [open-runtimes] Build packaging finished. [13:...
- Go functions cold start timeout on self-...
Hey everyone β running into a persistent cold start issue with Go functions on self-hosted Appwrite 1.9.0 (Elestio/Hetzner). Looking for how others are handling...
- Increase student pack database read and ...
Hi guys, Thank you Appwrite for an awesome platform, i am using the database function for my financial analyst app for my college final thesis. Problem: Curre...