I have a flutter web app which is connected to appwrite project "65633d388115278c6d23" in the cloud (free plan)
I use flutter "appwrite 12.0.4". I use a custom domain which is verified. The client and realtime point to my custom domain. GET and POST requiests works without issue.
Now, I like to listen to database changes in real-time which is (for me) randomly working or not working. I have multiple parallel listener for single documents or entire collections. Channels look like this:
- databases.$dbId.collections.$colectionId.documents
- databases.$dbId.collections.$colectionId.documents.$docId.
I tried:
- providing the Realtime instance as singleton or not --> Same behavoir.
- Override the Realtime endpoint to to: wss://cloud.appwrite.io/v1 --> Same behavoir.
Most of the time, there is just one websocket working (providing data over time). Some time the first initiated websocket works, sometimes the secound or third. It's also possible that no one works. The picture show the output of websocket which register itself successfully but never provide any value.
- Is there any posiblity to check if the appwrite cloud is working correctly on my project?
- What is the prefered way, one Realtime instance or multiple? The issue forcing multiple Realtime instances should be fixed with v12.0.4 (https://github.com/appwrite/sdk-for-flutter/pull/202/commits/9f62ab17a19be43b1db524b5fc7ac2a0b26da191)
Many thanks
Recommended threads
- Function's Static IP
Is it possible to have static. IP Address instead of Dynamic IP for getting the IP Address whitelist
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...
- Enabling Overage Usage
Hello Appwrite Support Team, I am currently using Appwrite under the GitHub Student Developer Pack plan. Recently, my project hit the database read limit, and ...