Closed Bug 1214979 Opened 10 years ago Closed 10 years ago

[Aries][Firefox Sync]Cannot sync data between Desktop/Android and Firefox OS.

Categories

(Firefox OS Graveyard :: Sync, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

(b2g-master affected)

RESOLVED DUPLICATE of bug 1217760
FxOS-S10 (30Oct)
Tracking Status
b2g-master --- affected

People

(Reporter: huayu.li, Assigned: mbdejong)

References

Details

Attachments

(2 files)

Attached file logcat2.txt
[1.Description]: [AriesKK_v2.5][Firefox sync]We sign in the account on Desktop\Android\Firefox OS, there are some datas on desktop which have been synced to servers, try to sync the data on android and Firefox OS, these data can be synced normally on android, but they cannot be synced on Firefox OS device, another different data will be synced. Maybe I saved the data on this account before. Found at:4:58 See attachment:logcat2.txt, Sync data with desktop&android.3gp [2.Testing Steps]: 1.Sign in the same account on Desktop\Android\Firefox OS device. 2.There are much history and bookmark on Desktop , and they have been synced on serverse. 3.Launch browser on android device, and sync in settings. **All the history and bookmark will be synced to android device. 4.Launch settings and enable Firefox sync on Firefox OS device. 5.Check bookmark and history, tap Sync now. 6.After syncing completed, back to home. 7.Launch browser and check the history. [3.Expected Result]: 7.The same account should sync the same data between Desktop/Android and Firefox OS. [4.Actual Result]: 7.Another group data will be synced, it is different with android and desktop. [5.Reproduction build]: Build ID 20151008002716 Gaia Revision 4973f57cd8f9a62a95f783a24eac32da2bde99fc Gaia Date 2015-10-08 03:58:37 Gecko Revision https://hg.mozilla.org/mozilla-central/rev/c6ede6f30f3dc886543bb1c76fd7c8b5a151786b Gecko Version 44.0a1 Device Name aries Firmware(Release) 4.4.2 Firmware(Incremental) eng.worker.20151007.234555 Firmware Date Wed Oct 7 23:46:03 UTC 2015 Bootloader s1 [6.Reproduction Frequency]: Always Recurrence,5/5 [7.TCID]: 9.7
Note that the sync servers on my android device is: https://api-accounts.firefox.com.cn/v1
Assignee: nobody → mbdejong
Assignee: mbdejong → nobody
Assignee: nobody → mbdejong
In the log, I found: > 10-14 04:58:06.780 E/Sync ( 7882): Content JS ERROR: [SyncEngine Unrecoverable] [object Arguments] > 10-14 04:58:06.780 E/Sync ( 7882): at SyncEngine.UnrecoverableError (app://sync.gaiamobile.org/js/sync-engine/syncengine.js:386:5) > 10-14 04:58:06.780 E/Sync ( 7882): at SyncEngine.prototype._initFxSyncWebCrypto/SyncEngine< (app://sync.gaiamobile.org/js/sync-engine/syncengine.js:296:1) > 10-14 04:58:06.790 E/GeckoConsole( 317): Content JS ERROR: Error while trying to sync [object Object] > 10-14 04:58:06.790 E/GeckoConsole( 317): at .doSync/< (app://system.gaiamobile.org/js/sync_manager.js:563:11) > 10-14 04:58:06.790 I/GeckoDump( 317): [system] [SyncStateMachine][8427.390] publishing: onsyncerrored > 10-14 04:58:06.790 I/GeckoDump( 317): [system] [SyncManager][8427.390] handling onsyncerrored > 10-14 04:58:06.790 I/GeckoDump( 317): [system] [SyncManager][8427.390] onsyncerrored observed > 10-14 04:58:06.790 I/GeckoDump( 317): [system] [SyncManager][8427.391] Setting state,errored Can I get the email address and password of the Firefox Account you tested with, or is that your personal account?
The error occurring is 'SyncKeys hmac could not be verified with current main key'.
Flags: needinfo?(huayu.li)
Hi, Michiel Provide you the account: huayu.li@mgsei.com, password:huayu.li
Flags: needinfo?(huayu.li)
Target Milestone: --- → FxOS-S9 (16Oct)
Thanks! Will debug and fix.
I could not reproduce the 'SyncKeys hmac could not be verified with current main key' error with that account. Only 4 history records are coming in from that sync account, all 4 of them on youtube. There are 41 bookmarks coming in, but note that we are not displaying bookmarks (yet). I did find different errors though, but they should be fixed with bug 1215086 (just submitted that) and bug 1214193.
(In reply to Michiel de Jong [:michielbdejong] from comment #7) > I could not reproduce the 'SyncKeys hmac could not be verified with current > main key' error with that account. Sorry, I mean I could not reproduce it with B2G-Desktop. Let's hope this is not related to how WebCrypto is implemented on Aries devices. I will test this on a Z3 on Monday in Taipei.
OK, we found the reason of 'SyncKeys hmac could not be verified with current main key', filed bug 1215460 about that. @Alissa, I think what you are seeing on Desktop and Android are *bookmarks* (of which your account has 41), and what you're seeing on FxOS is *history* (of which your account has only 4 records). Can you maybe try the following: * visit a few sites with desktop, * click sync now on desktop, * click sync now on FxOS, * see if the newly visited sites show up on FxOS?
Flags: needinfo?(huayu.li)
Hi, Michiel I try to testing with your step. The history in my account on august had disapeared, a new history which I have visit before is displayed, but the history in step 1 doesn't displayed on FXOS. Note: The history in step1 can be synced to android device.
Flags: needinfo?(huayu.li)
Blocks: fxos-sync
Target Milestone: FxOS-S9 (16Oct) → FxOS-S10 (30Oct)
Priority: -- → P1
Hi Alissa, It's hard for me to see in the video whether the list you're scrolling through on Android contains history or bookmarks, since your menu is in an Asian language which I can't read. :) If you successfully synced a newly visited site from Firefox Desktop to Firefox OS, then that's good news, that means it's working. I also visited 'redecentralized.org' on Nightly using your account, and confirmed that it showed up in history on B2GDesktop with your sync account. It's indeed odd that no older history records are on your sync account, but when I sync to your account with Firefox Nightly, I also don't see any older history. Did you recently clear your history?
Flags: needinfo?(huayu.li)
Hi Michiel, sorry for the Asian website in my history, but I can comfirm that it is history in my Android device. I never delete any history, and it's indeed odd. So is there any other account with which you get normal test result?
Flags: needinfo?(huayu.li)
We (most probably) found the reason of this error. Continued in bug 1217760, which has details of the fix. Thanks for reporting!!
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: