[Bug] Android app unable to connect to self-hosted instance
What happened?
The Android application is unable to establish a connection to a self-hosted Affine instance. When entering the server URL, the app returns a "Network error" and fails to sign in. obs: The issue persists even if I use the server IP instead of the Proxy address.
Environment App Version: 0.27.3 (Android) Server Version: 0.27.3 (Docker Compose) Reverse Proxy: Nginx Proxy Manager (web socket enabled) Deployment Method: Docker Compose Network Setup: Local Domain: http://affine.home.com Forwarded to: [SERVER_IP]:3010 Protocol: HTTP (via NPM)
Steps to Reproduce Open the Affine Android app. Select "Self-hosted AFFINE". Enter the URL: http://affine.home.com Click Connect.
Expected Behavior The app should successfully validate the connection to the self-hosted instance and proceed to the login/workspace selection screen.
Actual Behavior The app displays a toast message: "Unable to sign in" and a red error message below the URL field: "Network error."
Additional Context The web interface for Affine is accessible via the same URL (http://affine.home.com) in Firefox, suggesting the proxy and backend are functioning for standard web traffic. The issue specifically occurs within the Android application.
Distribution version
macOS x64 (Intel)
App Version
0.27.3
What browsers are you seeing the problem on if you're using web version?
Firefox
Are you self-hosting?
- Yes
Self-hosting Version
0.27.3
Relevant log output
Anything else?
I've seen similar issues on github for Iphone apps, but it seems to be a different issue related to password
Is your content generated by AI?
- I confirm that the content I submitted was not generated by AI / merely contained minimal AI edits.
Source: toeverything/AFFiNE