immich-app / immich

High performance self-hosted photo and video management solution.
https://immich.app
GNU Affero General Public License v3.0
50k stars 2.65k forks source link

[BUG] (android) new images do not show until status of the Server is known #6422

Open Moosbee opened 9 months ago

Moosbee commented 9 months ago

The bug

New Images will not appear in the Galary(when starting the App), until the status of the Server is known, this can in certain cases be very long, to long.

The OS that Immich Server is running on

Truenas scale

Version of Immich Server

v1.91.4

Version of Immich Mobile App

v1.91.4

Platform with the issue

Your docker-compose.yml content

unknown, use the Community train application

Your .env content

unknown, use the Community train application

Reproduction steps

1. have a Server running in the local network
2. connect your phone to it
3. it should work
4. close the app
5. shut down server or change Lan&Wifi
6. Take a photo, without the App activ
7. oben the App
8. **The new Image will not appear as long as the App is trying to connect to the Server**
9. If you turn the Internet off, the App will go offline, the Image appears.
...

Additional information

My Server is only in my local Network (192.168...)

### Tasks
vide commented 4 days ago

This seems to be still the case with 1.118.2, and it's pretty easy to verify if you have the Immich server behind a VPN connection, and open the app without the VPN connected.

If one of the goals of Immich is replace the G app, this is something that should be fixed, because I really love the Immich Android app and I want to use it as my main & only gallery app, but I have to fallback to the other one when I cannot connect to my VPN or the phone is in flight mode.