Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vault gets stuck on loading after unlocking #3881

Open
2 tasks done
antiquely8637 opened this issue Sep 7, 2024 · 35 comments
Open
2 tasks done

Vault gets stuck on loading after unlocking #3881

antiquely8637 opened this issue Sep 7, 2024 · 35 comments
Labels

Comments

@antiquely8637
Copy link

antiquely8637 commented Sep 7, 2024

Bitwarden Beta

  • I'm using the new native Bitwarden Beta app and I'm aware that legacy .NET app bugs should be reported in bitwarden/mobile

Steps To Reproduce

  1. Tap on a login field.
  2. Unlock app with PIN or biometrics.

Expected Result

List of saved login items is shown.

Actual Result

App gets stuck on a loading circle. Force closing the app fixes the issue for a while.

Screenshots or Videos

Screenshot_20240907-104017

Additional Context

No response

Build Version

2024.8.1-beta (19099)

Environment Details

Pixel 8 Pro on Android 14.

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
@bitwarden-bot
Copy link

Thank you for your report! We've added this to our internal board for review.
ID: PM-11753

@SergeantConfused
Copy link

Hello @antiquely8637,

Thank you for bringing this to my attention.

  1. How many matching vault items are displayed when you do unlock Bitwarden successfully?
  2. Does this happen only when you unlock the vault via a PIN? Are you able to reproduce this whilst unlocking the vault via the master password or biometrics?
  3. Are you logged into more than one Bitwarden account via that Bitwarden Android client?
  4. Could you please detail your KDF configuration?

For added context, I am unable to reproduce this on a Pixel 5 running Android 14 with Bitwarden 2024.8.0 by attempting to perform autofill with 1 matching vault item within Chrome whilst I am logged into a single Bitwarden account.

Thank you in advance,

@antiquely8637
Copy link
Author

antiquely8637 commented Sep 8, 2024

Hi @SergeantConfused

  1. How many matching vault items are displayed when you do unlock Bitwarden successfully?
    When it successfully unlocks, I can see all saved matching items properly. Can be 1 or more depending on the specific website. The app hangs irrespective of how many matching items are in the vault.

  2. Does this happen only when you unlock the vault via a PIN? Are you able to reproduce this whilst unlocking the vault via the master password or biometrics?
    Happens with both PIN and biometrics (fingerprint and face unlock).

  3. Are you logged into more than one Bitwarden account via that Bitwarden Android client?
    Only one account.

  4. Could you please detail your KDF configuration?
    Argon2id 64 MB memory, 3 iterations and 4 threads. I have tried changing back to PBKDF2 with 600 000 iterations, but that did not fix it.

I've noticed that the app hangs after the it times out in the background. Try setting a 1 minute session timeout, let the app lock itself in the background, and try to autofill within chrome.

@fredgolightly
Copy link

Happening here too on all devices using 2024.8.0 (18985)

@flo-m
Copy link

flo-m commented Sep 9, 2024

same here, after autofill unlocking with biometrics - only loading circle is shown.
Force Close Bitwarden Beta 2024.8.1 and starting again brings up the vault within a second.

@dfunkt
Copy link

dfunkt commented Sep 11, 2024

@SergeantConfused: Managed to get some logs for you (Version 2024.8.1 (19099))

