Page 6 of 8

Re: Firefox stops loading pages until NoScript disabled or Firefox restarted

Posted: Fri Jan 20, 2023 11:11 am
by barbaz
@ecarlson Do you think viewtopic.php?t=26897 might be the same issue you're experiencing?

Re: Firefox stops loading pages until NoScript disabled or Firefox restarted

Posted: Tue Jan 24, 2023 4:39 pm
by IZh
Strange. After updating beta version from the site (and having a couple of weeks without hanging) to the version from the Mozilla store the browaser is againg hanging sometimes. Although, the versions should be the same.

Re: Firefox stops loading pages until NoScript disabled or Firefox restarted

Posted: Fri Feb 03, 2023 8:58 pm
by therube
12 minutes and 52 seconds ago (03:42:27 PM 02/03/2023)

111.0a1 Build ID 20230202091542
11.4.15rc2

Re: Firefox stops loading pages until NoScript disabled or Firefox restarted

Posted: Wed Feb 15, 2023 7:09 pm
by therube
3 hours and 37 minutes ago (10:29:38 AM 02/15/2023)

112.0a1
Build ID 20230215093902

11.4.16rc2

Re: Firefox stops loading pages until NoScript disabled or Firefox restarted

Posted: Thu Feb 16, 2023 4:56 pm
by therube
an hour and 3 minutes ago (10:46:23 AM 02/16/2023)

112.0a1
Build ID 20230216094044

Re: Firefox stops loading pages until NoScript disabled or Firefox restarted

Posted: Mon Feb 20, 2023 5:36 pm
by therube
38 seconds ago (12:33:21 PM 02/20/2023)

Immediately after update to today's Nightly.

112.0a1
Build ID 20230220094640

