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. Why I'm unable to login in my bitwarden ?

Why I'm unable to login in my bitwarden ?

Scheduled Pinned Locked Moved Solved Vaultwarden
bitwardenbitwardenrs
8 Posts 2 Posters 943 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.
    • JOduMonTJ Offline
      JOduMonTJ Offline
      JOduMonT
      wrote on last edited by JOduMonT
      #1

      6ba06b49-dba9-4898-adf9-9e8f8845a1a1-image.png

      username and password are good, but

      An error has occurred.
      Invalid TOTP code! Server time: 2021-01-14 11:58:34 UTC IP: 127.0.0.1
      
      • In the bitwarden apps date return (the same time than showed in the error message😞 Thu Jan 14 12:10:48 UTC 2021
      • while when I access the logs via the webui the server itself date return: 19:10:17 which Asia/Bangkok my local timezone
        which sound normal based on what @nebulon said in Cloudron time vs App time mismatch:

      time shown is from the logservice itself and is translated into the local time of your browser

      • and the server, under https://my.cloudron.com/#/settings is Europe/Berlin which is where the server is physically located.

      Bitwarden_rs

      • Package v1.4.4-1
      • App v1.17.0

      How could I fix that ?

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

        The timezone set via the dashboard does not trickle down to the apps, as you have found out already. I would assume apps should run all in UTC anyways. For Cloudron the timezone setting is to better match expectation around when updates and backups should be triggered.

        So I am not sure if this TOTP issue is really related to timezone, otherwise I would expect to have hit this as well, since a TOTP time diverging even 1 hour would be invalid.

        Can you try to restart the app?

        JOduMonTJ 1 Reply Last reply
        0
        • nebulonN nebulon

          The timezone set via the dashboard does not trickle down to the apps, as you have found out already. I would assume apps should run all in UTC anyways. For Cloudron the timezone setting is to better match expectation around when updates and backups should be triggered.

          So I am not sure if this TOTP issue is really related to timezone, otherwise I would expect to have hit this as well, since a TOTP time diverging even 1 hour would be invalid.

          Can you try to restart the app?

          JOduMonTJ Offline
          JOduMonTJ Offline
          JOduMonT
          wrote on last edited by JOduMonT
          #3

          @nebulon said in unable to login in my bitwarden:

          Can you try to restart the app?

          I restarted but the error still remain 😞

          at least the recovery password via email works 🙂
          so I still have access to my password

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

            Do you have any other account available for testing on that instance to see if this is a server issue or if your TOTP client may produce wrong values?

            JOduMonTJ 1 Reply Last reply
            0
            • nebulonN nebulon

              Do you have any other account available for testing on that instance to see if this is a server issue or if your TOTP client may produce wrong values?

              JOduMonTJ Offline
              JOduMonTJ Offline
              JOduMonT
              wrote on last edited by JOduMonT
              #5

              @nebulon said in unable to login in my bitwarden:

              your TOTP client may produce wrong values?

              My TOTP Client is BitWarden on Android 😉
              it work fine with Nextcloud and others services

              So I disabled the 2nd Auth in my bitwarden and tried to renable it
              but during this process I have the exact same message and I can't renable it

              [update] Weird
              if I open 2 TAB in my firefox

              • one for https://vault.mycloudron.com/#/settings/two-factor
              • one for https://vault.mycloudron.com/#/vault
                and do the step I'm able to renable it

              so I think the issue is on my phone

              JOduMonTJ 1 Reply Last reply
              0
              • JOduMonTJ JOduMonT

                @nebulon said in unable to login in my bitwarden:

                your TOTP client may produce wrong values?

                My TOTP Client is BitWarden on Android 😉
                it work fine with Nextcloud and others services

                So I disabled the 2nd Auth in my bitwarden and tried to renable it
                but during this process I have the exact same message and I can't renable it

                [update] Weird
                if I open 2 TAB in my firefox

                • one for https://vault.mycloudron.com/#/settings/two-factor
                • one for https://vault.mycloudron.com/#/vault
                  and do the step I'm able to renable it

                so I think the issue is on my phone

                JOduMonTJ Offline
                JOduMonTJ Offline
                JOduMonT
                wrote on last edited by
                #6

                @jodumont said in unable to login in my bitwarden:

                so I think the issue is on my phone

                I confirm; even if I forced a sync of the bitwarden database
                which end with success because I published I change

                my phone have almost 2 minutes of delay with my workstation (and what google say)
                I think it is time to say goodbye to my Note4.

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

                  Thanks for the update. Maybe your Phone is not set to update from network time?

                  JOduMonTJ 1 Reply Last reply
                  0
                  • nebulonN nebulon

                    Thanks for the update. Maybe your Phone is not set to update from network time?

                    JOduMonTJ Offline
                    JOduMonTJ Offline
                    JOduMonT
                    wrote on last edited by
                    #8

                    @nebulon said in Why I'm unable to login in my bitwarden ?:

                    Maybe your Phone is not set to update from network time?

                    indeed, I just assumed after 6 years that was enabled 🙂
                    but apparently it wasn't 😳

                    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