
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
- Database DeleteDocuments triggered via D...
Running self hosted 1.7.4. Have a dart cleanup function that deletes stale documents from a collection. Recently updated the function to use DeleteDocuments ins...
- Microsoft Oauth2 gets auto disabled
I'm runnin appwrite self hosted 1.7.4 and once every few hours the provider keeps getting disabled for whatever reason. I don't see anything in the logs and wo...
- Error during migration from self-hosted ...
The self-hosted version is 1.4.13
