Hi everyone! I'm running into a weird issue with Appwrite realtime in my chat app and was hoping someone might have some insights.
I have a chat view, and when it appears, I subscribe to my messages collection. For a while, it works great β I can send and receive messages in realtime. But then, things get flaky. Sometimes, messages just don't show up, even though I can see the documents being created in the database. It'll just skip some and then catch the next one. Other times, the realtime just seems to stop completely, and no new messages come through at all, even when there's activity.
I've double-checked my permissions (even set them wide open as a test!), and I've tried subscribing in different ways β once at the app level, and also subscribing/unsubscribing when the chat view opens and closes. Both approaches seem to lead to the same intermittent failures.
Has anyone else experienced anything like this with realtime being unreliable? I'm scratching my head about what I might be missing. Any thoughts or suggestions would be hugely appreciated! π
Recommended threads
- Websocket error Realtime
Hi peeps, I am trying to create realtime updates and I am having websocket error Code is below this msg
- Realtime not processing messages
When subscribing to realtime events of database, the client's websocket receives the messages in the websocket feed, but doesn't call the specific message handl...
- Sub-minute server-side execution for rea...
Hey β I'm building a real-time auction app on Appwrite Cloud and running into a timing limitation I'd please love some clarity on. My use case: when a bidding ...