Skip to content
Back

[SOLVED] Realtime got disconnected.

  • 0
  • Self Hosted
  • Flutter
  • Realtime
develocode777
11 Oct, 2023, 06:34

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.

TL;DR
Realtime is disconnecting after some time and the user is seeking help to detect when this happens. They mention seeing a similar issue in the dashboard and want to know how to manage it in their app. Another user suggests checking the connection timeout if there is anything in front of Appwrite. Another user suggests using the onDone callback on the stream in Flutter to reconnect. The issue is marked as solved, and the solution is mentioned as making a change in Apache settings.
Drake
14 Oct, 2023, 16:27

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.

develocode777
16 Oct, 2023, 07:26

@Steven thanks, I will try that. I think we found a fix by making a change in apache settings.

Drake
16 Oct, 2023, 18:31

Nice! Can i mark this as solved now?

develocode777
16 Oct, 2023, 18:32

Yes

Drake
16 Oct, 2023, 18:47

[SOLVED] Realtime got disconnected.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more