mirror of
https://github.com/bitwarden/android.git
synced 2026-03-15 06:59:05 -05:00
Every version of Bitwarden beta starting with 2024.6.1-beta logs me out randomly (self hosted). #2021
Closed
opened 2025-11-26 23:05:22 -06:00 by GiteaMirror
·
35 comments
No Branch/Tag Specified
main
crowdin-pull
sdlc/sdk-update
pm-33356/policy-changed-push-sync
premium-upgrade/PM-33508-billing-api-service
PM-30130-remove-archive-feature-flag
tooling/improve-review-workflow
PM-32663/update-vault-migration-screens
llm/add-resolving-sdk-updates-skill
QA-1523/sanity-test-saucelabs
release/2026.3-rc48
PM-24380/flight-recorder-redact-hostname
PM-26577-app-links-support
PM-26896-autofill-fix
release/2026.2-rc47
PM-32714/fallback-to-web-vault-host
pr-6572
PM-28834/setting-app-layout-horizonos
vvolkgang/process-release-notes-v2
release/2026.2-rc46
release/2026.1-rc45
PM-30644/added-logs-for-debug
PM-30644/quicktile-nav-not-showing-migration
minor-gradle-updates
release/2026.1-rc42
release/2026.1-rc44
release/2026.1-rc43
PM-28834/set-landscape-on-horizonos-devices
context-rules
devclarity/update-code-review-command
PM-20026/force-ltr-passwords-and-codes
release/2025.12-rc41
cmcg/testCoverage
claude-skill/creating-feature-flags
PM-29014/talkback-support-for-passwords
release/2025.12-rc40
BRE-1305/publish_test
accept-user-certs
autofill-permissions
release/2025.11-rc39
PM-22479/check-all-certificates-validate-asset-links
release/2025.10-rc38
agalles/android-latest
optimize-test-workflows
tier2-test-sharding
retro-agent
PM-27001/skip-account-selection-only-one-exists-cxp
release/2025.10-rc37
agalles/test-1118
release/2025.10-rc36
PM-20593-token-refresh
QA-1126b/adding-native-sanity-test
release/2025.9-rc35
pm-25933/sdk-update-password
release/2025.9-rc34
release/2025.8-rc33
agalles/20250821-release
debug-release-issues
pm-24249-allow-automated-prs-for-sdk-updates
release/2025.8-rc32
release/WORKFLOW-TEST-2025.8-rc28
agalles/20250807release
release/2025.07-rc25
release/hotfix-v2025.7.0-bwa
pm-23311/export-vault-policy-bypass
release/2025.07-rc24
authenticator-pm-sync-flags-issue
ps/implement-sdk-repository-example
release/hotfix-v2025.6.0-bwpm
release/2025.06-rc21
agalles/automate-android-fastlane-patch
release/2025.05-rc20
release/2025.04-rc19
languages/basque
release/2025.03-rc19
update-readme
qrcode/feature
innovation/archive/pm-19153-archive-items
qrcode/2-ui-fields
qrcode/1-page
hold-on-biometric-prompt-alternative
release-notes-process
release/2025.02-rc16
bwa-monorepo
PM-8223/new-device-verification-ux-improvements
pm-18451/exempt-from-policies
test-bwa
cs-workaround-linked-0-copy
release/2025.01-rc15
release/2025.01-rc14
release/2024.12-rc13
pm-16670/sync-leave-notice
821
PM-16695/backport-lean-more-new-device-verification
km/15084-testing
release/hotfix-v2024.11.7
release/2024.11-rc1
pm-11304/collection-add-item-button
PM-14241/disabling-logs-app-crash
poc/offline-editing
new-version-calc
pm-11649/expired-link-services
pm-6702/add-feature-flag
pm-6702/email-verification-feature
pm-9933/marketing-copy-update
pm-6702/registration-flows
update-templates
pm-6701/email-verification-selfhost-registration
v2026.2.1-bwpm
v2026.2.1-bwa
v2026.2.0-bwpm
v2026.2.0-bwa
v2026.1.1-bwa
v2026.1.1-bwpm
temp-test
v2026.1.0-bwpm
v2026.1.0-bwa
v2025.12.1-bwa
v2025.12.1-bwpm
v2025.12.0-bwa
v2025.12.0-bwpm
v2025.11.1-bwpm
v2025.11.1-bwa
v2025.11.0-bwpm
v2025.11.0-bwa
v2025.10.1-bwa
v2025.10.1-bwpm
v2025.10.0-bwa
v2025.10.0-bwpm
v2025.9.1-bwa
v2025.9.1-bwpm
v2025.9.0-bwa
v2025.9.0-bwpm
v2025.8.1-bwa
v2025.8.1-bwpm
v2025.8.0-bwa
v2025.8.0-bwpm
v2025.7.2-bwa
v2025.7.2-bwpm
v2025.7.1-bwa
v2025.7.1-bwpm
v2025.7.0-bwa
v2025.7.0-bwpm
v2025.6.1-bwpm
v2025.6.0-bwa
v2025.6.0-bwpm
v2025.1.0-bwa
v2025.5.0-bwa
v2025.5.0-bwpm
v2025.5.999
2025.4.0
v2025.4.0
untagged-4731eaadac73f3dfbbb8
v2025.3.0
v2025.2.0
untagged-815a165c5d70ffe75bc7
v2025.1.2
v2025.1.1
v2025.1.0
v2024.12.0
untagged-5a76b6392a4c8998c63a
v2024.11.7
v2024.11.6
v2024.11.5
v2024.11.4
v2024.11.3
v2024.11.2
v2024.11.1
v2024.11.0
v2024.10.2
v2024.10.1
v2024.10.0
v2024.9.0
v2024.8.1
v2024.8.0
v2024.7.3
v2024.7.2
v2024.7.1
v2024.7.0
v2024.6.1
v2024.6.0
v2024.5.1
v2024.4.1
v2024.4.2
v2024.4.0
v2024.3.3
v2024.3.1
v2024.3.0
v2024.2.1
v2024.2.0
v2024.1.1
v2024.1.0
v2023.12.0
v2023.10.0
v2023.9.2
maui-single-project-android
v2023.9.1
v2023.9.0
v2023.8.0
v2023.7.0
v2023.5.0
v2023.4.0
v2023.3.2
v2023.3.1
v2023.3.0
v2023.2.0
v2023.1.0
v2022.11.0
v2022.10.0
v2022.9.1
v2022.9.0
v2022.8.0
v2022.6.2
v2022.6.1
v2022.6.0
v2022.05.0
v2.18.0
v2.17.0
v2.16.4
v2.16.3
v2.16.2
v2.16.1
v2.15.0
v2.14.2
v2.14.1
v2.14.0
v2.13.0
v2.12.0
v2.11.3
v2.11.2
v2.11.1
v2.11.0
v2.10.0
v2.9.1
v2.9.0
v2.8.2
v2.8.1
v2.8.0
v2.7.2
v2.7.0
v2.6.1
v2.6.0
v2.5.6
v.2.5.5
v2.5.5
v2.5.4
v2.5.3
v2.5.2
v2.5.1
v2.5.0
v2.4.3
v2.4.2
v2.4.1
v2.4.0
v2.3.1
v2.3.0
v2.2.8
v2.2.7
v2.2.6
v2.2.2
v2.2.1
v2.2.0
v2.1.2
v2.1.0
v2.0.6
v2.0.5
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.0
v1.22.1
v1.22.0
v1.21.0
v1.20.0
v1.19.0
v1.18.1
v1.18.0
v1.17.0
v1.16.0
v1.15.2
v1.15.1
v1.15.0
v1.14.4
v1.14.1
v1.14.0
v1.13.0
v1.12.2
v1.12.1
v1.12.0
v1.11.1
v1.11.0
v1.10.0
v1.9.0
v1.8.1
v1.8.0
v1.7.0
v1.6.5
v1.6.1
v1.6.0
v1.5.1
v1.5.0
v1.4.4
v1.4.3
v1.4.0
v1.3.0
v1.2.1
v1.2.0
v1.1.0
v1.0.0
v0.0.6
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
Milestone
No items
No Milestone
Projects
Clear projects
No project
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/android#2021
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking 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 @vinnyperella on GitHub (Oct 13, 2024).
Bitwarden Beta
Steps To Reproduce
Expected Result
Just as with the legacy .NET app I would expect it to stay logged in. I've tried multiple beta versions and all the results are the same.
Actual Result
I am logged out randomly and have to reenter my credentials and 2fa.
Screenshots or Videos
No response
Additional Context
I am using GrapheneOS (latest version) which has never been a problem with legacy apps.
Build Version
Currently: 2024.6.0 because it's the only one that doesn't exhibit this behavior but I've tried every beta.
Environment Details
Pixel 8 Pro, API level 34. GrapheneOS version 2024101200 kernel version 5.15.167-android14-11-gfe3eb0600ceb
#1 Fri Oct 11 02:03:20 UTC 2024
Issue Tracking Info
@bitwarden-bot commented on GitHub (Oct 13, 2024):
Thank you for your report! We've added this to our internal board for review.
ID: PM-13500
@sammbw commented on GitHub (Oct 14, 2024):
Hi there,
I am unable to reproduce this issue, it has been escalated for further investigation. If you have more information that can help us, please add it below.
Thanks!
@pamperer562580892423 commented on GitHub (Oct 14, 2024):
@vinnyperella What is your server version?
@vinnyperella commented on GitHub (Oct 14, 2024):
I'm using the latest version of self-hosted 2024.10.0 so my server version would be 2024.9.2.
Also wanted to mention I'm using the fdroid version.
@vinnyperella commented on GitHub (Oct 30, 2024):
I updated to latest self-hosted and this continues to happen. In GapheneOS you can view an apps system logs I grabbed them after it logged me out not sure if those would help. I was logged in then pressed the search button and it logged me out. It's getting to the point where I might revert back to 2024.6.0 the last release that worked.
I'll try 2024.10.1 and see if the same thing happens once it's released on F-Droid.
@vinnyperella commented on GitHub (Nov 1, 2024):
Same issue with 2024.10.2.
@kedom1337 commented on GitHub (Nov 6, 2024):
Facing the same issue. Also on GrapheneOS so that might have something to do with it. When I try to log in again I get an error telling me "We were unable to process your request" (Version: 2024.10.2)
@vinnyperella commented on GitHub (Nov 13, 2024):
Same issue with 2024.11.3. The last version that didn't have this issue was 2024.6.0.
@pamperer562580892423 commented on GitHub (Nov 13, 2024):
@vinnyperella Just out of curiousity: Did you try to delete the app data, delete the app, probably restart your phone and after that reinstall the app again? - And your server version is now on 2024.10.2 at the moment?
@vinnyperella commented on GitHub (Nov 13, 2024):
I just performed those actions so we'll see but I do not have high hopes. And yes I am on the latest self-hosted version. This started occurring when you made the switch to the native version.
@pamperer562580892423 commented on GitHub (Nov 14, 2024):
The first part: that is general troubleshooting - and it may be that in the data was some "hiccup" causing this. Or maybe not.
To the second part: I asked this, because it could also be an "interaction" between app and server (version), so I guess both should be reported.
Sorry, I'm not from Bitwarden 😅 but just another user who stumbled upon this issue (while searching for another issue 😉 ) - and initially I noticed, that you didn't report the self-hosted server version... that's why I asked it initially.
I hope it get's resolved for you.
@mprasil commented on GitHub (Nov 16, 2024):
@sammbw @bitwarden-bot First of all, I'm using vaultwarden self-hosted server, so I'm not sharing this with request for support. Just sharing it with the hope that it might help you troubleshooting this as the issue might not be specific to any backend implementation.
Anyways, what I've noticed is that Bitwarden (this new Kotlin version) will log me out and forget all my settings when it tries to reach out to the server, but for some reason can't. I suppose this might be what hits folks here self hosting their servers - in case they are outside of their home network and don't have the service exposed publicly.
Steps to reproduce:
The old app handled this situation pretty transparently - some functionality didn't work (like saving new passwords) but otherwise passwords could be viewed locally without server being accessible. Unlocking with fingerprint worked, etc..
Apologies if this Vaultwarden-specific issue (doesn't look like) and hope it helps a bit.
@danielgrant commented on GitHub (Nov 18, 2024):
Another +1 for this issue since upgrading to the native Android app (currently running 2024.11.5 on One UI 6.1 / Android 14) - this affects any self-hosted scenario (both self-hosting of the official server, and indeed Vaultwarden) where the app fails to connect to the backend after the vault is unlocked.
Instead of the legacy .NET app behaviour where one could still browse the vault and retrieve passwords, it simply logs them out. This is incredibly frustrating, as:
This is quite simple to replicate as @mprasil has pointed out. There also another issue recently opened for this: https://github.com/bitwarden/android/issues/4318.
@vinnyperella commented on GitHub (Nov 20, 2024):
I put my phone in airplane mode and was still able to open the app and access my vault. I've found no way too reproduce this issue it happens randomly for me. I've upgraded to the latest self hosted instance and am using the 2024.11.3 Android app.
I have no issues with the browser extensions in Chromium or Firefox.
@mprasil commented on GitHub (Nov 20, 2024):
@vinnyperella I think you still need to have internet access to reproduce it. It seems to handle offline situation okay, it's just when it's online and can't access the service when this triggers for me.
@pamperer562580892423 commented on GitHub (Dec 9, 2024):
@sammbw With the last versions of the new native app (sideloaded via GitHub), I do see random logouts now as well. It happened at least with the 2024.11.5 and now with the 2024.11.7 (I'm not sure, if I encountered it with the previous versions, like 2024.11.3 or below... I'm pretty sure, it didn't happen to me with the last version of the old Android app 2024.10.0)
I set biometric unlock with 5 minutes vault timeout. A few times it may work (to just unlock as it should be) - but then suddenly I'm completely logged out in the app and have to login again.
I'm not self-hosted (= cloud-default). Android 14 on Fairphone 5.
PS: I already checked other settings... The battery setting is set to "unrestricted", the app doesn't get "killed"...
@vinnyperella commented on GitHub (Dec 16, 2024):
I hadn't been logged out for some time on 2024.11.7 until I upgraded my Bitwarden self hosted instance and rebooted the server to apply updates. As soon as I did that but had everything running it logged me out of the Android native client.
@vinnyperella commented on GitHub (Jan 9, 2025):
This may have been fixed in 2025.1.0 which was released yesterday. I installed 2024.12.0 (prior release) and ran in to the issue when I stopped my Bitwarden self-hosted instance to patch the host. After installing 2025.1.0 I updated my SSL cert, which required me to stop the docker containers, and it did not log me out this time. Once the self-host repo gets updated with the new server and web versions for 2025.1.0 I will test again and reboot my VM to see if the issue persists.
Edit: Never mind, just got booted out on 2025.1.0.
@vinnyperella commented on GitHub (Jan 16, 2025):
Upgraded to self-host version 2025.1.0 (with Android version 2025.1.0 as well) and so far so good. Wasn't kicked out when I performed the upgrade which included a reboot of the server.
@mprasil commented on GitHub (Jan 16, 2025):
@vinnyperella I think you're correct. With 2025.1.0 I can no longer reproduce the issue with my self-hosted instance.
@vinnyperella commented on GitHub (Jan 18, 2025):
Bummer, just got booted out when I tried to search my vault.
@jtruland commented on GitHub (Feb 26, 2025):
This seemed to be improved under 2025.1.x, but is now back with 2025.2.0 yesterday.
@vinnyperella commented on GitHub (Feb 26, 2025):
I only update when releases are posted on Github so I'm still on 2025.1.2 but I'm still experiencing the issue as you say albeit less often.
Edit: Oh, I see what you're saying, the self-host release 2025.2.0.
Still seeing the issue with:
self-host 2025.2.0
android 2025.1.2
@vinnyperella commented on GitHub (Mar 15, 2025):
I haven't been logged out yet on self host 2025.2.1 and Android 2025.2.0.
@vinnyperella commented on GitHub (Mar 16, 2025):
Of course as soon as I make a comment after over a week of having no issues I get logged out...
@vinnyperella commented on GitHub (May 7, 2025):
Still occuring on latest self-host (2025.4.2) and Android (2025.4.0) versions. This only seems to occur when the self-hosted instance is restarted however this is not an issue for the browser extensions. When I upgrade my self-hosted instance I always reboot my VPS and then when I go to use the Android app when it tries to sync is kicks me out to the login screen. I have not been logged out without restarting my self hosted instance in a very long time.
@vinnyperella commented on GitHub (May 29, 2025):
This is still occuring on the latest self-host and Android version.
@vinnyperella commented on GitHub (Jun 12, 2025):
This is incredibly bad with the latest self-host (2025.5.2) and Android (2025.5.0) version I get logged out at least once per day.
@vinnyperella commented on GitHub (Jun 30, 2025):
Updated to Android version 2025.6.0 and have not been logged out yet. I even upgraded Bitwarden self-host to 2025.6.2 and reboot my VPS for patches, which usually triggers the logout scenario, and it has not occurred yet. 🤞🏼
@vinnyperella commented on GitHub (Jul 9, 2025):
Unfortunately the issue has come back with 2025.6.1 I get logged out at least once per day now.
@kedom1337 commented on GitHub (Jul 9, 2025):
Yeah same here. I again can't even log in
@vinnyperella commented on GitHub (Aug 10, 2025):
Still an issue on 2025.7.2 basically every time I don't open the app for a while it opens but then if I do anything like search or open an item it logs me out. It's especially annoying because I don't carry my yubikey around which I need to log back in.
@vinnyperella commented on GitHub (Sep 2, 2025):
This could potentially be fixed in 2025.8.0 I have not been logged out yet and I've upgraded my self host instance (including rebooting the host) and also reboot my phone a couple times.
@vinnyperella commented on GitHub (Sep 10, 2025):
Upgraded to Android 2025.8.1 and self-host 2025.8.3 and still have not been logged out I've even upgraded my self-host instance a couple times which generally causes the logout issue and it has been fine. Going to give it another week or so then close the issue if it doesn't return.
@vinnyperella commented on GitHub (Sep 19, 2025):
Still not an issue in 2025.9.0, closing issue unless it returns.