When trying to register my first user on a self-hosted install I get the following error: (i have redacted my domain for privacy)
[Error] Timestamp: 2024-12-03T11:36:47+00:00
[Error] Method: POST
[Error] URL: /v1/account
[Error] Type: Appwrite\Extend\Exception
[Error] Message: Invalid Origin. Register your new client (appwrite.redacted.xyz) as a new Web platform on your project console dashboard
[Error] File: /usr/src/code/app/controllers/general.php
[Error] Line: 656
Running docker exec appwrite vars, the following are set:
_APP_DOMAIN=appwrite.redacted.xyz
_APP_DOMAIN_TARGET=appwrite.redacted.xyz
This is behind a Caddy reverse proxy, but I have ensured that is properly passing the Host header. Additionally, since the server logs log the proper domain (appwrite.redacted.xyz), I assume the server does know where the request is comming from, but for some reason denies it even though it is in the vars.
Recommended threads
- [Beginner] CLI --queries Syntax Error & ...
Hi everyone! I am a beginner with Appwrite and trying to use the CLI, but I'm stuck with a syntax error. Any guidance would be greatly appreciated! 🙏 **Enviro...
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...
- general_bad_request when creating accoun...
I have created a new bug request, could anyone have a look - https://github.com/appwrite/appwrite/issues/11908?