09-11 19:29:50.395 22330 22330 E ActivityImpl: get life cycle exception
09-11 19:29:50.395 22330 22330 E ActivityImpl: java.lang.ClassCastException: android.os.BinderProxy cannot be cast to android.app.servertransaction.ClientTransaction
09-11 19:29:50.395 22330 22330 E ActivityImpl: 	at android.app.ActivityImpl.checkAccessControl(ActivityImpl.java:64)
09-11 19:29:50.395 22330 22330 E ActivityImpl: 	at android.app.ActivityImpl.onResume(ActivityImpl.java:140)
09-11 19:29:50.395 22330 22330 E ActivityImpl: 	at android.app.Activity.onResume(Activity.java:2128)
09-11 19:29:50.395 22330 22330 E ActivityImpl: 	at i.i.onResume(Unknown Source:5)
09-11 19:29:50.395 22330 22330 E ActivityImpl: 	at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1592)
09-11 19:29:50.395 22330 22330 E ActivityImpl: 	at android.app.Activity.performResume(Activity.java:8741)
09-11 19:29:50.395 22330 22330 E ActivityImpl: 	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:5079)
09-11 19:29:50.395 22330 22330 E ActivityImpl: 	at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:5122)
09-11 19:29:50.395 22330 22330 E ActivityImpl: 	at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:54)
09-11 19:29:50.395 22330 22330 E ActivityImpl: 	at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
09-11 19:29:50.395 22330 22330 E ActivityImpl: 	at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
09-11 19:29:50.395 22330 22330 E ActivityImpl: 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
09-11 19:29:50.395 22330 22330 E ActivityImpl: 	at android.app.ClientTransactionHandler.executeTransaction(ClientTransactionHandler.java:64)
09-11 19:29:50.395 22330 22330 E ActivityImpl: 	at android.app.ActivityThread.handleRelaunchActivityLocally(ActivityThread.java:6064)
09-11 19:29:50.395 22330 22330 E ActivityImpl: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2436)
09-11 19:29:50.395 22330 22330 E ActivityImpl: 	at android.os.Handler.dispatchMessage(Handler.java:106)
09-11 19:29:50.395 22330 22330 E ActivityImpl: 	at android.os.Looper.loopOnce(Looper.java:211)
09-11 19:29:50.395 22330 22330 E ActivityImpl: 	at android.os.Looper.loop(Looper.java:300)
09-11 19:29:50.395 22330 22330 E ActivityImpl: 	at android.app.ActivityThread.main(ActivityThread.java:8503)
09-11 19:29:50.395 22330 22330 E ActivityImpl: 	at java.lang.reflect.Method.invoke(Native Method)
09-11 19:29:50.395 22330 22330 E ActivityImpl: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:561)
09-11 19:29:50.395 22330 22330 E ActivityImpl: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:954)
09-11 19:29:50.397  4743  4743 W RecentsImpl: onResumed className=com.x8bit.bitwarden.MainActivity   mIsInAnotherPro=false   isKeyguardLocked=false   mSecuritySpaceGuideShown=false
09-11 19:29:50.398  4743  4830 W RecentsImpl: disableTouchBySwipeStatusBar    disable=false
09-11 19:29:50.398  4743  4830 W RecentsImpl: disableBackStubWindow    disableTouch=false

Steps to reproduce:

  1. Create entry for a site to auto-fill
  2. Enable Auto-fill services
  3. Set session timeout to 1 minute
  4. Try to auto-fill entry via Gboard's inline auto-fill in Chrome after the timeout value is reached

@Issam28
Copy link

Issam28 commented Sep 11, 2024

@SergeantConfused, I can reproduce this bug following these steps:

  1. Open the bitwarden vault and keep the app oppened in the background.
  2. Go to chrome and auto fill from any website
  3. The vault will hang forever.

For testing purposes, I set the vault timer to "immediately" but the bug can be reproducible by any timer. I'm using a Pixel 8 on Android 15 beta.

Here's a video that shows how it works.

screen-20240911-204946_TyZUyceW.mp4

@antiquely8637 antiquely8637 changed the title Vault randomly stuck on loading after unlocking Vault gets stuck on loading after unlocking Sep 12, 2024
@dragm83
Copy link

dragm83 commented Sep 12, 2024

Same issue on a Galaxy S23 Ultra running 2024.8.1 (beta).

@MillionsToOne
Copy link

+1

@SergeantConfused
Copy link

Hello everyone,

Thank you all for your input. I was able to reproduce this now on a Pixel 5 running Android 14 with Bitwarden 2024.8.1, and have highlighted this internally to the Engineering department. Please feel free to post additional information, such as screenshots or a screen video recordings, if you wish.

Thank you all again,

@johnkennyuk
Copy link

johnkennyuk commented Sep 24, 2024

Also affected by this bug. Reverted to prebeta because of this bug and missing feature #3766

@johnkennyuk johnkennyuk mentioned this issue Sep 24, 2024
2 tasks
@SohamJ
Copy link

SohamJ commented Oct 1, 2024

One workaround I've been using is to open the app again and then go back to autofill. That avoids the need to force close the app.

@antiquely8637
Copy link
Author

Just tried a clean install of 2024.9.0 (19209). Bug still there.

@flo-m
Copy link

flo-m commented Oct 1, 2024

What works for me as a temporary workaround ist to set the Energy saving feature for bitwarden app to max - so that the App will be closed instantly.
Then Autofill works fine and the bug ist Not there...

@tykisson
Copy link

tykisson commented Oct 8, 2024

App Version 2024.9.0 still an issue.
Did find if I open/unlock Bitwarden first then go to app and use autofill it will search properly with out just sitting there spinning.

@ghanjiboy
Copy link

I am also experiencing the same issue. I have only had the beta installed since around September 10th. This spinning behavior wasnt happening then, but started happening about a week or so ago. I am experiencing the same as others above with spinning right after initiating autofill and unlocking.

If I unlock the app and then goto autofill, everything works, the app opens and presents the handful of choices.

I am running 9.0 as well.

@laxmanpradhan
Copy link

laxmanpradhan commented Oct 17, 2024

I have the same issue on 2024.9.0 installed via obtainium on a google pixel 8.

I'm connecting to a self hosted vaultwarden if that matters. Happy to update with logs, I just don't know how to get logs for the android app.

