
Hi everyone,
I'm running into an issue with my self-hosted Appwrite backend and I could use some help. I’ve successfully set up an Android app in my Flutter project, and everything works fine when debugging on a physical Android device connected to my computer (using email/password session to connect to the database).
However, when I build an APK and run the app on my phone without it being connected to Flutter, I get the following error:
ClientException with SocketException: Failed host lookup: 'subdomain.domain.com' (OS Error: No address associated with hostname, errno = 7), uri=https://subdomain.domain.com/v1/account/sessions/email
I’ve already made the necessary adjustments mentioned in the Appwrite package documentation on pub.dev, including adding the activity tag to the Android manifest along with my Project-ID. I initially encountered this issue on a server set up through elest.io, but now I've switched to my own server hosted on Hetzner and am still getting the exact same error.
Since everything works fine in debug mode, I feel like my DNS settings are correct. Does anyone have any ideas on what could be causing this issue in production or what steps I might be missing? Any help would be greatly appreciated!
Thanks in advance!

Set the internet android permission in androidmanifest

oh, that sounds to easy. thank. i will have a look
Recommended threads
- android kotlin error updatePhone
package vasu.apps.schooldashboard.Services import android.util.Log import io.appwrite.Client import io.appwrite.ID import io.appwrite.exceptions.AppwriteExcept...
- Cannot create a user
Hi, I am using a lowcoder frontend and trying to create a user in Appwrite (python function). Unfortunately, all I got is an error: "Raw body: Error". It means...
- Relationships restricted to a max depth ...
When I do query like: ``` await _databases.listDocuments( databaseId: AppwriteConfig.DATABASE_ID, collectionId: AppwriteConfig.SERVICES_COLLECTI...
