You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vault warden from mobile started to return 404: Not Found | Rocket when I try to login via the mobile client and "An error Occured: Verification code is needed" in the desktop app. No issues via browser extension. Admittedly I don't use vaultwarden through the mobile app or desktop app all that often so I can't pinpoint the exact day/time this issue started but sometime in the past 2 weeks.
Install method: Docker compose image using mysql (mariadb) database in another container in same compose file
Clients used: chrome/brave browser extension no issues, 404: Not Found | Rocket when I try to login via the mobile client and "An error Occured: Verification code is needed" in the desktop app
Reverse proxy and version: apache 2.4
MySQL/MariaDB or PostgreSQL version: MariaDB 10.6
Other relevant details:
Steps to reproduce
You can use these files (albeit exchanging a few things like your SSL certs and MSQL data base and what not) docker-compose.yml
Mobile app will not even allow me to enter my webauthn yubikey key it goes from password entry to half a second on the security key screen then straight to 404 error.
Desktop app has a Loading... where the picture of a security key should be not allowing me to enter the key.
Troubleshooting data
I made sure that rocket TLS is not on as per : #760
Also set LOG_LEVEL=debug to try and debug although I couldn't really find a cause.
For mobile login originally I had
172.58.239.20 - - [13/Oct/2021:21:19:38 +0000] "GET /webauthn-mobile-connector.html?data=eyJjYWxsYmFja1VyaSI6ImJpdHdhcmRlbjovL3dlYmF1dGhuLWNhbGxiYWNrIiwiZGF0YSI6IntcImFsbG93Q3JlZGVudGlhbHNcIjpbe1wiaWRcIjpcIjZ6TzJ3U1o3YTNDa3NpNnJfbDJZQzdMM2dxZmlYcDdiNHgzdi0xZXJKa2lOWWhxSFdRMjNGYm9DbW1CM3JGQURQc0FGbkltZURxN2I0ck9nVkxQdXpBXCIsXCJ0eXBlXCI6XCJwdWJsaWMta2V5XCJ9XSxcImNoYWxsZW5nZVwiOlwicGkyNGItQUtqQnJsUWRleDhnNXVldlRCSjVIaW1RTDRPN29ZT3lGiZXh0ZW5zaW9uc1wiOntcImFwcGlkXCI6XCJodHRwczovL2JpdHdhcmRlbi5hcnRodXJ0YXBwZXIuZGV2L2FwcC1pZC5qc29uXCIsXCJnZXRDcmVkQmxvYlwiOmZhbHNlfSxcInJwSWRcIjpcImJpdHdhcmRlbi5hcnRodXJ0YXBwZXIuZGV2XCIsXCJ0aW1lb3V0jAwMDAsXCJ1c2VyVmVyaWZpY2F0aW9uXCI6XCJkaXNjb3VyYWdlZFwifSIsImJ0blRleHQiOiJBdXRoZW50aWNhdGUgV2ViQXV0aG4ifQ==&parent=bitwarden%3A%2F%2Fwebauthn-callback&v=2 HTTP/1.1
[2021-10-13 23:21:44.994][response][INFO] POST /identity/connect/token (login) => 400 Bad Request
^^ removed random sections of token in order to keep privacy
But then I pulled latest image and now I get
[2021-10-14 00:23:16.378][error][ERROR] 2FA token not provided
[2021-10-14 00:23:16.378][response][INFO] POST /identity/connect/token (login) => 400 Bad Request
For the desktop app it won't let me enter a yubikey as if it's waiting for as response from vaultwarden. If I go ahead anyway and press continue I obviously get:
[2021-10-13 23:47:40.708][request][INFO] POST /api/accounts/prelogin
[2021-10-13 23:47:40.710][response][INFO] POST /api/accounts/prelogin (prelogin) => 200 OK
[2021-10-13 23:47:40.774][request][INFO] POST /identity/connect/token
[2021-10-13 23:47:41.034][error][ERROR] 2FA token not provided
[2021-10-13 23:47:41.035][response][INFO] POST /identity/connect/token (login) => 400 Bad Request
[2021-10-14 00:20:37.895][request][INFO] POST /api/accounts/prelogin
[2021-10-14 00:20:37.897][response][INFO] POST /api/accounts/prelogin (prelogin) => 200 OK
[2021-10-14 00:20:38.659][request][INFO] POST /identity/connect/token
[2021-10-14 00:20:38.876][error][ERROR] 2FA token not provided
If I change the apps to use the bitwarden servers I get no issues.
It was up and working up until very recently and so I thought maybe vaultwarden updated something and changed their API or something but it hasnt been reported by anyone else so not sure what's going on.
EDIT:
During the webauthn login I can select use another fasctor and using yubikey rather than webauthn works on desktop app however I don't get that option on mobile app
EDIT2: Yubiokey works on mobile as well so it's only webauthn for mobile and desktop while browser extension works fine.
The text was updated successfully, but these errors were encountered:
Thanks for the very detailed report.
It looks like you are using the latest tagged image.
I think this is fixed in the testing tagged image of Vaultwarden.
Subject of the issue
Vault warden from mobile started to return 404: Not Found | Rocket when I try to login via the mobile client and "An error Occured: Verification code is needed" in the desktop app. No issues via browser extension. Admittedly I don't use vaultwarden through the mobile app or desktop app all that often so I can't pinpoint the exact day/time this issue started but sometime in the past 2 weeks.
Deployment environment
Your environment (Generated via diagnostics page)
Config (Generated via diagnostics page)
Show Running Config
Environment settings which are overridden: DOMAIN, SENDS_ALLOWED, SIGNUPS_ALLOWED, SIGNUPS_VERIFY, ADMIN_TOKEN, IP_HEADER, YUBICO_CLIENT_ID, YUBICO_SECRET_KEY, SMTP_HOST, SMTP_FROM, SMTP_USERNAME, SMTP_PASSWORD
Install method: Docker compose image using mysql (mariadb) database in another container in same compose file
Clients used: chrome/brave browser extension no issues, 404: Not Found | Rocket when I try to login via the mobile client and "An error Occured: Verification code is needed" in the desktop app
Reverse proxy and version: apache 2.4
MySQL/MariaDB or PostgreSQL version: MariaDB 10.6
Other relevant details:
Steps to reproduce
You can use these files (albeit exchanging a few things like your SSL certs and MSQL data base and what not)
docker-compose.yml
bitwardenconfig.env
httpd-vhosts.conf
httpd.conf
Expected behaviour
To login
Actual behaviour
Mobile app will not even allow me to enter my webauthn yubikey key it goes from password entry to half a second on the security key screen then straight to 404 error.
Desktop app has a
Loading...
where the picture of a security key should be not allowing me to enter the key.Troubleshooting data
I made sure that rocket TLS is not on as per : #760
Also set LOG_LEVEL=debug to try and debug although I couldn't really find a cause.
For mobile login originally I had
^^ removed random sections of token in order to keep privacy
But then I pulled latest image and now I get
For the desktop app it won't let me enter a yubikey as if it's waiting for as response from vaultwarden. If I go ahead anyway and press
continue
I obviously get:If I change the apps to use the bitwarden servers I get no issues.
It was up and working up until very recently and so I thought maybe vaultwarden updated something and changed their API or something but it hasnt been reported by anyone else so not sure what's going on.
EDIT:
During the webauthn login I can select use another fasctor and using yubikey rather than webauthn works on desktop app however I don't get that option on mobile app
EDIT2: Yubiokey works on mobile as well so it's only webauthn for mobile and desktop while browser extension works fine.
The text was updated successfully, but these errors were encountered: