Error 500 (getaddrinfo ENOTFOUND immich-server) when visiting webpage behind traefik
After setting up immich and replacing the default nginx proxy with traefik, visiting my instance throws me an error 500.
I got my config files from the latest release (v1.72.2)
.env:
Everything else is left commented and on the defaults.
10 Replies
I'll also provide logs if need be
just not sure what i'm supposed to show
I suggest keep immich_proxy and just direct/proxyu traffic to your instance at port 2283
I was just looking at my Nginx Proxy Manager setup and was going to suggest the same. I had issues when I tried to replace the immich_proxy, but it works like a charm proxying to it.
Yes, don't try to replace the immich proxy, instead put your proxy in front of it
i seem to have fixed it by adding
immich_server
to the web
network i had already added immich_web
to, but i'll look into returning immich_proxy for future stability
the error i'm getting now is connect ECONNREFUSED 192.168.96.7:3001
, which i'm pretty sure is a matter of port forwarding
immich_proxy is throwing me an error
nginx: [emerg] host not found in upstream "immich-server:3001" in /etc/nginx/conf.d/default.conf:15
after adding every service to the default
docker network, i'm just getting a 502 now
no errors in the docker logsYou are not exposing port 2283

i just noticed the compose file i sent is slightly out of date
i've already tried adding this:
and also 2283:8080
i've also added things i've found in github discussions like
traefik.http.routers.immich.entrypoints=web
which just makes it 404
changed port to 8080, i'm pretty stupid
closing this thread now