mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-23 08:32:45 -05:00
Syncing failed on iOS devices #4296
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 @austin1howard on GitHub (Mar 24, 2020).
Syncing failing on iOS devices
I'm getting a "Syncing Failed" message when trying to sync the Bitwarden app from my iPad or iPhone. There doesn't seem to be anything substantially wrong in the logs. I'm able to sync the Mac application just fine.
Your environment
Steps to reproduce
I was using version 1.13.0 and syncing to my iPhone successfully. Today, I tried setting up my iPad and started seeing this error. I thought it may be due to the latest version of the iOS app, so I updated bitwarden_rs, but that didn't fix the problem. Now it seems to be broken on my iPhone as well (on a version of the iOS app which previously worked).
Expected behaviour
Should sync
Actual behaviour
"Syncing failed" pops up on iOS.
Relevant logs
The only thing of significance I notice below is the desktop app does a
GET /api/sync?excludeDomains=truewhile the iOS app does aGET /api/sync.Failure example:
Success example:
@austin1howard commented on GitHub (Mar 24, 2020):
I was able to test on my wife's iPhone which succeeded. I can't tell a difference in the logs for her iPhone vs mine:
@deeztek commented on GitHub (Mar 30, 2020):
Try this.
Exported my vault to .json. Then I did a search for the following:
"username": null,
"password": null
Then in the web browser, I located the particular entry and deleted it.
Not sure which entry it was, but after deleting 27 entries, the android app started syncing again.
@austin1howard commented on GitHub (Apr 3, 2020):
Yeah I was able to do that in the sqlite db directly. Definitely a bug but at least that solves the problem for now!
@jacksondaw commented on GitHub (May 30, 2020):
I am not certain if anything can be done to mitigate this issue on the server side, but it seems to be a pretty common issue for folks.
It has been mentioned in the client side app. https://github.com/bitwarden/mobile/issues/782
I wonder if a setting to not sync null username and passwords would be a good solution?
@jjlin commented on GitHub (May 31, 2020):
@jacksondaw This particular issue is already fixed; see https://github.com/dani-garcia/bitwarden_rs/issues/921#issuecomment-612368933.
#921 is likely what the bitwarden_rs users were reporting in bitwarden/mobile#782 (which shouldn't have been reported to upstream in the first place), but there are perhaps other distinct issues with iOS syncing that are being conflated with #921.