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
- router_deployment_not_found
I updated my function a few times and now i am getting the error: router_deployment_not_found I even reverted back to my original code but i am still getting th...
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- [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...