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 bypass the rate limit on the back...
Once a month my app has a ton of usage and I always run into the Too many requests 429 error. I am trying to optimize the queues and jobs to manage that, but a...
- 401 - Project not accessible in this reg...
Hi Appwrite team, I’m experiencing a Cloud Console issue with my NYC region project. Problem: - Some Console pages return: “401 - Project is not accessible ...
- 401 - Project not accessible, Singapore ...
Hi, I'm getting a 401 error when I try to open my project from the Appwrite Cloud console dashboard. Project ID : sgp-6a04326f002bd04cc420 Region : Singap...