Cannot connect Android app to my server (YunoHost) #7633

Closed
opened 2026-02-05 13:11:27 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @HiPhish on GitHub (Oct 27, 2025).

I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.

  • Yes

The bug

Hello, I have installed the Immich app on my local YunoHost machine and I cannot connect the mobile Android app to the server. The two versions I have tried are 2.0.1 from F-Droid and 2.1.0 from the pre-comiled APK from Immich's GitHub release page.

My server setup:

  • A public nohost.me domain
  • Immich is installed to a subdomain immich.xxxxx.nohost.me
  • There is a Let's Encrypt certificate for the subdomain
  • Immich and its API are available to both visitors and all users
  • Port 2283 is forwarded on my router at home both for IPv4 and IPv6 (but I guess I don't actually need this?)
Image Image

Here is what is working as expected:

  • I can log in through the browser just fine both from my desktop and my mobile phone.
  • Firefox shows the certificate as signed by Let's Encrypt
  • I can connect the app to the official demo instance

However, when I try to connect the Android app I get "Server is not reachable". The URL I typed in is the same I use in my browser: https://immich.xxxxx.nohost.me. Here is what happens:

  • When I disable self-signed certificates in the mobile app advanced settings I get an error that my certificate is supposedly self-signed
  • When I enable self-signed certificates I get the error "Error while checking server availability" and "ApiException 400: HTTP connection failed: GET /server/ping (Inner exception: ClientException: Invalid response line, uri=https://immich.xxxxx.nohost.me/api/server/ping)"

Is there something I need to do with my server setup? Am I entering the correct URL into the app? Or do I need to somehow unlock in Immich a setting to allow the mobile app to connect?

The OS that Immich Server is running on

YunoHost 12.1.29 (stable), based on Debian 12.12

Version of Immich Server

2.1.0~ynh1

Version of Immich Mobile App

2.0.1 (F-Droid), 2.1.0 (pre-compiled APK from GitHub release)

Platform with the issue

  • Server
  • Web
  • Mobile

Device make and model

Fairphone 4, CalyxOS 6.10.20 (Android 15)

Your docker-compose.yml content

N/A

Your .env content

N/A

Reproduction steps

  1. Set up server to the point I can log in over the web interface and add photos
  2. Enter the public URL of the server as the end point in the app
  3. Tap "Next" to connect to the server

Relevant log output

- [Immich_log_2025-10-20T23%3A47%3A48.673325.log](https://github.com/user-attachments/files/23009370/Immich_log_2025-10-20T23.3A47.3A48.673325.log)
- [Immich_log_2025-10-20T23%3A50%3A28.716635.log](https://github.com/user-attachments/files/23009371/Immich_log_2025-10-20T23.3A50.3A28.716635.log)

Additional information

Running curl https://immich.xxxxx.nohost.me/api/server/ping in my shell or browser (both desktop and phone) returns {"res":"pong"} as expected, so the end point does work.

Originally created by @HiPhish on GitHub (Oct 27, 2025). ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug Hello, I have installed the Immich app on my local [YunoHost](https://yunohost.org/) machine and I cannot connect the mobile Android app to the server. The two versions I have tried are 2.0.1 from F-Droid and 2.1.0 from the pre-comiled APK from Immich's GitHub release page. My server setup: - A public `nohost.me` domain - Immich is installed to a subdomain `immich.xxxxx.nohost.me` - There is a Let's Encrypt certificate for the subdomain - Immich and its API are available to both visitors and all users - Port 2283 is forwarded on my router at home both for IPv4 and IPv6 (but I guess I don't actually need this?) <img width="2010" height="1646" alt="Image" src="https://github.com/user-attachments/assets/8bcb96d9-a013-441d-825b-732341c86078" /> <img width="2004" height="744" alt="Image" src="https://github.com/user-attachments/assets/43a1ef93-64b8-4e6f-a77b-d9097d0f2f13" /> Here is what is working as expected: - I can log in through the browser just fine both from my desktop and my mobile phone. - Firefox shows the certificate as signed by Let's Encrypt - I can connect the app to the official demo instance However, when I try to connect the Android app I get "Server is not reachable". The URL I typed in is the same I use in my browser: `https://immich.xxxxx.nohost.me`. Here is what happens: - When I disable self-signed certificates in the mobile app advanced settings I get an error that my certificate is supposedly self-signed - When I enable self-signed certificates I get the error "Error while checking server availability" and "ApiException 400: HTTP connection failed: GET /server/ping (Inner exception: ClientException: Invalid response line, uri=https://immich.xxxxx.nohost.me/api/server/ping)" Is there something I need to do with my server setup? Am I entering the correct URL into the app? Or do I need to somehow unlock in Immich a setting to allow the mobile app to connect? ### The OS that Immich Server is running on YunoHost 12.1.29 (stable), based on Debian 12.12 ### Version of Immich Server 2.1.0~ynh1 ### Version of Immich Mobile App 2.0.1 (F-Droid), 2.1.0 (pre-compiled APK from GitHub release) ### Platform with the issue - [x] Server - [ ] Web - [x] Mobile ### Device make and model Fairphone 4, CalyxOS 6.10.20 (Android 15) ### Your docker-compose.yml content ```YAML N/A ``` ### Your .env content ```Shell N/A ``` ### Reproduction steps 1. Set up server to the point I can log in over the web interface and add photos 2. Enter the public URL of the server as the end point in the app 3. Tap "Next" to connect to the server ### Relevant log output ```shell - [Immich_log_2025-10-20T23%3A47%3A48.673325.log](https://github.com/user-attachments/files/23009370/Immich_log_2025-10-20T23.3A47.3A48.673325.log) - [Immich_log_2025-10-20T23%3A50%3A28.716635.log](https://github.com/user-attachments/files/23009371/Immich_log_2025-10-20T23.3A50.3A28.716635.log) ``` ### Additional information Running `curl https://immich.xxxxx.nohost.me/api/server/ping` in my shell or browser (both desktop and phone) returns `{"res":"pong"}` as expected, so the end point does work.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#7633