immich-app / immich

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

iOS app stops being able to connect to server on one device but not the other (and version discrepancy?) #9962

Open kikendo opened 4 months ago

kikendo commented 4 months ago

The bug

I was running the iOS app on two devices just fine and suddenly one of them stopped being able to connect to the server. I deleted the app and reinstalled it to no avail, that one device still does not connect to the server saying it is unreachable. The Immich client works fine on that device on the web browser. This happened around the time I downed the server and reupped it again.

I tried it on an ipad running iOS 15.8 and it worked fine.

Both phones have the latest version of iOS installed (17.5.1)

The OS that Immich Server is running on

Debian 11

Version of Immich Server

v1.105.1

Version of Immich Mobile App

v1.105.0

Platform with the issue

Your docker-compose.yml content

.

Your .env content

.

Reproduction steps

1. I didn't do anything so I don't know how to reproduce exactly, I don't have any more devices to test with.
2.
3.
...

Relevant log output

No response

Additional information

No response

kikendo commented 4 months ago

Update: I tried it on another iPad running 17.5.1 and it worked fine after all.

schuhbacca commented 4 months ago

Have you checked your settings to make sure it allows localhost connections in the app? I don't have an apple device but have seen this issue around.

kikendo commented 4 months ago

Have you checked your settings to make sure it allows localhost connections in the app? I don't have an apple device but have seen this issue around.

Yup I quadruple-checked because I thought maybe somehow it changed? I gave it local access the first time over but yeah, the app has local network access. And it was working until yesterday before I restarted the server. I don't know if it has anything to do with that but don't see how.

alextran1502 commented 4 months ago

@xabier-vazquez-jt Try restart your server with docker compose down then docker compose up make sure that you are on the same local network and/or your proxy is working if you are using one

kikendo commented 4 months ago

@xabier-vazquez-jt Try restart your server with docker compose down then docker compose up make sure that you are on the same local network and/or your proxy is working if you are using one

I don't see @xabier-vazquez-jt 's response but I have other clients working just fine, it is just the one client refusing to connect via the app

ingvardm commented 1 week ago

Try enabling "local network" in permissions