Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Vaultwarden
  3. Bitwarden: Wrong timezone makes TOTP unusable on sites

Bitwarden: Wrong timezone makes TOTP unusable on sites

Scheduled Pinned Locked Moved Solved Vaultwarden
3 Posts 2 Posters 1.9k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • necrevistonnezrN Offline
    necrevistonnezrN Offline
    necrevistonnezr
    wrote on last edited by
    #1

    I just tried to log into Bitwarden in a new browser and enter the TOTP code generated by Authy.
    It was 08:23 here in Germany (UTC +2).
    However, Bitwarden throws the following error:

    Invalid TOTP code! Server time: 2020-09-25 06:23:46 UTC IP: 127.0.0.1

    Screenshot 2020-09-25 082418.png

    Something similar happens when I try to modify my Amazon account...

    My server has the following time zone:

    timedatectl
                          Local time: Fr 2020-09-25 08:28:51 CEST
                      Universal time: Fr 2020-09-25 06:28:51 UTC
                            RTC time: Fr 2020-09-25 06:28:51
                           Time zone: Europe/Berlin (CEST, +0200)
           System clock synchronized: yes
    systemd-timesyncd.service active: yes
                     RTC in local TZ: no
    

    So I guess the Bitwarden App has the wrong time zone?

    1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      Looks like the bitwarden app needs a setting to allow modifying the timezone then.

      Do you know if this works if your server/host timezone is set to UTC and thus everything including bitwarden is UTC?

      1 Reply Last reply
      0
      • necrevistonnezrN Offline
        necrevistonnezrN Offline
        necrevistonnezr
        wrote on last edited by
        #3
        sudo dpkg-reconfigure tzdata
        
        Current default time zone: 'Etc/UTC'
        Local time is now:      Fri Sep 25 09:36:14 UTC 2020.
        Universal Time is now:  Fri Sep 25 09:36:14 UTC 2020.
        

        It now works with the Bitwarden login but not with Amazon - I also contacted Amazon - apparently they have a problem on their side!

        1 Reply Last reply
        2
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search