Hey, I've been trying to implement realtime into my app. For the first 1-2 minutes of page load, the API works as expected. However, the websocket then terminates and I don't receive new updates.
I should also note that the realtime connection number on the dashboard is always 0, regardless of whether I can receive updates.
Thanks!
They recently made use of cloudflare, one bad side effect is that the websocket connection drops after exactly 100s of no communication. Realtime keepalive feature will be released some time in the future.
Okay, thanks. Are there any solutions I can implement in the interim?
We have forked the web and flutter sdk and implemented that feature ourselves a long time ago. If you can't wait I would consider that approach too
Okay - I suppose I can wait since my app is still in development. Do you know of an ETA?
I'm not affiliated with Appwrite so I don't know for sure. I have seen some branches dedicated to that feature but keep in mind that it is holiday season atm.
Ah okay, thanks so much
If I find the time I'll release our own SDK for web and flutter (with a few nice addons:PES2_Hide: ), tho it contains some internal code that we can't public so I have to cleanup and refactor it first. I'll put it on my todo list.
That's awesome, thanks!
Recommended threads
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?
- Upgrading selfhost version?
It is okay to upgrade version to higher one, of my current version is 1.7.4 to 1.8.1. Is that safe to do cause my clients already have data on that? Also is a...
- Streamlit UI and local DB
I want to use Appwrite for automation, like run watchdog service every morning 3 am. Anyone got suggestions, already explored github and documentation no luck. ...