Firefox stops loading pages until NoScript disabled or Firefox restarted

Ask for help about NoScript, no registration needed to post
barbaz
Senior Member
Posts: 10834
Joined: Sat Aug 03, 2013 5:45 pm

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

Post by barbaz »

@ecarlson Do you think viewtopic.php?t=26897 might be the same issue you're experiencing?
*Always* check the changelogs BEFORE updating that important software!
-
IZh
Posts: 2
Joined: Tue Jan 10, 2023 11:51 am

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

Post 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.
User avatar
therube
Ambassador
Posts: 7922
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

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

Post by therube »

12 minutes and 52 seconds ago (03:42:27 PM 02/03/2023)

111.0a1 Build ID 20230202091542
11.4.15rc2
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0
User avatar
therube
Ambassador
Posts: 7922
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

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

Post by therube »

3 hours and 37 minutes ago (10:29:38 AM 02/15/2023)

112.0a1
Build ID 20230215093902

11.4.16rc2
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.16
User avatar
therube
Ambassador
Posts: 7922
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

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

Post by therube »

an hour and 3 minutes ago (10:46:23 AM 02/16/2023)

112.0a1
Build ID 20230216094044
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0
User avatar
therube
Ambassador
Posts: 7922
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

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

Post 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...)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.16
peroxide5471
Posts: 9
Joined: Wed Feb 22, 2023 9:23 pm

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

Post 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)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

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

Post 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!
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/111.0
peroxide5471
Posts: 9
Joined: Wed Feb 22, 2023 9:23 pm

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

Post 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.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
User avatar
therube
Ambassador
Posts: 7922
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

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

Post 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".
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

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

Post 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?
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/111.0
peroxide5471
Posts: 9
Joined: Wed Feb 22, 2023 9:23 pm

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

Post 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.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

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

Post 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
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/111.0
Destranix
Posts: 11
Joined: Thu Jan 27, 2022 4:07 pm

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

Post 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.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0
peroxide5471
Posts: 9
Joined: Wed Feb 22, 2023 9:23 pm

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

Post 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/
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
Post Reply