The same workaround above works for me. This is only an issue when Bitwarden is opened via autofill prompt from the browser. When I force close it and open Bitwarden directly it works without issue.

@Bims-sh
Copy link

Bims-sh commented Oct 21, 2024

Same problem here on 2024.9.0, Android 15

Opening the app from my home menu and going back to auto-fill in my browser makes it load and work for some time 👍

@cs-manughian
Copy link

cs-manughian commented Oct 22, 2024

I'm running v2024.6.2 and experiencing the same issue on the desktop app on Windows 10. Inputting my password loads indefinitely and it never unlocks.

@laxmanpradhan
Copy link

laxmanpradhan commented Oct 22, 2024

FWIW clearing the cache and relogging into the app fixed it for now. I'll report back on if it happens again. Could be an error that takes a few days to show up

@RickPJ
Copy link

RickPJ commented Oct 22, 2024

App Version 2024.9.0 still an issue. Did find if I open/unlock Bitwarden first then go to app and use autofill it will search properly with out just sitting there spinning.

I can confirm this behaviour (same app version).

In addition, after attempting to open for autofill, using fingerprint, and getting to spinning circle, if I then back out to the page I'm trying to fill, then open BW normally, it opens and is unlocked (i.e. the previous fingerprint succeeded).

Then, back on the page I want to fill, I can open for autofill and there is no delay.

@ralob
Copy link

ralob commented Oct 22, 2024

App Version 2024.9.0 still an issue. Did find if I open/unlock Bitwarden first then go to app and use autofill it will search properly with out just sitting there spinning.

I can confirm this behaviour (same app version).

In addition, after attempting to open for autofill, using fingerprint, and getting to spinning circle, if I then back out to the page I'm trying to fill, then open BW normally, it opens and is unlocked (i.e. the previous fingerprint succeeded).

Then, back on the page I want to fill, I can open for autofill and there is no delay.

This is the same thing I experience with Android 14 and BW version 2024.9.0 (19209).

Additionally, sometimes I have to force close BW and reopen it to get autofill to work for the page I'm on.

@bluearcher-bc
Copy link

bluearcher-bc commented Oct 24, 2024

Additionally, sometimes I have to force close BW and reopen it to get autofill to work for the page I'm on.

@ralob switch from your browser/app you are trying to auto fill over to Bitwarden, then do a sync on the vault, then switch back to the app

@Bims-sh
Copy link

Bims-sh commented Oct 25, 2024

Same problem here on 2024.9.0, Android 15

Opening the app from my home menu and going back to auto-fill in my browser makes it load and work for some time 👍

For the past week this problem somehow went away for no reason, I have not changed any settings on my phone that could have fixed this as far as I'm aware.

@niikoo
Copy link

niikoo commented Oct 25, 2024

Additionally, sometimes I have to force close BW and reopen it to get autofill to work for the page I'm on.

@ralob switch from your browser/app you are trying to auto fill over to Bitwarden, then do a sync on the vault, then switch back to the app

This works as a workaround, but it's very annoying that I have to do that all the time.

Currently running Bitwarden version 2024.9.0 (19209) on Android 15 QPR Beta 2 (Pixel 6).

@leo-liar
Copy link

leo-liar commented Oct 30, 2024

Problem unfortunately still not fixed with recently released stable build 2024.10.1 ...

(As workaround I'm doing what bluearcher-bc recommended a few days ago.)


Edit:
With 2024.10.2 this seems to be fixed now!
Seems to have been a fluke because the bug is occurring again :/

OnePlus 8T on LineageOS 20 (Android 13)

@ghanjiboy
Copy link

With the latest beta and now the official release, both are now working as expected for me.

@maszaa
Copy link

maszaa commented Oct 30, 2024

Exists in 2024.10.2 which seems to be the latest official version.

@Ices-Eyes
Copy link

Hi, same problem here with the official version released this days 2024.10.2 on Oneplus Nord 2 with android 13.

@RickPJ
Copy link

RickPJ commented Oct 31, 2024

I'm now on 2024.90, and the autofill tile doesn't work at all. Even when on a field and URL for which I know BW has an entry, tapping the tile does nothing. Force closing BW doesn't fix it.
FairPhone 3, AOS 11

@masterflitzer
Copy link

@RickPJ can you try on 2024.10.1 or even 2024.10.2? it's fixed for me currently (no problems for 1 day)

@MillionsToOne
Copy link

@RickPJ can you try on 2024.10.1 or even 2024.10.2? it's fixed for me currently (no problems for 1 day)

I believe it will be mentioned in the changelog once it's fixed.

@RickPJ
Copy link

RickPJ commented Oct 31, 2024

Where can I download the APK? Currently I'm just getting beta updates from the Play store, latest there is 2024.9.0

@MillionsToOne
Copy link

Where can I download the APK? Currently I'm just getting beta updates from the Play store, latest there is 2024.9.0

Github releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests