mirror of
https://github.com/bitwarden/android.git
synced 2026-03-09 03:33:36 -05:00
iOS 2.3.1 sync broken #955
Closed
opened 2025-11-26 22:34:49 -06:00 by GiteaMirror
·
25 comments
No Branch/Tag Specified
main
crowdin-pull
PM-33266-crashlytics-bug
PM-32123/cookie-sync-error-message
PM-29861-update-overflow-content-description
PM-33227/clear-cookies-debug-button
update-agp
PM-26059-remove-cipher-key-encryption-flag
remove-remember-viewmodel
PM-29871-external-links
PM-29673/flight-recorder-export-header-info
renovate/lock-file-maintenance
sdlc/sdk-update
release/2026.3-rc48
PM-24380/flight-recorder-redact-hostname
release/2026.2-rc47
PM-32714/fallback-to-web-vault-host
pr-6572
PM-28834/setting-app-layout-horizonos
PM-26896-autofill-fix
vvolkgang/process-release-notes-v2
PM-26577-app-links-support
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
No Label
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#955
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 @M4st3rITA on GitHub (Mar 18, 2020).
Originally assigned to: @mpbw2 on GitHub.
Describe the Bug
After upgrading to the latest official version of the iOS app, sync is broken; I've alreay tried to clear the authorised sessions.
The macOS standalone app / browsers app / web seem to be ok and sync without any problem.
Environment
iOS 13.3.1 iPhone Xs Max and iPad Pro 10.5
Server: bitwardenrs docker version 2.12.1
@kspearrin commented on GitHub (Mar 18, 2020):
Can you explain what about it is broken? Do you get an error message or what?
@M4st3rITA commented on GitHub (Mar 18, 2020):
I've a message displayed on my mobile devices (in italian):
NON CI SONO ELEMENTI NELLA TUA CASSAFORTE /THERE ARE NO ELEMENTS IN YOUR SAFE
It appears I don't have any item in my server, but using web or standalone app under macOS I see everything...
Trying to manually sync it doesn't do anything, and either trying to reset any previous device connected doesn't help.
@Panja0 commented on GitHub (Mar 18, 2020):
Sync has been broken for a long time, for a lot of user on iOS.
Have a look at #457 & #723
@sgtsaint commented on GitHub (Mar 19, 2020):
I also have this issue. Some background:
Initially I installed the app under a different AppleID. When the new update came, I had to reinstall the app, because I was no longer using the old ID and had to login under my current ID.
Download went fine, setup my self-hosted address, etc. > Logged in without issues > Accepted the Push for the auto sync. But no sync was happening. So I tried to manually sync and I got the 'Sync failed' error. I logged out and tried it again, now it stated a time for the last sync: 1-1-0001 01:00. No sync was done of course and the error still persists.
So I tried some different stuff. Deleted the app, deleted the iCloud storage for the app, hide the app from Apple Purchase history (so you are forced to authorize yourself again) > Force restarted my phone and reinstalled the app again. Guess what? Same story again "Sync failed".
Before the latest update the sync worked fine, but after installing the 2.3.1 version I seem to have this issue too.
EDIT: to add, all the other environments (browser, desktop client, etc work without any issues). Also logging in on the mobile browser works. So it's specifically the app that's having issues.
@michaelwexler commented on GitHub (Mar 20, 2020):
I am on 2.3.1 iOS. I can add and edit on the browser (via vault.bitwarden.com), but the changes (to the notes) no longer show up on my iOS app. Changes I make to an entry in the notes area on iOS are not saved, and do not show up on the web site. Pulldown to refresh on app has no effect. I see no error messages.
What can we do to diagnose?
@michaelwexler commented on GitHub (Mar 20, 2020):
Wow. Discovered that pull to refresh only refreshes the local database see comment here and does not execute a sync with the server as expected.
When I go to settings, I see a "Sync" with a date line under Manage. Turns out, this is tappable! It takes you to a new screen which you to execute a Sync Vault Now, the thing that Pull to Refresh doesn't do. When this manual sync is run, my notes from the web now appear on mobile. My lost mobile entries are still missing.
So, still unclear if the notes added to an entry are even being saved on iOS; they do appear to work properly on the vault.bitwarden.com site.
@mpbw2 commented on GitHub (Apr 3, 2020):
@M4st3rITA @Panja0 @sgtsaint @michaelwexler Can you guys try testing sync again? I'm hopeful some recent server-side changes will clear this up.
@Panja0 commented on GitHub (Apr 3, 2020):
@mportune-bw
I’m using the self hosted version.
So I don’t think this reflects on me?
@mpbw2 commented on GitHub (Apr 3, 2020):
@Panja0 Ah yeah, probably not. My apologies.
@muzzah commented on GitHub (Apr 11, 2020):
Having the same issue. Items created on web not synced to iOS client and vice versa. When manually syncing through settings, it then seems to get updates.
@sibuser commented on GitHub (Apr 15, 2020):
Cannot sync my vault on ios devices. Sync failed.
Tried to log out and even reinstalled the app.
Version: 2.3.1 (64)
Iphone 13.3.1
When I login first time into my vault the app says that there are no passwords.
@wormoworm commented on GitHub (Apr 16, 2020):
I was also having this problem on both iOS and Android (self-hosting bitwarden_rs). Browser add-ons in FF and Chrome continued to sync fine.
I tried various older versions of the Android app, all the way back down to v2.2, but all had the same issue.
Eventually I solved it by upgrading my bitwarden_rs docker container to the latest version (it was 2.12.0, now it's 2.13.2). Now sync on Android and iOS works again :)
Probably a breaking change in the API between 2.12 and 2.13 I imagine.
@muzzah commented on GitHub (Apr 16, 2020):
@wormoworm Im not seeing a fix and my containers are up to date. Using the automated script 4 days ago with docker compose.
@wormoworm commented on GitHub (Apr 16, 2020):
@muzzah I think the difference between our setups is that I'm using the unofficial bitwarden rust server container. I settled on this option as I found it easier to setup and it uses very little resources when running.
@muzzah commented on GitHub (Apr 16, 2020):
Ah ok yes that makes sense
@assices commented on GitHub (Apr 16, 2020):
I'm using self-hosting Bitwarden_rs and I think there is a bug related to login element with both username and password empty.
I solved the issue with this workaround:
Exported my vault to .json. Then I did a search for all login elements with:
"username": null,
"password": null
Then I deleted these elements from my vault (using desktop or web interface).
App sync started syncing again.
Maybe it solves for Bitwarden also.
@sgtsaint commented on GitHub (Apr 16, 2020):
Holy sh*t... Thank you! This worked. My vault had three (duplicate) entries with null values. Removing those and importing the json into a cleaned out vault was the fix for me.
@muzzah commented on GitHub (Apr 16, 2020):
Haha that did it for me too. I found a couple of entries with null usernames. Filled them and sync kicked back in
@sibuser commented on GitHub (Apr 16, 2020):
I can confirm it worked for me also. Had 3 records with empty username and password in my vault. Deleted them and sync worked like a charm:)
@timvy commented on GitHub (Apr 17, 2020):
yes! I had the same problem, and i found some items with empty username and password. Thanks!
@kspearrin commented on GitHub (Apr 17, 2020):
Are you guys using bitwarden_rs or the official bitwarden server?
@timvy commented on GitHub (Apr 17, 2020):
I use the bitwarden_rs based home assistant addon
@muzzah commented on GitHub (Apr 17, 2020):
@kspearrin official here, not bitwarden_rs. I think problem lies in the client syncing code
@fruitofgeorge commented on GitHub (Dec 21, 2021):
I have a question relating to this. What is the intended sync behavior for the apps, as in, when and how often do they sync? I recently changed a password using the browser plugin and then tried to log in using the new credentials on my phone. The bitwarden app on my phone kept providing the old password until I manually opened that vault entry in the app, which it then synced. Is this normal behavior?
@vvolkgang commented on GitHub (Jun 20, 2024):
Issue migrated to https://github.com/bitwarden/mobile/issues/782