iOS App error connecting
Hello I have immich set up and running great in docker. Accessing via browser works fine on both desktop and on my phone. But I use the iOS app (updated to latest version). I get an html error output (and I can't scroll around to see the reported error). on the immich_web container i see the error
[hooks.server.ts]:handleError Not found: /oauth/config
Anything obvious wrong or obvious fixes?
8 Replies
This request is going to the
immich-web
container, but it should be going to the immich-server
container, so you are either using the wrong url on the mobile app, or your reverse proxy is misconfigured. Maybe try with /api
at the end of the url./api works. thanks!
My reverse proxy is proxying the domain to the immich-proxy container, is this not the correct setup?
That is correct, yes.
ok, so users would just always need to append
/api
when using the app?
might be a good thing to call out on the app if thats the case. if i tell users go to "photos.xyz.com" but then when using the app its "photos.xyz.com/api"
anyways appreciate the super quick support! just a tiny bit of feedback if this is the normI mean it is supposed to work without it.
If you hit this url: https://demo.immich.app/.well-known/immich
It should return the path to the api, and that should be used to redirect automatically, but that doesn't seem to be working in your case and I'm not sure why.
ok, maybe something just weird with my nginx
thanks again
Right, it seems to work sometimes and not others, so maybe it is dependent on how you have configured your reverse proxy.
It would also break if you misconfigure the public server url env var