
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
- Login/Logout Issue and Page Display Desp...
Subject: Login/Logout Issue and Page Display Despite System Downtime at app.animtube.xyz Hello Appwrite Support Team, After the domain change I made recently (...
- Using Appwrite along with Twilio - Deplo...
Stuck on Querying user document...
- Error while usining domain
While usining domain and im im messaging tab i see: 500 Internal Error But when i use IP:PORT i see this: (Photo) Where is problem The console looks like t...
