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

Password vault not syncing at every login #457

Closed
pavankjadda mannequin opened this issue Feb 5, 2019 · 94 comments
Closed

Password vault not syncing at every login #457

pavankjadda mannequin opened this issue Feb 5, 2019 · 94 comments
Assignees

Comments

@pavankjadda
Copy link
Mannequin

pavankjadda mannequin commented Feb 5, 2019

Whenever I add/update a password on a Laptop or Desktop, it’s not automatically syncing to my iPhone even though I authenticate my phone with FaceId. Push notifications are enabled to the app.
I am using iOS 12 on iPhone X

@chewiesGit
Copy link
Mannequin

chewiesGit mannequin commented Feb 5, 2019

I noticed the same thing using Android 8.0.0 on a LG G7. I often have to manually sync first to have all new passwords. But not always, sometimes it gets synced immediately.

This also leads to the problem that when deauthorizing all sessions in the web vault, the active session on my mobile does not get deauthorized immediately. I first need to do something that triggers communication with the server (like manually syncing) that I get logged out. Would be nice if deauthorizing would lead to logging out immediately.

@m3gg3
Copy link
Mannequin

m3gg3 mannequin commented Apr 22, 2019

Same Problem Herr, please give us an option to enable sync on every app start and Everytime autofill is searching the vault

@dpbrick
Copy link
Mannequin

dpbrick mannequin commented Jun 1, 2019

No solution after 4 months? What is going on? Are you folks not supporting Bitwarden anymore? That would be a shame because it has so much promise. Do we need to pay to get support? If so, I will, because I think this is far superior to LastPass, or at least it could be if you get the glitches worked out.

@dpbrick
Copy link
Mannequin

dpbrick mannequin commented Jun 1, 2019

Actually found that by deleting the app, redownloading it from the cloud, installing and logging in, the bug was fixed — at least temporarily. One of the first things that happens when you log in is it asks you to accept notifications in order to enable AUTOMATIC VAULT SYNCHRONIZATION. When I allowed notifications, BANG! All my recently added logins appeared. The app must have gotten out of whack somehow because I know I never turned notifications off for it.

@haldyr
Copy link
Mannequin

haldyr mannequin commented Jul 4, 2019

Same problem on Android 8.

@LapinFou
Copy link
Mannequin

LapinFou mannequin commented Jul 29, 2019

Hi folks,

First of all, I would like to congratulate the dev team for this fantastic password manager. 👍
Like many people I trust more the open source projects than the proprietary ones. This is the only way to be 100% sure that there is not backdoor and there is no critical issue in the security.

Back to this issue: I'm running the latest apps on my Win laptop (Win10 Home & Pro), my android Tablet (Android v9) and my iPhone 7 (iOS 12.3.1).

Like some users, I got an issue with the iOS iPhone app (v2.1.2 build 53).

  • When adding/updating one or more items on the iPhone, the modifications are instantaneously push to the vault and available for all others clients.
  • When adding/updating one or more items from the vault website, the modifications are not pull to the iPhone Apps. For all others clients (Win stand alone app & Firefox addon), it is OK. The modifications are instantaneously visible.
  • When adding/updating one or more items from a stand-alone or addon app, the modifications are instantaneously pull to others Apps and to the obviously to the vault, excepted for the iOS iPhone app...

In my case, the pull mechanism is not working as expected, however the push is OK.
I need to manually force the vault synchronization.

@kspearrin
Copy link
Mannequin

kspearrin mannequin commented Jul 29, 2019

@LapinFou What if you reinstall the mobile app? Does it work then?

@LapinFou
Copy link
Mannequin

LapinFou mannequin commented Jul 29, 2019

I already try (without rebooting my iPhone), unfortunately this didn't solve the problem.
Do I need to clear something after uninstalling the app?

@kspearrin
Copy link
Mannequin

kspearrin mannequin commented Jul 29, 2019

@LapinFou Are you using Bitwarden Cloud or On-prem hosted?

@LapinFou
Copy link
Mannequin

LapinFou mannequin commented Jul 29, 2019

At first, I tried the On-prem solution on a Synology NAS, but I decided that Bitwarden could be fully trusted. So, I switched on the Cloud version with the Premium subscription ( TOTP authenticator is a so cool feature 😃 ).

@LapinFou
Copy link
Mannequin

LapinFou mannequin commented Jul 30, 2019

I forgot to mention that this issue is still the same using TouchID or with typing the master passwd.

@kspearrin
Copy link
Mannequin

kspearrin mannequin commented Jul 30, 2019

