Skip to content

Sync issues with all versions above 11.3.8 #3022

Closed

Description

@alexolog

I run FF 55 (latest 64bit) at home on Win 10 and 52 ESR (latest 64bit) at work on Win 8.1
(However, that problem also happened when I tried to run FF 55 at work, so it is likely not caused by different FF versions)

If I try to upgrade uBO on one of the machines to a more recent version (currently any release up to 11.4.8), it no longer sees the uploaded data from the other. Once I downgrade to 11.3.8 again, the data becomes visible and syncable once more.

This is from 11.3.8, running at home:

ubo1138

And this is from 11.4.8, also running at home:

ubo1148

No matter what I do, I can't make the newer versions see the other machine's data.

Another thing I noticed, is that when I open the uBO 1.14.8 settings, I get the following in the console:

[Exception... "Illegal value"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: chrome://browser/content/ext-tabs.js :: query :: line 482"  data: no]  (unknown)
	query chrome://browser/content/ext-tabs.js:482:29
	InterpretGeneratorResume self-hosted:1272:8
	next self-hosted:1179:9
	query self-hosted:943:17
	call resource://gre/modules/ExtensionParent.jsm:617:24
	next self-hosted:1179:9

But with 11.3.8, I see a different error:

	NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsISyncMessageSender.sendSyncMessage]  content.js:987

Activity

  1. Betsy25 commented on Sep 16, 2017

    @Betsy25

    Yes, it's a know bug which apparently was fixed in the latest pre-release.

  2. gorhill commented on Sep 16, 2017

    @gorhill
    Owner

    If I try to upgrade uBO on one of the machines to a more recent version (currently any release up to 11.4.8), it no longer sees the uploaded data from the other

    That is expected, the cloud storage data is stored differently with the WebExtensions API.

    uBO/legacy was saving the data in about:config, now it is saved by Firefox somewhere, which uBO has no idea, it just uses the WebExtensions API framework browser.storage.sync to get or set the data.

  3. alexolog commented on Sep 18, 2017

    @alexolog
    Author

    So I tried upgrading both instances to the latest version.
    Results: Each instance sees only it's own storage, so I still cannot sync.

    When I open the uBO settings, I get the following in the console:

    ReferenceError: reference to undefined property "broadcast"[Learn More]  vapi-client.js:136:1
    Invalid match pattern: 'moz-extension://bb2d38bc-a993-4b39-b3e1-12238d97dbbc/dashboard.html'  MatchPattern.jsm:52
    	SingleMatchPattern resource://gre/modules/MatchPattern.jsm:52:7
    	this.MatchPattern resource://gre/modules/MatchPattern.jsm:109:22
    	self.tabs.query chrome://browser/content/ext-tabs.js:673:21
    	bound  self-hosted:915:17
    	call resource://gre/modules/ExtensionParent.jsm:474:64
    	receiveMessage resource://gre/modules/ExtensionParent.jsm:403:9
    TypeError: can't access dead object  action.js:463:1
    ReferenceError: reference to undefined property "do"[Learn More]  content.js:32:1
    ReferenceError: reference to undefined property "broadcast"[Learn More]  vapi-client.js:136:1
    

    I am at a loss. Is there anything else I can check?

  4. jaywk commented on Sep 24, 2017

    @jaywk

    @gorhill seeing as you closed this and answered by saying this is expected behavior with the WebExtension API, is sync functionality no longer possible? If so, the functionality and option to use cloud storage should be removed from the settings page.

  5. gorhill commented on Oct 9, 2017

    @gorhill
    Owner

    @jaywk I didn't say anywhere "sync functionality no longer possible", I said uBO/webext can't see data in the legacy cloud storage (and vice versa).

  6. lemmy04 commented on Oct 9, 2017

    @lemmy04

    uBO/webext also cannot see data from other instances of the same FF version syncing into the same mozilla account.

  7. lemmy04 commented on Oct 9, 2017

    @lemmy04

    now I am trying to push the data, and I get "Please set webextensions.storage.sync.enabled to true in about:config". That setting was disabled, let's see if it works properly when changing it.

  8. lemmy04 commented on Oct 9, 2017

    @lemmy04

    hm. even with that flag set to true I can not use the cloud storage to sync settings between devices.

  9. gorhill commented on Oct 9, 2017

    @gorhill
    Owner

    I and others have successfully used cloud storage. See what about:sync-log says. Be sure "Add-ons" is selected in Sync options. Other than this, you will have to investigate on your side what is preventing it from working.

  10. jaywk commented on Oct 9, 2017

    @jaywk

    For me the problem seemed to be that background syncing was not occurring. The data does sync if I initiate a manual sync from both machines.

  11. gorhill commented on Oct 9, 2017

    @gorhill
    Owner

    For me the problem seemed to be that background syncing was not occurring.

    That would be a Firefox-side issue -- uBO merely just use the API to save stuff, beyond this, Firefox is responsible to send that stuff to its cloud storage server.

  12. lemmy04 commented on Oct 9, 2017

    @lemmy04

    do i give all devices the same name in uBlock?

  13. gorhill commented on Oct 9, 2017

    @gorhill
    Owner

    No, this is simply for you to know from which device the data last came from.

  14. lemmy04 commented on Oct 9, 2017

    @lemmy04

    see my comment on #3113

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions