Self Hosted instance sometimes throws "AppwriteException: null, XMLHttpRequest error. (0)"
- 0
- Self Hosted

Hey! I have a self hosted appwrite instance and a flutter web app. It all works well, but when I have more traffic the flutter client often throws an Exception: "AppwriteException: null, XMLHttpRequest error. (0)." It only happens if there are many active users (round about 300 realtime connections). Also the web socket connection failes some times then: "WebSocketChannelException: WebSocket connection failed." The cpu usage while that time is still fine. It never gets above 80%. Im using a server with 2 intel VCPUS and 8GB RAM.

@wess can you take a look at this?

You probably need a server with more cores to handle the increased traffic

Ok, Ill try it out
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...
