-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Mobile background backup does not work with self signed certificate #5562
Comments
Same issue with latest Android app version 1.91.0 |
Am I the only one with this issue? Still present in the latest version on the app |
Having similar issue with 1.91.4 version android app and server. Haproxy as reverse proxy. |
Same on v1.92.0 android. |
Same with 1.93.3 - created another issue before I stumbled upon this (same) issue. Not working also with valid (not self-signed) certificate. |
Same on v1.93.3 android:
|
Yeah the bug is still there, and I also found that with the reverse proxy I cannot play any video of my libraries from the Android app. I find the same certificate errors in HAProxy logs whenever I try to start playing. |
Seeing this with android 1.94.1 build 121. Foreground backup works fine but background backup throw errors on self signed certificates. Server is running in K3s with Traefik ingress in K3s, config is straight from Immich Helm charts. Background Upload Android StepsWith android app minimized photo taken and collected logs after failure notification. app log level shout Tested with foreground upload setting both enabled and disabled. Logs
Foreground Upload LogsGiven that the images have not been uploaded at this stage, if the app is opened and the foreground upload setting is enabled the pictures are successfully uploaded. Logs for the successful foreground upload are as follows:
|
Do you also have the same issue trying to play videos from Android app through reverse proxy? |
I'm having the same issue with version 1.101. Also using Traefik proxy, but using Let's Encrypt signed certificates. Even though my certs aren't self-signed, I still had to check the "ignore self-signed" (or whatever) setting before I could even login. Sounds SSL related somehow maybe, or maybe just a Traefik thing? |
It's not a Traefik issue, I'm using HAProxy with a Let's Encrypt certificate as well. I cannot make neither the background backup feature nor the video playback working on Android |
i've got the same issue with 1.102.3, and as people have described, it seems to be a TLS issue i spun up a new instance on a VM to test it wasn't something else i'd done as well
the logs don't show anything that looks like an error either logs.log |
I have the same issue on iOS and tested a lot of combinations with Apache and Caddy Reverse Proxy, external subdomain, direct connection, valid and invalid certs. The foreground operations always worked fine, issue is only with the background sync. Ignore invalid certs is ON in settings. Background sync works:
Background sync works not:
Basic Auth inside the URL also is not a problem, unless there are special characters in the password like "#". Does not work, even when encoded. Cannot login. BTW, I cannot always change the "ignore invalid certs" setting. Sometimes it is disabled. |
Possibly related, I'm also having trouble with the background sync not working on Android. I'm using a certificate signed by my own root certificate authority, which I have also added to the Android root certificate store. It looks like Immich doesn't see this as a valid cert, perhaps related to the recent changes to how Google handles custom installed certificates and apps needing to opt in. Immich won't let me log in without checking the ignore self-signed certs, even though it is most definitely valid. I also get the same effects with background sync not working as other people described, so I think I'm getting treated the same way as a self signed certificate. |
The bug
When I take a picture on my phone and wait 5 seconds, instead of finding that photo uploaded to Immich server, I found 3 "SSL handshake failure" logs on my reverse proxy. Every other feature works as expected, through the reverse proxy, in HTTPS, including the foreground backup when I open the app.
I'm using HAProxy on pfSense with a self-signed certificate.
The OS that Immich Server is running on
Debian 12 x64 + Docker
Version of Immich Server
1.90.1
Version of Immich Mobile App
1.90.0 build.114
Platform with the issue
Your docker-compose.yml content
Not relevant (anyway, the default one)
Your .env content
Reproduction steps
Additional information
The feature works correctly if I use the same reverse proxy without SSL Offloading and if I point directly to Immich server.
The text was updated successfully, but these errors were encountered: