I try to connect with Cloud beta current version via macOS Flutter app (iOS is working)
I get following error: AppwriteException: null, Connection failed (0) after _account.createEmailSession
I added the macOS platform in the dashboard under the project
Any ideas whats causing this error?
appwrite: ^9.0.0 flutter: 3.7.12
The same code works perfectly fine for iOS?
Have you followed this for macOS?
Yes I added the platform Maybe the package name must be different to the iOS app?
Can you share the code in which you're connecting the client to Appwrite cloud
In short:
final client = Client(endPoint: "https://cloud.appwrite.io/v1");
_account = Account(client)
final session = await _account.createEmailSession(
email: username,
password: password,
);
I have only one instance of client for all requests
in the cloud already updated to version 1.3.x for client version 9.0.0?
No, 8.1.0
can this cause the issua although ios is working?
I don't think so but it's worst a shot
have you granted internet permissions?
where do I need to do this?
Solved, thanks a lot! Following the first answer will help out
[SOLVED] Flutter macOS: AppwriteException: null, Connection failed (0)
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...