Replies: 9 comments 10 replies
-
Can you add the support string from the diagnostic page in the admin panel? Which client OS/Firefox/Bitwarden App/Extension versions are you using? Since this is a login issue, you should also make sure that you are using the correct login details. And you might also want to check in the admin panel if the user exists. |
Beta Was this translation helpful? Give feedback.
-
I am having he same issue. Tried Firefox and Chrome, the Bitwarden App, the Firefox extension, on both MacOS and Windows11, and via the the URL of my vault. Access via the admin token works, and my user does exist. I was able to disable 2FA on my user account via the admin panel and still am unable to log in. Credentials were correct. Seems like others are having the issue as well: I am running via Docker. I can `### Your environment (Generated via diagnostics page)
Config (Generated via diagnostics page)`Downgrading the container image to 1.25.2 did not resolve the issue. [2022-10-31 16:55:51.796][request][INFO] POST /api/accounts/prelogin EDIT: Additional info. I tried again by bypassing the proxy and still had the same issue. |
Beta Was this translation helpful? Give feedback.
-
Could it be some kind of header which is removed by some reverse Proxies. All people which I read are facing this issue seem to use some kind of Reverse Proxy. I'm using traefik behind a ha-Proxy running on an opnsense and experienced the same. But after adding a middleware in traefik which allows a couple of headers it seemed to work again. I also noted that after adding the middleware the site shows a custom 404 which I never noted before. I will update the traefik config later |
Beta Was this translation helpful? Give feedback.
-
I see that the time check has failed. Check your time settings, that probably causes the issue because the token isn't valid i think. |
Beta Was this translation helpful? Give feedback.
-
In my case time was correct. Client and server use the same ntp source. |
Beta Was this translation helpful? Give feedback.
-
A bad request could also mean a cut off transaction. So in short, instead of all bites transferred, it didn't sent everything which causes the json to be invalid. Some waf/security features could cause these issues die example |
Beta Was this translation helpful? Give feedback.
-
i know the error on my end. I had a middleware defined on the service which listens for status codes. While logging in the attempt generates a 400 and the 2fa is triggered as seen in the screenshot. |
Beta Was this translation helpful? Give feedback.
-
Also, some reverse proxies catch error codes and return a customized one. This also interrupts the working of the clients. |
Beta Was this translation helpful? Give feedback.
-
I made an edit to my original comment but just so it has more visibility, I took the proxy (in my case, Nginx) out of the equation and tried logging in directly to the http://ip:port of my container and still couldn't log in with the same info in the logs. I also created a new user via the admin console and am able to log in with the new user, but that doesn't help me much since all my data i locked away with the original account. I should also add that while I did have 2FA enabled on my original account, I was never prompted for the code. |
Beta Was this translation helpful? Give feedback.
-
Using the github pull at of this post, I can get it working but when using FF bitwarden plugin or bitwarden app, or anything not the vaultwarden browser, I can't login.
vaultwarden logs shows the login attempt but fails to login.
[2022-10-30 08:21:35.837][vaultwarden::api::identity][ERROR] Username or password is incorrect. Try again. IP: a,b,c,d. Username: [email protected].
Beta Was this translation helpful? Give feedback.
All reactions