[SOLVED] Client apps suddenly can't login #7503
Unanswered
ehcloninger
asked this question in
Bitwarden Clients Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm going to preface this as "Already Solved" but maybe adding this topic will save the next person some troubleshooting.
Problem: Could not log in from desktop or mobile apps, but could log in from web.
Solution: Update your server version.
Background: I run VW in a Proxmox LXC on Debian Trixie. I don't expose the server via a reverse proxy. Rather, I use a tailnet to help ensure that only my wife and I can get to the server.
Last week, I could no longer log in via my Android app and later found out I couldn't log in from PC. However, I could log in with the web client using the tailscale network address.
Today, I started debugging. Looking in the VW logs, I could see a message that a user token had expired, which sent me down a path for an hour. Trying to figure out if the LetsEncrypt cert was expired (it wasn't). Whether my tailnet was misconfigured (it wasn't but some of the client leases had expired). Then, tried to see the ADMIN_TOKEN was hashed incorrectly (it wasn't). I rebooted, no help. Updated the client on PC with no results. Then, I saw a server log message that
/identity/accounts/prelogin/passwordcould not be found and was returning a 404.I searched for that path and found this discussion. I checked and my server was 1.34 and the most recent is 1.37. My Android app from Google Play had updated itself to an newer, incompatible version, which started this whole process.
I issued an
updatecommand from the Proxmox console and waited for 600+ packages to get updated and built. Got a segfault in the middle and had to start over with more memory in the LXC. Took about 20 minutes to build everything, but after that, all is good.So, from now on, I need to make sure my client apps don't update themselves without checking the VW releases to see if they can get out of whack.
I will say, it would be nice if either the mobile client or the desktop client would've given a more useful message rather than "something went wrong", but that's not on VW.
Thanks for making this project.
All reactions