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
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...
- Deploy function not working - 503
Hellon i get this error message, when i try to deploy a new version of a function <html><body><h1>503 Service Unavailable</h1>No server is available to handle...