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
- endpoint variable
Appwrite Sites passes e.g. APPWRITE_SITE_API_ENDPOINT to the site, but i need this variable in Next.js in my Client-Side-Page. How can i pass it? Next.js only p...
- How can I get the Google Avatar of the u...
How can I get the Google Avatar of the user that signed in with Google?
- Cannot use createdBefore query on bulk d...
sdk: dart version: 19.2.1 ```final timestamp = DateTime.timestamp() .subtract(const Duration(days: 1)) .toIso8601String(); await databas...