Page 1 of 1

repeatedly requesting /rules.abe

Posted: Wed Oct 01, 2014 3:07 am
by AlbertMTom
Using a tool such as the Live HTTP Headers extension (https://addons.mozilla.org/en-US/firefo ... p-headers/), and visiting such as the Wikipedia entry for NoScript (https://en.wikipedia.org/wiki/NoScript), you will see that NoScript will repeatedly request /rules.abe from bits.wikimedia.org ... this presumably has to do with the refresh header which is returned along with the 404 status code.

Re: repeatedly requesting /rules.abe

Posted: Wed Oct 01, 2014 3:53 am
by barbaz
To disable that:
NoScript Options > Advanced > Abe > un-check "Allow sites to push their own rulesets"

Re: repeatedly requesting /rules.abe

Posted: Wed Oct 01, 2014 4:37 am
by AlbertMTom
I am reporting a bug. NoScript sends multiple requests for the same non-existent file during the course of a single page load.

Re: repeatedly requesting /rules.abe

Posted: Wed Oct 01, 2014 7:36 am
by Giorgio Maone
AlbertMTom wrote:I am reporting a bug. NoScript sends multiple requests for the same non-existent file during the course of a single page load.
Thank you, looking into it.

400 Bad Request on GET /rules.abe results in repeat requests

Posted: Tue Jun 16, 2015 3:47 pm
by RobertDrew
With "Allow sites to push their own rulesets" checked, when there's a 400 Bad Request response, the same request gets sent again for each object on that domain ...

Code: Select all

https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:06 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: 59d5bfe59318ea3673856b4d96ec0bbc
x-response-time: 4
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-3-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:06 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------
https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:06 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: 8f3377b390b87f82f698bfe394516b55
x-response-time: 4
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-10-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:06 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------
https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:07 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: 8f3377b390b87f82f698bfe394516b55
x-response-time: 38
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-14-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:07 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------
https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:07 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: 98f311b9c57afd0222c24b406beb1987
x-response-time: 3
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-12-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:07 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------
https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:07 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: 26c3ac3bfb16a5a24bb1b79dcc0cb2cd
x-response-time: 3
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-14-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:07 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------
https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:07 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: 7772e58793d7988c0228ff09cfdd1e28
x-response-time: 3
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-9-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:07 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------
https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:07 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: 645f4042f717a43210c123c83fd6a1d3
x-response-time: 3
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-18-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:07 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------
https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:07 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: f7be05ae5157721b24301d4b959403f9
x-response-time: 3
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-17-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:07 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------
https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:07 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: a0046508224e96436e1c222b2fcbce01
x-response-time: 4
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-11-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:07 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------
https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:07 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: a0046508224e96436e1c222b2fcbce01
x-response-time: 4
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-4-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:07 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------
https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:07 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: 7772e58793d7988c0228ff09cfdd1e28
x-response-time: 4
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-5-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:07 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------
https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:07 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: 59d5bfe59318ea3673856b4d96ec0bbc
x-response-time: 3
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-15-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:07 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------
https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:07 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: 59d5bfe59318ea3673856b4d96ec0bbc
x-response-time: 4
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-4-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:07 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------

Re: 400 Bad Request on GET /rules.abe results in repeat requ

Posted: Tue Jun 16, 2015 4:08 pm
by barbaz
already reported? viewtopic.php?f=10&t=20136

Re: 400 Bad Request on GET /rules.abe results in repeat requ

Posted: Tue Jun 16, 2015 4:27 pm
by RobertDrew
Yeah, I guess it's the same issue, that NS doesn't cache responses with codes such as 400 or 404.

Re: 400 Bad Request on GET /rules.abe results in repeat requ

Posted: Tue Jun 16, 2015 4:37 pm
by barbaz
RobertDrew wrote:Yeah, I guess it's the same issue, that NS doesn't cache responses with codes such as 400 or 404.
Thanks, merged.