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
  • Brite
  • 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 - Status | 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 2.4k 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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        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