Giter VIP home page Giter VIP logo

Comments (18)

gorhill avatar gorhill commented on June 7, 2024 2

No the cause is uBO wasn't prepared to deal with multiple !#include sub-lists failing to be fetched. In the current case I see three sublists which fetch operation result in error. I will push a fix soon.

from filtersregistry.

uBlock-user avatar uBlock-user commented on June 7, 2024 1

Happened again

Did you customized some advanced settings?

Yes, most of them.

from filtersregistry.

ameshkov avatar ameshkov commented on June 7, 2024

We are testing !#include and !#if filters directives and these should be gone soon.

from filtersregistry.

uBlock-user avatar uBlock-user commented on June 7, 2024

Why is it only happening to the Experimental Filter though ?

from filtersregistry.

ameshkov avatar ameshkov commented on June 7, 2024

@uBlock-user we added these new directives to the Experimental filter (as per name:) ):
https://github.com/AdguardTeam/AdguardFilters/blob/master/ExperimentalFilter/sections/Other/filter.txt

from filtersregistry.

uBlock-user avatar uBlock-user commented on June 7, 2024

I hope you remove it soon, I had to remove the filter as it no longer updates and causing an endless loop of redirections.

from filtersregistry.

ameshkov avatar ameshkov commented on June 7, 2024

Yeah, it will be removed in a couple of hours, we're almost finished.

I hope you remove it soon, I had to remove the filter as it no longer updates and causing an endless loop of redirections.

Too bad, this looks like a uBO bug to me.

@gorhill take a look plz. !#include pointing to a non-existing file seems to be messing with uBO.

  • File: https://filters.adtidy.org/extension/ublock/filters/5.txt
  • Includes https://filters.adtidy.org/extension/ublock/filters/windows.txt (404)
  • Causes an infinite loop

from filtersregistry.

uBlock-user avatar uBlock-user commented on June 7, 2024

Same issue occurs if I add https://filters.adtidy.org/extension/chromium/filters/5.txt FYI

from filtersregistry.

gorhill avatar gorhill commented on June 7, 2024

pointing to a non-existing file seems to be messing with uBO

I am not seeing this on my side, error was detected and loading was aborted. uBO will consider the fetch to have errored if one of the 3 following conditions is fulfilled:

  • Status code is outside the 200-299 range; OR
  • No data in the response body; OR
  • First and last character of trimmed response body is < and >.

In the current case, the first condition was hit (404).

from filtersregistry.

uBlock-user avatar uBlock-user commented on June 7, 2024

What about the endless loop ? It tries, gets redirected, fails and then tries again repeatedly.

from filtersregistry.

gorhill avatar gorhill commented on June 7, 2024

What about the endless loop ?

As said, I am not seeing an endless loop. If you see this it means one of the 3 mentioned conditions was not met. uBO does not "retry" a failed fetch, there is no code in uBO to do so, it aborts when it detects one.

from filtersregistry.

ameshkov avatar ameshkov commented on June 7, 2024

What about the endless loop ? It tries, gets redirected, fails and then tries again repeatedly.

We are observing it on the server side: something is constantly hitting the rate limit. Rate limited requests look like they're from ubo (random ?_= parameter).

from filtersregistry.

uBlock-user avatar uBlock-user commented on June 7, 2024

As said, I am not seeing an endless loop.

It does take a break of few secs approximately before trying again. I will post a new logger output.

Edit - Nvm, I can't reproduce it anymore.

from filtersregistry.

gorhill avatar gorhill commented on June 7, 2024

@ameshkov You say you also experience an infinite loop -- I am unable to reproduce this. This is where uBO starts the fetching of a list and where it handles include directives:

https://github.com/gorhill/uBlock/blob/master/src/js/assets.js#L227

This is called only for when a list is fetched (when auto update kicks in or when clicking "Update now" button), i.e. never repeatedly.

from filtersregistry.

gorhill avatar gorhill commented on June 7, 2024

It does take a break of few secs approximately before trying again

Did you customized some advanced settings?

from filtersregistry.

uBlock-user avatar uBlock-user commented on June 7, 2024

and again(larger output)

Keep chrome-extension://cgbcahbpdhpcegmbfconppldiemgcoii/dashboard.html#3p-filters.html opened along with the logger and it will gather.

from filtersregistry.

gorhill avatar gorhill commented on June 7, 2024

Thanks, I can reproduce with your custom settings. Will look into it.

from filtersregistry.

uBlock-user avatar uBlock-user commented on June 7, 2024

I customized them a long time ago, is that the cause ?

from filtersregistry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.