immich icon indicating copy to clipboard operation
immich copied to clipboard

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

Open kikendo opened this issue 1 year ago • 6 comments

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

  • [ ] Server
  • [ ] Web
  • [X] Mobile

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 avatar Jun 03 '24 12:06 kikendo

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

kikendo avatar Jun 03 '24 13:06 kikendo

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.

schuhbacca avatar Jun 03 '24 13:06 schuhbacca

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.

kikendo avatar Jun 03 '24 13:06 kikendo

@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

alextran1502 avatar Jun 05 '24 12:06 alextran1502

@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

kikendo avatar Jun 05 '24 12:06 kikendo

Try enabling "local network" in permissions

ingvardm avatar Oct 15 '24 17:10 ingvardm

@kikendo did you figure it out by now?

danieldietzler avatar Apr 01 '25 15:04 danieldietzler

@kikendo did you figure it out by now?

Nope, I still have clients that refuse to connect every now and then.

kikendo avatar Apr 01 '25 15:04 kikendo

Every now and then really sounds like a networking issue to me tbh. It'd probably be easiest if you jump on our discord (https://discord.immich.app) and open a help desk thread there.

danieldietzler avatar Apr 01 '25 16:04 danieldietzler

Every now and then really sounds like a networking issue to me tbh. It'd probably be easiest if you jump on our discord (https://discord.immich.app) and open a help desk thread there.

No, i mean every now and then, consistently, on certain clients and not on others. Clients don't randomly fall out of ability to connect, any client that works always worked.

kikendo avatar Apr 01 '25 16:04 kikendo

Ah I see. I'd still guess it's an issue with those devices, so jumping on our discord would make troubleshooting easier since it's more direct communication :)

danieldietzler avatar Apr 01 '25 20:04 danieldietzler