After you reinstalled, did you get prompted to accept push notifications upon logging back in?

@LapinFou
Copy link
Mannequin

LapinFou mannequin commented Jul 31, 2019

Yes, the push notification windows pop-up just after the reinstallation.
And, off course, I accepted it.

@kspearrin
Copy link
Mannequin

kspearrin mannequin commented Jul 31, 2019

Unfortunately, I am still not able to reproduce the issue. WE'll have to keep looking.

@LapinFou
Copy link
Mannequin

LapinFou mannequin commented Aug 1, 2019

This is the worst kind of bug. 90% of the job is to be able to reproduce it on demand.
Don't hesitate to contact me if I can help you in any ways.

@LapinFou
Copy link
Mannequin

LapinFou mannequin commented Aug 4, 2019

If this can be any helpful, from my iPhone, the modifications are immediately push on the vault. However the sync date & time is not updated on the iOS app.

@kspearrin
Copy link
Mannequin

kspearrin mannequin commented Aug 4, 2019

@LapinFou That is the expected functionality. The timestamp you see under Settings > Sync is the last time a full sync has occurred, not an incremental sync like when modifying a single item.

@LapinFou
Copy link
Mannequin

LapinFou mannequin commented Aug 5, 2019

OK. Got it. Thanks for the information.

@LapinFou
Copy link
Mannequin

LapinFou mannequin commented Aug 8, 2019

After upgrading to iOS 12.4, it looks like it was working better, but finally not 😢
Here is a procedure which I can reproduce on my iPhone.

  • Open the BitWander app on the iPhone and open it with the Touch ID.
  • Lock the iPhone.
  • From a client, add an item.
  • Unlock the iPhone → the new added item is available.
  • Closed the iOS app, then lock the iPhone.
  • From a client, remove the newly added item.
  • Unlock the iPhone, then launch the apps. Unlock it with TouchID.
  • The sync is broken, the remove item is still present.
  • Add a 2nd item from the iPhone. It will be added on the vault, by the 1st deleted item is still present.

I hope this can help.

@LapinFou
Copy link
Mannequin

LapinFou mannequin commented Aug 8, 2019

As a workaround, it could be nice to force a synchronization when holding and sweeping the finger to the bottom. Same gesture than for the iOS mail app.

@kspearrin
Copy link
Mannequin

kspearrin mannequin commented Aug 8, 2019

@LapinFou I tried these steps and wasn't able to reproduce. All actions synced via push notification. Will have to continue to investigate.

@LapinFou
Copy link
Mannequin

LapinFou mannequin commented Aug 9, 2019

Damn it... 😞
I guess your tried several times?

I tried again few minutes ago, and I can reproduce the issue following the procedure described above.
I tried with my iPhone connected to the WiFi and only connected to the 4G network. Same behavior.
This bug is really a nightmare...

For sure, there is something which is consistent. As long the BitWarden app is opened, the sync is working.
As soon as the BitWarden iOS app is closed, it will not resync properly the next time the app is launched if some items have been added or deleted from another client.

@lumpycustard
Copy link
Mannequin

lumpycustard mannequin commented Aug 12, 2019

Just wanted to chime in and report i'm having the same issue on iOS and an iPhone XS.

Something that i've noticed that hasn't been mentioned here though:

  1. Started a new job, set up Bitwarden on my work laptop.
  2. Saved several passwords within Bitwarden, everything seemed to be syncing properly.
  3. Was given a temporary computer to use in the training room, and needed to log into an account, so i opened bitwarden on my iPhone.... the password that i was looking for was not synced.
  4. Dragged the page down several times hoping Bitwarden would sync... no bueno, password still missing.
  5. Installed Bitwarden Firefox extension on the desktop computer i was using, the password was visible and i was able to login.
  6. After installing Bitwarden on my desktop computer, the password suddenly appeared on my iPhone.

This is a really, really, REALLY annoying problem and makes me extremely uneasy about using Bitwarden in a work setting (as opposed to personal), as I won't always have time to dick around with it, uninstall the app, re-install, etc, while i'm sitting with clients or trying to log in during a presentation. This bug was reported 6 months ago, i hope Bitwarden are taking it seriously.

@chewiesGit
Copy link
Mannequin

chewiesGit mannequin commented Aug 12, 2019

Still have the same problem on Android 9 now with the latest Bitwarden version.

When I made a change in Safari Browser extension and open Bitwarden on my phone, I don't see the changes. I need to sync manually to see the changes. Bitwarden stated that the last sync was on Aug 7, although I just unlocked Bitwarden on Aug 12.

