Closed ghajini closed 6 months ago
yes, I can confirm the issue on firefox desktop / mobile. Maybe after browser updating ?! No issue with chrome.
I use Firefox for Android Nightly and haven't seen this behavior yet.
all default filter lists are getting unselected at interval of 2 weeks
"2 weeks" seems to match the period at which assets.json
is updated.
What would be of interest is the content of assets.json
when this happens. You can trick uBO to show the content of assets.json
by viewing the content of a list, say "uBlock filters", than replace ublock-filters
at the end of the URL to assets.json
, so that you end up with something like moz-extension://[...]/asset-viewer.html?url=assets.json
.
The syntax highlighting will show errors but it does not matter, you can report the content you see here if it looks abnormal.
okay i will see it when it occurs again
What would be of interest is the content of
assets.json
when this happens.
I've been repeatedly having this issue as well, and here are the contents of assets.json
for your perusal, if it helps:
Nothing seems to stick out, however. Is there anything else that we can provide to help pinpoint the issue?
here are the contents of
assets.json
for your perusal, if it helps
Is this after an instance of this happening? Which exact version of Firefox/uBO?
Is this after an instance of this happening?
Yes it is. I've reselected my filter lists, and if it happens again I'll post the contents of assets.json
if you need them.
Which exact version of Firefox/uBO?
Does this help?
uBlock Origin: 1.42.4
Firefox: 101
filterset (summary):
network: 157972
cosmetic: 190564
scriptlet: 36561
html: 685
listset (total-discarded, last updated):
removed:
user-filters: null
added:
https://ublockorigin.github.io/uAssets/filters/quick-fixes.txt: 195-0, 23h.46m
adguard-generic: 64715-5097, 20h.59m
adguard-mobile: 7849-30, 20h.59m
adguard-spyware: 26212-983, 20h.59m
adguard-spyware-url: 629-15, 20h.59m
block-lan: 43-0, 20h.59m
curben-phishing: 20720-2, 20h.59m
curben-pup: 235-0, 20h.59m
adguard-annoyance: 54074-3193, 20h.59m
fanboy-annoyance: 73244-34889, 20h.59m
fanboy-cookiemonster: 34199-108, 20h.59m
ublock-annoyances: 4447-5, 20h.59m
dpollock-0: 10375-531, 20h.59m
default:
ublock-filters: 32455-34, 20h.59m
ublock-badware: 4195-3, 20h.59m
ublock-privacy: 230-2, 20h.59m
ublock-abuse: 75-0, 20h.59m
ublock-unbreak: 1812-0, 20h.59m
easylist: 68209-956, 20h.59m
easyprivacy: 27199-10451, 20h.59m
urlhaus-1: 7675-0, 20h.59m
plowe-0: 3644-141, 20h.59m
ublock-quick-fixes: 195-195, 16h.58m
filterset (user): [empty]
switchRuleset:
added: [array of 1 redacted]
hostRuleset:
added: [array of 1092 redacted]
modifiedUserSettings: [none]
modifiedHiddenSettings: [none]
supportStats:
allReadyAfter: 2881 ms
maxAssetCacheWait: 1698 ms
I have a similar issue with the Android version of FF and ublock. Restoring from backup file doesn't work and while static filters can be imported, they're impotent in the Android version of FF.
here are contents when this happened(not reselected lists)
last time it happened on 3/6/22 any other info wanted let me know
It's occurred again, so here's the assets.json
file again:
There is nothing abnormal in these assets.json, so issue is elsewhere.
Now, every time I have to test some uBO android stuff - using BlueStacks + firefox - I find all the lists disabled.
I guess this user has all the lists disabled too: https://github.com/uBlockOrigin/uAssets/issues/13993
using BlueStacks + firefox
What is "BlueStacks"?
android emulator on PC
https://www.bluestacks.com
every setting is getting back to default eg i selected following but when this occur it just resets to defaults
also main as described in first comment, all filter lits are getting unselected, as consequence of this, i am not aware why iam suddenly getting ads despite they were fixed in filter lists
Need someone to investigate the code, I can't reproduce that behavior, and whoever can, please step in the code etc. To just repeat that you have the issue won't move the issue forward. We need more people able to step in code in here -- if not you, someone else who can and can reproduce.
it happened with me now ...i captured firefox profile via usb debugging & seen errors put there in ubo (only ubo quick fixes filter list was get selected automatically)
errors
Reading manifest: Warning processing permissions: Error processing permissions.1: Value "menus" must either: must either [must either [must either [be one of ["idle"], be one of ["activeTab"], be one of ["cookies"], be one of ["scripting"], or be one of ["webRequest", "webRequestBlocking", "webRequestFilterResponse", "webRequestFilterResponse.serviceWorkerScript"]], must either [be one of ["mozillaAddons"], be one of ["geckoViewAddons", "nativeMessagingFromContent"], be one of ["activityLog"], be one of ["networkStatus"], or be one of ["telemetry"]], be one of ["alarms", "storage", "unlimitedStorage"], be one of ["contextualIdentities"], be one of ["dns"], or be one of ["theme"]], must either [must either [be one of ["idle"], be one of ["activeTab"], be one of ["cookies"], be one of ["scripting"], or be one of ["webRequest", "webRequestBlocking", "webRequestFilterResponse", "webRequestFilterResponse.serviceWorkerScript"]], be one of ["clipboardRead", "clipboardWrite", "geolocation", "notifications"], be one of ["browsingData"], be one of ["tabs"], be one of ["browserSettings"], be one of ["downloads", "downloads.open"], be one of ["management"], be one of ["privacy"], be one of ["proxy"], be one of ["nativeMessaging"], or be one of ["webNavigation"]], or match the pattern /^experiments(\.\w+)+$/], or must either [be one of ["<all_urls>"], must either [match the pattern /^(https?|wss?|file|ftp|\*):\/\/(\*|\*\.[^*/]+|[^*/]+)\/.*$/, or match the pattern /^file:\/\/\/.*$/], or match the pattern /^resource:\/\/(\*|\*\.[^*/]+|[^*/]+)\/.*$|^about:/]
Warning details
Reading manifest: Warning processing commands: An unexpected property was found in the WebExtension manifest.
https://user-images.githubusercontent.com/20338483/224538877-f12e2637-c9e0-4141-a0b0-f55abe4cf6dd.png A2Firefox 2023-03-12 15.34 profile.json.gz AFirefox 2023-03-12 15.28 profile.json.gz
Manifest errors are unrelated. I see them too.
did you see profiles i uploaded in above comment or tell me how can i help you in diagnosing the cause of problem
Your screenshots suggest that uBO was not fully loaded yet, so you get default values. Wait until uBO is fully loaded before opening a dashboard page, or reload the already opened dashboard page once uBO is fully loaded.
i waited almost 1 minute after browser launch & then gone to ubo settings/even reload dashboard page still i see above bug
video= https://gofile.io/d/mKulNK
Ok, and the trouble shooting info in your opening comment shows that uBO is fully loaded. So again I have no clue what can cause this. If only I could reproduce on my side I would have something to work with.
https://gitcdn.link/cdn/gorhill/uBlock/master/assets/assets.json
is serving JSON with https://combinatronics.io/gorhill/uBlock/master/assets/assets.json
(Cloudflare timeout) in cdnURLs
.
Full minute before it timeouts in normal browser tab.
PSL is also different, so probably outdated (a lot).
This seems to be the version under https://gitcdn.link/cdn/publicsuffix/list/master/public_suffix_list.dat
: https://github.com/publicsuffix/list/commit/d9b2ec24d0d0391b60249b77fc9d196e008bae17
If this code is right:
git log --raw --abbrev=40 --pretty=%H | awk 'NF==1{commit=$1} $4==hash{print commit}' hash=`git hash-object public_suffix_list_source.dat`
If only I could reproduce on my side I would have something to work with.
how can i ease this by giving info you req?
gitcdn.link
I didn't realize I left instances of gitcdn.link
, this needs removal.
I didn't realize I left instances of
gitcdn.link
, this needs removal.
Not everywhere => here mapx- don't recommend disable gitcdn:
https://github.com/uBlockOrigin/uAssets/pull/17028/files
So page detect error 50X vs blocked request by uBo.
Two weeks have passed, is it fixed @ghajini ?
ubo stable 1.47.4 & not experienced now, i will report when it happens
this happened again now, ublock dashboard was already open & i simply reloaded the tab, still all filter lists getting unselected with the exception of ublock quick fixes list
On my side sometimes fail.
@ghajini I mentioned in #2204 that seemingly the same issue can be reproduced by restoring from backup on machines where the bug happens, which is much easier to debug. Can you confirm that it also fails on your machine?
I'll also bump the last debug info from there that seems relevant - https://github.com/uBlockOrigin/uBlock-issues/issues/2204#issuecomment-1436838378 @gorhill
Can we assume this was fixed with the commit above?
yes
Prerequisites
I tried to reproduce the issue when...
Description
all default filter lists are getting unselected at interval of 2 weeks this happened with me 3-4 times already,when it occurs i just reselect lists i haven't using any cleaner app to remove storage/cookie
also
quick fixes list
get moved to under custom list & it remain selected when it happensA specific URL where the issue occurs
ublock origin default filter lists
Steps to Reproduce
i don't know what to describe in this,please point me in appropriate direction
Expected behavior
filter lists shouldn't get altered without user intervention
Actual behavior
filter lists getting unselected without user intervention
Configuration
Screenshots
https://user-images.githubusercontent.com/20338483/172998572-3cc1e6cd-44cb-4abf-8eb8-a03f9f37ccb0.png
https://user-images.githubusercontent.com/20338483/172998584-8a47061f-52d5-461a-9c5c-c65e8594d9e2.png