mozilla-services / syncserver

Run-Your-Own Firefox Sync Server
Mozilla Public License 2.0
1.87k stars 145 forks source link

Bookmars are not synced anymore to\from mobile platforms. #221

Closed vcarciu closed 4 years ago

vcarciu commented 4 years ago

Environments: Firefox for iOS(27.0(18428)), Firefox Preview(Nightly 200720, build #22020612) FF Release(78) on macOS and Windows 10x64 FXA stage version : 1.180.0

Steps to reproduce:

  1. Set-up the FXA server to Stage on every platform(https://accounts.stage.mozaws.net)
  2. Login with same valid FXA on multiple platforms(Windows, macOS, Android and iOS)
  3. Add some bookmarks on any every platform and force a Sync everywhere

Expected results: Bookmarks are synced across all platforms

Actual results: On mobile platforms , bookmarks are not synced at all(from desktop to mobile, from mobile to desktop, from mobile to mobile).

NOTES: Not reproducible with production FXA server Between desktop platforms , bookmarks syncing is working as expected

vcarciu commented 4 years ago

Please note that we observed that between mobile devices not only bookmarks syncing is broken. We were not able to sync history and passwords too.

vladikoff commented 4 years ago

from Slack for users on stage:

| 537f342abb2d4869a2f9ae4f1545ee7a || | ccc8ec0e8d514e5b9e969ad5500f15f9 ||

do not see any requests that do not get a 200 response code

vladikoff commented 4 years ago

Also filed https://github.com/mozilla/application-services/issues/3379

@vcarciu is this the configuration that you are using in your Fenix build:

?

vcarciu commented 4 years ago

@vladikoff :

Yes, I can confirm that sync is not working on Fenix with the configuration from above. Also, on FF for iOS , I checked the "Use stage servers" checkbox from "Advanced sync settings".

Thank you

vcarciu commented 4 years ago

I attached some logs gathered with adb logcat from Android: Fenixlogs.txt

mhammond commented 4 years ago

I attached some logs gathered with adb logcat from Android:

Thanks for the logs, but unfortunately there's only 30 seconds of logs there and there's no evidence of a sync in that period.

vladikoff commented 4 years ago

@mhammond we have some logs in https://github.com/mozilla/application-services/issues/3379

vcarciu commented 4 years ago

I am not sure where this was fixed, but the sync on mobile platforms is now working as expected. Please let me know if we can close this issue.

jrconlin commented 4 years ago

We've resumed migrations. It could be that your profile has been moved to the new durable sync service.

On Tue, Jul 28, 2020 at 4:31 AM vcarciu notifications@github.com wrote:

I am not sure where this was fixed, but the sync on mobile platforms is now working as expected. Please let me know if we can close this issue.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mozilla-services/syncserver/issues/221#issuecomment-664987108, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAIXK3NHJQPJPSV2CWVPM3R52ZI7ANCNFSM4PCQQREQ .

vcarciu commented 4 years ago

@jrconlin

Issue is reproducible again for mobile devices. Do you know if migrations are the cause this time too?

isabelrios commented 4 years ago

Experiencing this issue also when running the automated sync integration tests. Got some firefox logs in case that's helpful FirefoxLogsSyncHistoryFenix.pdf On Fenix also happening for History. It shows at the beginning that the Sync never happened:Last synced: Never, and forcing sync it shows: Last synced: Jan 1, 1970

mhammond commented 4 years ago

See also https://github.com/mozilla/application-services/issues/3379

mhammond commented 4 years ago

Experiencing this issue also when running the automated sync integration tests. Got some firefox logs in case that's helpful FirefoxLogsSyncHistoryFenix.pdf

These are just desktop logs (and almost impossible to read as a PDF - it's much better if they are left as plain text) - so I can't be sure it's the same issue being described here.

rfk commented 4 years ago

I believe this to be an issue with the rust-based sync server, let's close it here in favour of https://github.com/mozilla-services/syncstorage-rs/issues/759

isabelrios commented 4 years ago

These are just desktop logs (and almost impossible to read as a PDF - it's much better if they are left as plain text) - so I can't be sure it's the same issue being described here.

Sorry about that, I saw an error in the Firefox logs and though it was related but it is not. The error on the mobile side is not shown there. That said, the error is the same on Fenix and Firefox iOS. For Fenix can't sync Bookmarks/History For Firefox-iOS History works but Bookmark does not Both using stage