Of note: On my iPad running iOS 12 everything seems to work properly. Don't have the same problems there. I will try to reproduce the problem there as well, but I didn't notice it thus far.
Update: No, I have the same problem with my iPad :) Also on iOS 13.

@kspearrin Wouldn't it be possible to add a feature that Bitwarden automatically syncs when unlocking the vault? By that at least everything would be synced at login or unlocking. Push-sync would still be nice but part of the problem would be solved by that. Would really appreciate if such a force sync at login or unlock would be implemented. Thanks a lot!

@lumpycustard No need to uninstall, reinstall every time. Doesn't a manual synchronization work for you as well? You will find the manual sync under settings. Just hit the button 'Synchronize' and all your changes and new passwords will appear.

@lumpycustard
Copy link
Mannequin

lumpycustard mannequin commented Aug 13, 2019

@chewiesGit what is the point of the refresh animation that triggers when you pull down on the password list if it literally doesn't do anything?

Why doesn't the "pull down" action trigger an actual sync?

What is the pull to refresh action actually doing?

20190813_134328000_iOS

@kspearrin
Copy link
Mannequin

kspearrin mannequin commented Aug 13, 2019

Pull-down refresh re-loads the list from the local database. It doesn't sync data from the server.

@paradeiser
Copy link
Mannequin

paradeiser mannequin commented Aug 14, 2019

A forced sync on a pull-down-gesture would help a lot if there are synchronization issues like described above.
I always have to open settings and force sync when using my iPhone.

@lumpycustard
Copy link
Mannequin

lumpycustard mannequin commented Aug 15, 2019

@kspearrin Thanks for confirming, but what exactly does that achieve? My phone is already displaying the local list, and the local list is missing data stored in my Bitwarden account.

In other words, if i'm viewing this thread and i get an email advising that you've replied to me, when i refresh the page, my expectation is that my browser will reach out to git to receive an updated version of that page, as the page my browser is displaying is out of date.

It doesn't make any sense to me that refreshing Bitwarden via the pull down gesture simply reloads the data that i'm already looking at -- however i am a layman and more than likely am completely missing the point.

Either way, i have purchased the pro version of the app and fully support the OSS movement, however this current bug presents a very annoying and (in my view) easily resolvable problem.

@LapinFou
Copy link
Mannequin

LapinFou mannequin commented Aug 21, 2019

@kspearrin FYI, the issue is still present with the version 2.2.1.
So, the "Fix some sync issues" didn't solve this bug.

@derky1202
Copy link
Mannequin

derky1202 mannequin commented Aug 21, 2019

I actually have the same problem with updated iPhone xs max. Hope there will be a solution to this.

@Panja0
Copy link
Mannequin

Panja0 mannequin commented Mar 18, 2020

