mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
mobile client and desktop app returns 404:Not Found with webauthn. #1130
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @RT-Tap on GitHub (Oct 14, 2021).
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.ymlbitwardenconfig.envhttpd-vhosts.confhttpd.confExpected 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 : https://github.com/dani-garcia/vaultwarden/issues/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
continueI 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.
@BlackDex commented on GitHub (Oct 14, 2021):
Thanks for the very detailed report.
It looks like you are using the
latesttagged image.I think this is fixed in the
testingtagged image of Vaultwarden.Could you try that version and see if it works.
@ApolloDS commented on GitHub (Oct 14, 2021):
I can confirm that it works now with the testing image.
On a iPhone with the mobile client and WebAuthn I didn't got the 404 anymore.
Thank you
👍