getting some issue . mentioned in this thread. Please help me to resolve https://github.com/appwrite/appwrite/discussions/5776#discussioncomment-6518396
what is your latest code?
the error message indicates you didn't call client.setEndpoint()
Yes iendpoint is already set . the code snipppet is there in the link https://github.com/appwrite/appwrite/discussions/5776
would you please share the full stacktrace?
also, there was something pointed out in the discussion to change...so pleas share the updated code
NativeSocket.lookup.<anonymous closure> (dart:io-patch/socket_patch.dart:520) <asynchronous gap> (Unknown Source:0) _NativeSocket.staggeredLookup.<anonymous closure>.lookupAddresses.<anonymous closure> (dart:io-patch/socket_patch.dart:0) <asynchronous gap> (Unknown Source:0)
and your updated code please?
can you set a breakpoint to see what's being passed around there?
Hai, the shared code is the updated one . the issue is with the realtime . the error is in socket_patch.dart file lookup method after hitting the code line subscription.stream.listen((event) {
Try not calling setEndpointRealtime
that is removed and tested but same issue
Please share your updated code here
whatever code i kept was the updated one (appwrite functionality). i may not be able to share the full code due to some restriction. am really sorry for that
There's little anyone can do troubleshooting code they can't see....
i will try to extract and create another code base and send it
Recommended threads
- listRows result parsing issue
I'm using Appwrite Dart SDK "24.2.0". When I perform a listRows call in dart, I have this reponse in JSON: in " Future<models.RowList> listRows()" { "total" :...
- Broken Flutter SDK >=24.1.0
Row.fromMap now does: ``` data: Map<String, dynamic>.from(map["data"] ?? {}) ``` But Appwrite Cloud TablesDB row responses return custom row columns flattene...
- Flutter OAuth2 does not attach Google se...
Hi Appwrite team, I’m using Appwrite Auth in a Flutter mobile app and trying to upgrade an anonymous user to Google OAuth. Docs say that if there is already a...