Hello all.
I have been using bitwarden_rs/vaultwarden docker image through a reverse proxy (npm) since 2018.
Some hours ago, I guess due to the latest pull (1.30.2), I was locked out of the vault, as the 2FA code I was introducing is always incorrect:
[ERROR] Invalid TOTP code! Server time: 2024-01-31 12:30:12 UTC IP: 192.168.13.1
12:30 UTC is 13:30 GMT+1 in my area (Madrid, Spain) so time is synced.
I have checked and synced all my machines with NTP servers and right timezones (desktop pc where I try to access the vault, server with docker image running, router, etc.). I have checked environment variables of both reverse proxy and vaultwarden image, even forcing localtime to host:
environment: TZ: 'Europe/Madrid' volumes: - /etc/localtime:/etc/localtime:ro
But nothing works.
Rest of 2FA codes I have work like a charm, even from the same server which is hosting the docker images apart from the vaultwarden one (plex, homeassistant, uptime-kuma, etc.).
Where could be the error?
Thanks in advance.