- If the application is not used for a long time, realtime disconnected. 2.if the application goes into the background, the connection is interrupted. 3.never reconnects. you need to restart the application.
on the other hand, in the same application, socket io works perfectly. no breaks. if a break occurs, the connection is restored. for several months there is no error. Maybe you should change the realtime technology to socket io. At the moment it is impossible to use realtime.
TL;DR
Developers are facing ongoing issues with the REALTIME feature where the connection gets disrupted when the application is not in use for a long time or goes into the background. The connection never automatically reconnects, requiring a manual restart of the application. However, Socket IO in the same application works perfectly with no interruptions. Considering the successful track record of Socket IO, it might be beneficial to switch to this technology as a solution for the ongoing REALTIME connectivity issues.Recommended threads
- Custom Topic sent from Function (with sc...
Can I send a message on a custom topic? So clients can subscribe to them?
- How to create custom relatime channels
how do i create custome channels for real time communication. for example a room for a game with room code and sending messgaes to that roomcode and receiving m...
- WebSocket connection failed - Realtime g...
I am using appwrite cloud + angular (appwrite 21.2.1). On Chrome, when I have a realtime subscribtion and I reload the page or navigate to another page, realtim...