ImmichI
Immich3y ago
grut

Can't get IP address on failed login

Hi Folks,
I'm trying to setup crowdsec for my immich instance.
But, in the immich server logs, i can't get the IP address on failed login.
When i failed a login, I only get the following message: [Nest] 7 - 08/01/2023, 8:09:32 PM WARN [AuthService] Failed login attempt for user qdds@fkz.com from ip address undefined

For information, Im using traefik as reverse proxy.
I tried with the traefik/whoami container to check the headers passed by the proxy, where i can see X-Real-IP or X-Forwarded-For with my IP.
However no luck in the immich server container.

Any idea how to solve this issue?

Thanks!
Was this page helpful?