Bitwarden v2.3.1 was relased yesterday in the Dutch AppStore.
I really got my hopes up... But the same problem remains! :-(

@mpbw2 mpbw2 self-assigned this Mar 18, 2020
@LapinFou
Copy link
Mannequin

LapinFou mannequin commented Mar 19, 2020

Same as @Panja0 version 2.31 release on the French AppStore.
It is a shame that a manual sync as explained here #457 (comment) has not been implemented.
It should be en easy workaround which would make many people happy.

Despite this, BitWarden is still the best password manager on the market. 😄

@StrangePeanut
Copy link
Mannequin

StrangePeanut mannequin commented Mar 21, 2020

The v2.3.1 update does not address the problem (UK).

What happened to making the app sync on unlock through the long-promised v2.2.6 update that none of us got?

Is this issue still being worked on? Why is it being actively ignored now?

@joallard
Copy link
Mannequin

joallard mannequin commented Jun 22, 2020

This is a major bug on all mobile platforms.

Each time: a login is recent (< 1-2 weeks), "fill with" is invoked on an input,

Logins are empty and main use case for app is broken.

(Reproduced on Android, iPad)

@benhaynes
Copy link
Mannequin

benhaynes mannequin commented Oct 7, 2020

Same issue here, update a password via the Mac-Chrome extension on my desktop, then try to fill a password via Android App... and it's outdated. I tried locking, etc... nothing seems to automatically or manually sync. This is a very core feature, is there any official response for when this will be resolved?

@joallard
Copy link
Mannequin

joallard mannequin commented Oct 7, 2020

@mportune-bw I see you self-assigned this in March, good to have you on board! Two questions:

  • Is this on the schedule for any period?
  • Do you have a Steps to reproduce down for the bug? (If not, we might help you get there)

@mpbw2
Copy link
Contributor

mpbw2 commented Oct 8, 2020

@joallard While there's nothing officially scheduled, we keep sync issues under observation because we have such a difficult time reproducing them... which I guess leads me to your second point - if you've discovered a reliable way to reproduce the issue, we're all ears.

@muzzah
Copy link
Mannequin

muzzah mannequin commented Dec 6, 2020

Is there a detailed guide on how to setup a dev environment? Im not a VS guy but want to fix this because it is very annoying. It been nearly 2 years and this isnt fixed. I can reproduce it.
If you can provide some guidance on how to properly setup a dev env here (Im coming across so many diff errors on MacOS and as I said I never used VS/Xamarin for mobile app development) one of the community memebers Im sure can fix it.

@muzzah
Copy link
Mannequin

muzzah mannequin commented Dec 18, 2020

@mportune-bw ?

@cscharf
Copy link
Mannequin

cscharf mannequin commented Dec 18, 2020

Hi @muzzah , VS for Mac makes it pretty easy to work with Xamarin (since it is basically Xamarin Studio renamed); if you want a full local environment; that's a little more challenging, but you should be able to run the mobile app against production if you feel the issue is somewhere in the mobile app code itself. Xamarin has built in emulators and if you're debugging against Android, it's pretty simple... if you're debugging against iOS, there are many articles on setting up Xcode, an Apple Developer account, registering the appropriate certificates for code signing when running locally, and Xcode has pretty nice support for iOS emulators which VS for Mac supports out of the box.

@pavankjadda
Copy link
Mannequin Author

pavankjadda mannequin commented Dec 30, 2020

Okay, Now I see different sync issue. Any password updated or deleted in another system/browser is not updating in mobile client autofill. During autofill i still see old/deleted password. This is so annoying lately. Some of my accounts locked out for try trying autofill multiple times with outdated password.

I tried to manually sync through Pull to refresh and Clicking on Sync button, and i see updated password when I manually search but not during autofill.

It seems I have to logout and login for the passwords to be in sync at autofill.

@cscharf
Copy link
Mannequin

cscharf mannequin commented Dec 30, 2020

@pavankjadda , are you using v2.7.2?

@pavankjadda
Copy link
Mannequin Author

pavankjadda mannequin commented Dec 30, 2020

Yes 2.7.2(401)

@thepaulcooper
Copy link
Mannequin

thepaulcooper mannequin commented Feb 9, 2021

This thread started over a year ago. This does not bode well for the future of BitWarden. Maybe I should consider going back to 1Password. I don’t want to but if basic issues such as syncing are not resolved quickly then I will lose faith in the long-term viability of this great service.

I switched to Strongbox instead. Very happy now!

@paradeiser
Copy link
Mannequin

paradeiser mannequin commented Feb 9, 2021

Actually I don't have any sync-issues anymore. Maybe thats why nobody is posting gere lately…

@LapinFou
Copy link
Mannequin

LapinFou mannequin commented Feb 9, 2021

By the way, with the latest version you can enable the manual sync when sliding the finger from top to bottom.
To enable it, you must go here:
SettingsSync (in the "MANAGE" section) → Here you got a button to enable this manual sync gesture.

@chewiesGit
Copy link
Mannequin

chewiesGit mannequin commented Feb 9, 2021

I still have sync issues (now on iOS) but the manual sync made it ok for me to deal with it.

However, and I said that already exactly 2 years ago, the sync issue causes a very problematic security issue in my eyes. Clicking on deauthorizing all sessions in the online vault will not automatically log out all devices (such as the mobile app, the browser extension or the desktop app) until they finally sync and contact the server. I tried it out recently again. After deauthorizing all sessions in the online vault, I was still able to unlock my desktop app (and browser extension), view all my password and work with the app for several minutes until the app finally logged out since it apparently contacted the server. In case i lose my mobile device, for example, I just cannot feel confident that all sessions were indeed deauthorized as they should due to this issue. Is somebody else experiencing this? Did somebody try that out? Would be curious to know if this is happening to others as well.

Or maybe I should consider Strongbox, too...

@LapinFou
Copy link
Mannequin

LapinFou mannequin commented Feb 9, 2021

Well, the main security is a very strong master password (with 2FA).
Since, if configured correctly, the Bitwarden vault will be lock after few minutes I don't see where is the problem. 😁
If you got the top security vault in your house but you don't close it before leaving home... For sure, there is a security issue.
BTW, on iOS or Android, Bitwarden is always asking my finger print to auto-fill login credentials.

@chewiesGit
Copy link
Mannequin

chewiesGit mannequin commented Feb 9, 2021

Sure, I know that a securely locked vault is the main security. But why taking the risk? I guess that most people don’t log out every time after using the app, they just lock it, requiring only a finger print or a pin to unlock it. This is the only reason why the deauthorizing function actually exists or was made for. It is supposed to make sure that all devices that are just locked with a pin or finger print (or even unlocked if someone prefers that) get properly logged out. I would just feel much more confident if I knew that all devices are indeed logged out such that the master password as well as 2fa is required to log in, not just a pin or a finger print. I know that there are many risks using a vault like this. But why not eliminating those that we know of and could be eliminated easily. It’s just not very nice to know that a silly bug like this makes the whole thing a bit more unsafe..

@LapinFou
Copy link
Mannequin

LapinFou mannequin commented Feb 9, 2021

I understand your point. AFIK, this bug is only for iOS and, for sure, must be corrected.
On the other side (to put the thing in perspective), a malicious person should unlock your iPhone, have you finger print or you Pin code before being able to access the Bitwarden vault.
So, again, yes this bug must be fix. However it is not a open hole in the wall. 😉
Bitwarden, to me, IS the best password manager ever (open source code, internet access, plugins for all browsers, apps for all platforms, cheap price for premium and, most important, several external audits said it is safe & secure). IMHO moving to another solution is not the right move. 😋
Strongbox is only for Apple world... Bitwarden is open source and open to all OS. 😁

@chewiesGit
Copy link
Mannequin

chewiesGit mannequin commented Feb 9, 2021

It at least also exists on MacOS. My iPhone actually syncs much better than the desktop app on my Mac…

Anyway, you are right, it’s not a major security issue. That’s why I am still here after 2 years :) At the same time, I find it a bit frustrating that even after 2 years, nobody seems to take interest in a bug like this. Don’t need to be fixed first thing. But after 2 years?

