
Hi.
I'm participating on the hackathon, and when building my app on debug, there is no issue, but when building for prod, I got an issue where my client can't seem to retrieve the host of the cloud ?
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: AppwriteException: , ClientException with SocketException: Failed host lookup: 'cloud.appwrite.io' (OS Error: No address associated with hostname, errno = 7), uri=https://cloud.appwrite.io/v1/account/sessions/anonymous (0)
As of RN, this is how I create my client:
Client()
.setEndpoint('https://cloud.appwrite.io/v1')
.setProject(projectId)
.setSelfSigned(status: _isDebugEnabled);
The issue is happenning on both emulators and physical devices. The devices both have internet.

Do you have the Internet permission? intent? enabled in your manifest? (I know almost nothing about mobile dev, but that’s an issue which has come up here many times)

Nevermind, it was indeed the internet permissions ! Got used to iOS, didn't realize the issue was only on Android. Tyvm @ideclon 🩵

Np! If your issue has been solved, you can mark this post as closed by adding "[SOLVED]" to the beginning of the title

[SOLVED] Failed host lookup: 'cloud.appwrite.io' in Release mode.
Recommended threads
- Database not found
i am getting an error named - database not found . I have logged on yesterday and it was working fine. But today it fails . More clearly i can say, each new day...
- 500 error trying to view database consol...
My project was blocked yesterday for queries missing a custom index. After it was restored, I was able to see the console last evening. But, when I try to acce...
- 404 if I try to access a non-existent bu...
When I try to access my profile_pictures bucket, Appwrite just gives a 404 error. I made it at the beginning of the year and since I created it this has happene...
