Hi Support,
We are implementing horizontal scaling (https://book.appread.io/horizontal-scaling) with shared storage, shared MariaDB, and shared Redis for our self-hosted Appwrite instance (version v1.5.7). We have two instances (primary and secondary) in our horizontal scaling setup, and everything has been running smoothly for months.
We've discovered an issue where when we add a custom domain or function domain through the admin UI, only one instance's Traefik becomes aware of the new SSL certificate.
We believe the instance where SSL certificates are refreshed for Traefik is likely the one where the appwrite-worker-certificates service generates the SSL certificate.
When accessing the custom domain, we sometimes get proper HTTPS with SSL and sometimes get HTTPS without a valid SSL certificate, depending on which instance handles the request.
How can we resolve this issue without restarting our primary and secondary instances? Or is restarting both instances the only way to resolve this issue?
Thank you for your assistance.
Recommended threads
- Unable to init function via cli
Hello! I have created a new self hosted instance of appwrite 1.9.6 and have connected to that insatnce with the cli 27.2.0 that was released a few hours ago. Wh...
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- OAuth Missing redirect URL
Hello all, on a Flutter mobile app with latest Appwrite dependency (25.4.0) I always got "Missing redirect URL" - "Your OAuth login flow is missing a proper red...