mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
Android client crashing on Unlock (works in login) if using bitwarden_rs as server #809
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 @callingshotgun on GitHub (Sep 24, 2020).
Describe the Bug
I'm connecting my Android client to a local network server with self-signed certs. Connecting by IP address or machine name, not FQDN. I can logout/login to the android app just fine, see my passwords, edit things, etc. But for some reason if I lock the app and then attempt to unlock it, I get a crash. Stack trace from ADB is:
This only seems to happen if connecting to bitwarden_rs, not if connecting to official bitwarden server.
Also I've tried manually changing the value of the KDF iterations in case there was some "no default value" issue, but that didn't change anything. Unfortunately building hte mobile app requires visual studio and xamarin, which I don't have, so there's no way for me to build a version with better debugging output (like, say, the number of iterations it thinks the setting is)
Steps To Reproduce
Environment: Bitwarden_RS server (not sure which server is relevant, but just in case) on local network. mkcert to create self-signed certs. No externally accessible domain name involved.
Install Android client, log in to local bitwarden server
Add some data, delete some data, sync, observe changes via web client if you want. Verify connection appears fine, user has logged in.
Lock client
Attempt to unlock client.
Expected Result
Unlocks app
Actual Result
Crashes app
Environment
Client:
Additional Context
Server:
Misc:
*Also filed this issue in bitwarden mobile app repo, they suggested filing here if mobile app worked successfully against official bitwarden server. That ticket is here : https://github.com/bitwarden/mobile/issues/1087
@jjlin commented on GitHub (Sep 24, 2020):
You shouldn't be using the
raspberrytag anymore, see https://github.com/dani-garcia/bitwarden_rs/wiki/Which-container-image-to-use@callingshotgun commented on GitHub (Sep 24, 2020):
@jjlin Thank you so much! That turned out to be the issue. I must have followed a slightly stale tutorial in setting everything up.
Closing the bug.