(I don't know if I was dead before that, as I opened from Session Restore, selected update, & restarted - without trying any links prior to restart.)


(Things are OK after a restart. How long...)

Re: Firefox stops loading pages until NoScript disabled or Firefox restarted

Posted: Thu Feb 23, 2023 10:06 am
by peroxide5471
Hello,
I have the same issue with Noscript v11.4.16, after ~8minutes starting browser.
viewtopic.php?p=106618#p106618

But weirdly only on win7, not on win10.
Were there any conclusions?

Could we add a log file to the addon, it would make debugging other issues easier.
Or how do we move forward with this issue?

If the addon works for ~8minutes, then stops working that would point to an addon issue not a browser one. (other addons work perfectly)

Re: Firefox stops loading pages until NoScript disabled or Firefox restarted

Posted: Thu Feb 23, 2023 10:11 am
by Giorgio Maone
peroxide5471 wrote: Thu Feb 23, 2023 10:06 am Could we add a log file to the addon, it would make debugging other issues easier.
Or how do we move forward with this issue?
So far your instance seems the only reliably reproducible (if it is the same issue at all), only by you though (I don't have Windows 7 instance at hand).
Could you please check NoSript Options>Advanced>Debug on and, when this happens next, check the Browser Console (ctrl+shif+J) for possibly NoScript-related messages?
Thanks!

Re: Firefox stops loading pages until NoScript disabled or Firefox restarted

Posted: Thu Feb 23, 2023 8:47 pm
by peroxide5471
Sure thing,
I managed to record a working and not working state.
https://drive.google.com/file/d/1u3rk9v ... share_link

My guess it gets stuck after "Recent requests garbage collection", I didn't see that when it was working.
Maybe it's a race condition.

It started blocking everything after ~4min30s this time.

Re: Firefox stops loading pages until NoScript disabled or Firefox restarted

Posted: Thu Feb 23, 2023 9:28 pm
by therube
an hour and 42 minutes ago (02:45:48 PM 02/23/2023)

I'll have to try & grab the console another time.
Can't be too far away ;-).


I will note, that NoScript Options & Console were active during this "down time".

Re: Firefox stops loading pages until NoScript disabled or Firefox restarted

Posted: Sat Feb 25, 2023 12:59 pm
by Giorgio Maone
peroxide5471 wrote: Thu Feb 23, 2023 8:47 pm My guess it gets stuck after "Recent requests garbage collection", I didn't see that when it was working.
I can't see any weirdness in your logs (nor in your settings), but two other extensions - one failing and the other making requests to Google Calendar, which are intercepted (but not blocked) by NoScript.

Just to be sure: does this problem happen also if you disable all the other extensions?

Re: Firefox stops loading pages until NoScript disabled or Firefox restarted

Posted: Sun Feb 26, 2023 11:48 am
by peroxide5471
I was trying to load google calendar during recording.
Good idea, I disabled every other extensions but same problem.

with noscript enabled:

Code: Select all

  11:33:29.217 Error in parsing value for 'will-change'.  Declaration dropped. index.html
  11:33:29.570 GET xxxcalendar.google.com/calendar/    -> no response
HANGS here with noscript enabled,
Interesting, garbage collection doesn't show up here.

when noscript disabled it continues:

Code: Select all

  11:34:07.239 sendRemoveListener on closed conduit {73a6fe31-595d-460b-a920-fcc0f8843232}.274877924893 ConduitsChild.jsm:115
  11:34:07.240 sendRemoveListener on closed conduit {73a6fe31-595d-460b-a920-fcc0f8843232}.274877924893 ConduitsChild.jsm:115
  11:34:07.259 AbortError: Actor 'Conduits' destroyed before query 'RunListener' was resolved WebRequest.jsm:1080
  11:34:07.296 GET  xxxcalendar.google.com/calendar/u/0/   HTTP/3 301 moved permanently 
  11:34:07.373 GET xxxcalendar.google.com/calendar/u/0/r HTTP/3 200
  11:34:07.498 sendRemoveListener on closed conduit {f558e0b7-ded4-4803-a06f-3dcc5a8cc37e}.274877924884
Could you print some debug messages to console from noscript? So I could print internal state when everything hangs.
// I had to modify urls to bypass spam filter on forum.

Re: Firefox stops loading pages until NoScript disabled or Firefox restarted

Posted: Sun Feb 26, 2023 9:01 pm
by Giorgio Maone
peroxide5471 wrote: Sun Feb 26, 2023 11:48 am Could you print some debug messages to console from noscript? So I could print internal state when everything hangs.
// I had to modify urls to bypass spam filter on forum.
NoScript already emits a lot of console noise when you set debug on, so I coudln't think of any other instrumentation to put there and grab more info.

But could you run another couple of tests for me with
  1. googletagmanager.com set to DEAFAULT, rather than UNTRUSTED like it is now
  2. NoScript Options>Advanced>Sanitize Cross-site requests unchecked

Re: Firefox stops loading pages until NoScript disabled or Firefox restarted

Posted: Mon Feb 27, 2023 7:14 am
by Destranix
NoScript already emits a lot of console noise when you set debug on, so I coudln't think of any other instrumentation to put there and grab more info
Maybe you could somehow emit function enters and leaves? That way we could maybe find the place where the hangup occurs and then at more debugging messages in that place.

Re: Firefox stops loading pages until NoScript disabled or Firefox restarted

Posted: Mon Feb 27, 2023 8:57 pm
by peroxide5471
Tested again today.
Removing Googletag filter didn't help, nor disabling XSS (although seem to run longer when not enabled).

But there is a clear difference in logging, when it constantly fails these lines are present:

Code: Select all

20:43:35.617 [NoScript]:2610 Recent requests garbage collection. log.js:32:13
20:43:36.173 [NoScript]:2611 onHeadersReceived 
20:43:36.175 [NoScript]:2612 CSP blocker on http://xxx/: noscript-marker;script-src 'none';script-src-elem 'none';script-src-attr 'none';worker-src 'none';font-src http:;media-src http:;object-src http: log.js:32:13
20:43:36.176 [NoScript]:2613 Headers changed  
and right after 'garbage collection' GET hangs and not gets 200 response.

When it works these lines are not in the log, and GET gets 200 response.
So why do I get these lines?

Also why is there garbage collection 2ms before first GET goes out? My bet it deletes something needed.

Code: Select all

20:43:35.617 [NoScript]:2610 Recent requests garbage collection. log.js:32:13
20:43:35.619 GEThttp://xxx/