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
- How to display images from storage
I tried the link above, but it returns the error “`Please upgrade to a higher plan.`” I don’t need Transformations at the moment, I just want to display the ima...
- Cant sign up for appwrite cloud. Never s...
Cant sign up for appwrite cloud. Never sends me an email verification
- The file size is either not valid or exc...
Hello, I am receiving the following error when I am trying to deploy a function from my local. ``` > appwrite push functions --function-id xxxxxxxxx ℹ Info: Va...