Hey Appwriters, for some weeks there about, have been seeing this error, so today i really wanted to fix it but i couldn't and i dont know why i keep encountering it most time,
it pop up randomly
flutter: AppwriteException: , Missing channels (1008)
flutter:
#0 RealtimeMixin.handleError (package:appwrite/src/realtime_mixin.dart:157:7)
#1 RealtimeMixin._createSocket.<anonymous closure> (package:appwrite/src/realtime_mixin.dart:50:13)
#2 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594:10)
#3 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#4 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#5 _ForwardingStreamSubscription._add (dart:async/stream_pipe.dart:123:11)
#6 _HandleErrorStream._handleData (dart:async/stream_pipe.dart:253:10)
#7 _ForwardingStreamSubscription._handleData (dart:async/stream_pipe.dart:153:13)
#8 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594:10)
#9 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#10 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#11 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784:19)
#12 _StreamControll<…>
flutter: ----------------------------------------------------```
please whats the issue here?
Are you handling realtime in your app?
If so, are you setting the channel dynamically?
yes...
Then, the best would be to check if the channel string is not empty before subscribing, something like so:
if(dynamicChannel.isNotEmpty)
realtime.subscribe([dynamicChannel]);
okay... let me do that and get back to you
Recommended threads
- Appwrite Cloud project is paused and nev...
Hi Appwrite Team & Community, I am facing a problem with one of my Appwrite Cloud projects which seems to be identical to the other cases of "paused projects" ...
- Export, Import or Migration giving this ...
As you can see in yhe screenshot i am not able to export any data or export the data from tables. Also it is affecting the migration from appwrite to appwrite h...
- Timed out waiting for runtime error
execution id 6a3e0791978712d81ee0 im having issue with appwrite function runtime performance. even after 4gbram and cpu same function sometimes completes in a...