cooc8616
IImmich
•Created by cooc8616 on 11/26/2024 in #help-desk-support
Unable to access immich domain name via Android and iOS apps
Setup Details
- Immich v1.121.0 hosted on Unraid
- Immich v1.121.0 iOS app
- Immich v1.121.0 Android app
- OAuth setup with Google working fine on web
- Cloudflare Zero Trust tunnel setup similar to this video and this community guide
I'm unable to access mobile app Server Endpoint URL https://pics.mydomain.org/api. Mobile application logs say "Error while checking server availability" ApiException 403. On web browsers (local and remote) https://pics.mydomain.org works just fine. When I'm on my LAN, the usual http://my-server-ip:port/api works perfectly with authentication on both iOS and Android.
Details that may be relevant:
Cloudflare configuration
- Network >> Tunnels >> Public hostname pics.mydomain.org >> HTTP://my-server-ip:port
- Access >> Applications >> SAAS immich app >> Redirect URLs
1) https://pics.mydomain.org/api/oauth/mobile-redirect
2) https://pics.mydomain.org/auth/login
3) https://pics.mydomain.org/user-settings
4) http://my-server-ip:port/auth/login
5) http://my-server-ip:port/user-settings
- Access >> Applications >> SAAS immich app >> Allow policy Include
1) Login Methods: Google
2) Emails: [email protected]
Immich configuration
- Problem persists whether Mobile Redirect URI Override is enabled or disabled
- Mobile Redirect URI >> https://pics.mydomain.org/api/oauth/mobile-redirect
- Issuer URL, Client ID, Client Secret all match cloudflare application settings
6 replies