Can anyone tell me why realtime disconnects after some time and how to detect when it happens? I see that this happens in the dashboard like in picture but it also happens in my app and i need to manage this somehow.
Do you have anything in front of Appwrite? If you do, that might have a connection timeout
In flutter, there's an onDone callback on the stream. You can make it reconnect there.
@Steven thanks, I will try that. I think we found a fix by making a change in apache settings.
Nice! Can i mark this as solved now?
Yes
[SOLVED] Realtime got disconnected.
Recommended threads
- [SOLVED] Error upgrading from 1.8.1 to 1...
DO Self-hosted server failed to upgrade with this error "Error response from daemon: client version 1.52 is too new. Maximum supported API version is 1.42". U...
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...