I am trying to log in and the TOPT code is asked. When i try to insert the code this error message is returned:
[2021-04-05 17:36:56.362][bitwarden_rs::api::core::two_factor::authenticator][ERROR] Invalid TOTP code! Server time: 2021-04-05 15:36:56 UTC IP: 192.168.8.128
I run bitwarden-rs official container and have full privileged access.
I used this installation in the last 2 months without problem.
I noticed today my host server’s (ubuntu 20.04) timezone was wrong, but the time was correct until we had to change the clock some day ago. Today I changed the timezone in the host machine, but the container timedidnt change.
I tried to create a volume to share the time like shown here:
This corrected the container system’s time but not the service time, as you can see from the log line up here.
Now basically the server time is 2 hours behind the actual time and this mess up with TOPT, how can I change the container time and timezone or make it synchronize with the host?