Well, at the same time I also know myself that deauthorizing wouldn’t have an effect either if somebody just unlocks your vault offline. A real solution to this problem would therefore be when the different apps only work online and show the passwords only after syncing with the server. But that of course is unfeasible as it would mean than one could not view passwords offline..

So I guess in case I lose my phone, I should deauthorize all sessions and at the same time change all existing passwords. So even if somebody somehow unlocked the phone offline (which I know is unlikely but it could happen if someone for example watches entering the pin), they would only see an old version of the vault.

However, that doesn’t mean the sync issue should not be fixed as soon as possible. 😂

@LapinFou
Copy link
Mannequin

LapinFou mannequin commented Feb 9, 2021

I think the Bitwarden dev team is struggling to reproduce the issue.
For this kind of bug, 80% of the job is to be able to reproduce the problem.

@mrc77
Copy link
Mannequin

mrc77 mannequin commented Apr 2, 2021

Today I did some testing on this issue, and it seems to happen if there are two or more Bitwarden apps unlocked and sharing the same external IP.

For example, when my Android phone and my Chromebook are both connected to the same WiFi hotspot, the Android app always syncs (maybe because it uses the Google Cloud Messaging instead of web sockets) but the Chrome extension on the Chromebook fails to sync.

If I lock both and switch my phone to use the 4G network (different IP), everything works as expected.

On the other hand, on my Windows PC, where I often unlock the desktop app, the Chrome and the Edge extensions, I rarely see the syncing to work properly.

@pavankjadda pavankjadda mannequin closed this as completed Apr 9, 2021
@pavankjadda
Copy link
Mannequin Author

pavankjadda mannequin commented Apr 9, 2021

Closing this since I don't see this issue from 2.9.2 version

@joallard
Copy link
Mannequin

joallard mannequin commented Apr 9, 2021

I see this issue in the 2.9.1 version, just reproduced. (iPad)

It seems like 63449a3 is the only change from 2.9.1 to 2.9.2. Did I miss a fix?

@jeroenbaas
Copy link
Mannequin

jeroenbaas mannequin commented Apr 16, 2021

Just observed this too in iOS 12 / 2.9.1
Passwords synced only after opening the bitwarden app explicitly.

@umairatstride
Copy link
Mannequin

umairatstride mannequin commented Aug 31, 2023

IMG_3343

We are at iOS 16 and I am experiencing the issue for first time in the last three years I have had the service. Of course my subscription is expired. It is being forced by developers?!

update: this is happening on Keeper

the constant uninstall and reinstall - are we developers or chefs?

@umairatstride
Copy link
Mannequin

umairatstride mannequin commented Aug 31, 2023

I didn’t realize an open source application existed for a password manager 🤦🏾‍♂️

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

No branches or pull requests

2 participants