uBlockOrigin / uMatrix-issues

This is the community-maintained issue tracker for uMatrix
https://github.com/gorhill/uMatrix
123 stars 17 forks source link

Cloud storage no longer works on Firefox #286

Closed ipkpjersi closed 4 years ago

ipkpjersi commented 4 years ago

Prerequisites

Description

The cloud sync feature no longer works on Firefox (I am not sure if it works on Chrome etc), the PC name and updated date are now replaced with "..." and uploading no longer works either. This bug is happepning on multiple PCs.

Steps to Reproduce

  1. Go to dashboard
  2. Go to My rules
  3. [and so on...]

Supporting evidence

Your environment

gwarser commented 4 years ago

the PC name and updated date are now replaced with "..."

Pressing on upload button should fill all fields.

When this broke? On Firefox 79? Is this only on Snap? I think Firefox Sync internal storage format changed recently, maybe Snap version does not support it fully.

ipkpjersi commented 4 years ago

I did press upload but nothing happens, the fields are still "..."

This broke recently, within the past week, I believe it was still working when Firefox 79 released so I think this might be a new bug?

gwarser commented 4 years ago

Do you see any errors in Console tab under about:devtools-toolbox?type=extension&id=uMatrix%40raymondhill.net address?

ipkpjersi commented 4 years ago

No errors of any kind in Console tab.

gorhill commented 4 years ago

Maybe you have too many rules, cloud storage maxes at ~100KB. See https://www.reddit.com/r/uBlockOrigin/comments/i6e7lr/cloud_sync_not_uploading_rules_list/. Firefox started to enforce quota limit in version 79.

ipkpjersi commented 4 years ago

Yep, looks like I ran into the 100KB limit.

I'm not quite sure I understand - is the 100KB limit a limit of Firefox itself, or a limit of uMatrix?

gorhill commented 4 years ago

It's a Firefox limit: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage/sync#Storage_quotas_for_sync_data.

ipkpjersi commented 4 years ago

Good to know, thanks. I think this issue can now be closed.

gwarser commented 4 years ago

Can you make it work when you reduce amount of rules? User here https://www.reddit.com/r/uMatrix/comments/inrdrq/ says that it does not work. Maybe it's similar to recently fixed uBO issues?

gorhill commented 4 years ago

I stumbled myself onto this issue in uBO/Firefox. I don't use Firefox Sync, only for testing purpose, so it had been a long time since I tried in my Firefox account, and when I did, I found that I had over 400KB of data in "My filters"'s cloud storage, and I was now unable to overwrite regardless of what I tried to send to it. The issue was that I had to delete all the storage slots beyond allowed quota.

Now a problem here is that I no longer have time to work on uMatrix. I even can't find the time and motivation to merge pull requests.