Immich app connection issue over vpn #4528

Closed
opened 2026-02-05 10:39:12 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @bm55 on GitHub (Oct 12, 2024).

The bug

Immich app for iOS works on local network but not working over WireGuard vpn even though web browser connects without any issue. VPN is configured with my local firewall as dns server and all traffic is routed via vpn.

The OS that Immich Server is running on

Ubuntu server 22

Version of Immich Server

V1.117.0

Version of Immich Mobile App

V1.117.0

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

Na

Your .env content

Na

Reproduction steps

  1. Tested connection to Immich from iOS phone on local network via both browser and iOS app
  2. Turned off WiFi on phone then vpn auto connects
  3. Web browser continue to work but app doesn’t. Performed log out then log in on both browser and iOS app. Web browser no issue but iOS app won’t connect to Immich server
    ...

Relevant log output

Log from iOS app: socket error SocketException: Connection failed (OS Error: No route to host, errno = 65), address = 10.0.50.35, port = 3001

Additional information

I can type http://10.0.50.35:3001 on web browser and it works over vpn.

Originally created by @bm55 on GitHub (Oct 12, 2024). ### The bug Immich app for iOS works on local network but not working over WireGuard vpn even though web browser connects without any issue. VPN is configured with my local firewall as dns server and all traffic is routed via vpn. ### The OS that Immich Server is running on Ubuntu server 22 ### Version of Immich Server V1.117.0 ### Version of Immich Mobile App V1.117.0 ### Platform with the issue - [ ] Server - [ ] Web - [X] Mobile ### Your docker-compose.yml content ```YAML Na ``` ### Your .env content ```Shell Na ``` ### Reproduction steps 1. Tested connection to Immich from iOS phone on local network via both browser and iOS app 2. Turned off WiFi on phone then vpn auto connects 3. Web browser continue to work but app doesn’t. Performed log out then log in on both browser and iOS app. Web browser no issue but iOS app won’t connect to Immich server ... ### Relevant log output ```shell Log from iOS app: socket error SocketException: Connection failed (OS Error: No route to host, errno = 65), address = 10.0.50.35, port = 3001 ``` ### Additional information I can type http://10.0.50.35:3001 on web browser and it works over vpn.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#4528