
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
- How do load test in appwrite?
I am new to testing and stuff and I am unsure of how to get started on load testing with appwrite. I am using SvelteKit as my framework and appwrite for everyth...
- CLI Error using appwrite init site
Hello 👋 , we got error using CLI `appwrite init site` for any project on latest `Windows 11`, the error is ```bash Error: Command failed: cmd /c "mkdir -p . ...
- How exact time for Appwrite Functions ge...
As title, I want to know how much time Appwrite Cloud wait for Functions until it gets hibernated (cold start). 30m? 1h?
