Why do the apps keep logging me out

I recently set up immich on a self hosted k3s cluster based on the official charts (https://github.com/T0TProduction/home-cluster/tree/main/charts%2Fimmich), and generally speaking I think im getting to where stuff is working. I dumped too much onto it so it keeps dying, but in theory this isn't really an issue as it's up super quick again, and this should stop happening once it's done with the 50GB of raw images i dumped in the external library. The real issue for me is the following: Whenever the server is temporarily unreachable, and I by chance open the app (tested on Android & iOS), i am logged out. This is super annoying, because I wanted to start using it as a replacement for GPhotos, but this means I can't rely on it as a local image galery. I would expect it to behave as a local gallery at all times, and to just not be able to use any features that require the backend to be reachable. I think my real question here is: Is the current behavior intended? Is this planned but just not implemented yet? Or is there a technical limitation that requires it to always reach a server?
4 Replies
Alex Tran
Alex Tran2y ago
true offline mode is not there yet There are still requests that need to reach the server
maybeanerd
maybeanerdOP2y ago
Thanks for the quick reply! Ist this something you think is in the scope of me opening a PR, or does it require larger, base-layer changes? In theory my idea would be to "just" retry all requests when the server is detected to be up, but keep the login persisted and not removed if the server responds with pretty much anything besides 401
Alex Tran
Alex Tran2y ago
Please feel free to open a PR
maybeanerd
maybeanerdOP2y ago
Nice to hear it should™️ be possible I might give it a try :blob_tea:

Did you find this page helpful?