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
- Updating GitHub App access throws error
Steps to reproduce - 1. Have some private repos allowed on the install access 2. New Site/Func > Connect GitHub > see the side card saying `Missing a repo` > cl...
- Bug report: Race condition in Flutter SD...
Hi team, I've found an intermittent bug in the Flutter SDK (v20.3.0) when using `createOAuth2Session` on Android. **Symptoms** After `createOAuth2Session` re...
- New Build not visible on Domain
I pushed some new code to my Appwrite Site and the build succeeded and is shown as active. Yet, I can only see the new version of the site on Appwrite's provide...