
I have a selfhosted appwrite instance
It worked perfectly when _APP_OPTIONS_FORCE_HTTPS=disabled But it returns that error when _APP_OPTIONS_FORCE_HTTPS=enabled
I have my domain with cloudflare and already disabled cloudflare proxy because it returns CORS error

Do you have an SSL cert?

Let's encrypt for instance


is it not auto generated?

Don't think so, no.

but it say so in docs

"Appwrite uses Let's Encrypt to auto-generate TLS certificates"

"Appwrite auto-generates a certificate for your main domain when you first visit"

If you set it up

"You need to use a public-facing domain with a known TLD pointing to your Appwrite instance.
Your _APP_ENV environment variable should be set for production mode. The default Appwrite setup comes with this predefined setting, so you should be OK unless you change it.
You need to ensure you have a valid email address set on _APP_SYSTEM_SECURITY_EMAIL_ADDRESS. The default setup comes with certs@appwrite.io as the default value. While this address will work, it's recommended to change it to your own email.
Currently, Appwrite is using the ACME HTTP challenge to issue an TLS certificate. This forces us to generate certificates for port 443 when the challenge itself is performed on port 80. At this point, other ports will not work. To overcome this limit, you can set Appwrite on a separate sub-domain or use your own certificate or proxy server in front of Appwrite.
"

You need to setup all of that first

I have that env vars setup it up

and you have all of your domains pointing to what they should?

yes, I think so, it's the first thing a did

Run docker compose logs appwrite-worker-certificates
Recommended threads
- Properly contained appwrite main app can...
Hello! We tried to reinstall our main self-hosted appwrite with a new method but the main app 2 mins after launch throw this error: ```2025/06/22 16:16:14 s...
- Broken message
https://github.com/appwrite/appwrite/issues/10081 I just realized that I can just build appwrite myself, was this bug fixed in latest dev release?
- 404 errors after 7 Days
Local hosted Appwrite via docker. Last version and current version. After exactly 7 days Appwrite stops working. I get 404 route not found, cannot access anyth...
