[FIXED] FG+NoScript downloads all detected Youtube streams

Bug reports and enhancement requests
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

[FIXED] FG+NoScript downloads all detected Youtube streams

Post by al_9x » Sun Sep 08, 2013 9:11 am

spontaneously, silently, consuming all available bandwidth with multiple connections and quite a bit of cpu

the transfers do not stop even when the page is closed

does not happen all the time, have to try several to repro

flashgot.media.YouTube.decode_signature_func.auto=false has no effect

1.5.5.6 seems to be ok

FF 23.0.1 & 17.0.8, FG 1.5.5.8, NS (to block the player to focus on FG triggered tranfers)
Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20100101 Firefox/17.0

Hecuba's daughter
Senior Member
Posts: 93
Joined: Mon Oct 01, 2012 6:34 am

Re: FG downloads all detected streams for youtube videos

Post by Hecuba's daughter » Sun Sep 08, 2013 8:42 pm

Confirmed here. After 2 users watching youtube clagged up our LAN tonight.

Reproduced the Fx process persisting after all Fx windows shut *at first test* - had to use Fx exit command - but then the process did close with closing the window for all tests after that.
Able to reproduce consistently with new youtube page. If page was in user's history, unable to reproduce - or only a small spontaneous download that closed itself. Possibly because FG is aware of downloads, even though they aren't in the download manager's history.

Monitored using NetLimiter, Process Explorer and confirmed massive all get ports open with netstat -a showing port 49174 and irregular numbers following to port 49456 variously opened and shut at one Fx session.

NS used to isolate embeddings as for OP.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0

CiD
Posts: 3
Joined: Sun Sep 08, 2013 8:58 pm

Re: FG downloads all detected streams for youtube videos

Post by CiD » Sun Sep 08, 2013 9:16 pm

I have the same problem since the last update for FlashGot with EVERY Youtube video all the time!

Using Firefox 23.0.1 with FlashGot 1.5.5.8.

Every time I open a Youtube video it is loaded twice! Once by FlashGot (immediately automatically in the background with its own connection(s) to youtube) and by the flashplayer-plugin (with its own connection(s) to youtube).

If I close the tab with the video, FlashGot is still loading! It does not stop until I close Firefox or the video is completely loaded!

It is also not clear where the video data are stored on my harddrive. There is nothing in "tmp" or somewhere else!

Please take a look into it! Thanks!
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0

Scripty
Posts: 7
Joined: Thu Nov 03, 2011 4:19 pm

Re: FG downloads all detected streams for youtube videos

Post by Scripty » Mon Sep 09, 2013 2:49 pm

Also happening here on Firefox v23.0.1 with FlashGot v1.5.5.8. Confirmed it's FlashGot downloading from Youtube (google IPs 74.125.*.*) by disabling it and the problem goes away.

It will often max out the connection, closing tabs and terminating flash doesn't help, you have to exit Firefox. It doesn't always happen even on the same video. Haven't found any FlashGot options that stop it.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0

User avatar
Giorgio Maone
Site Admin
Posts: 8743
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: FG downloads all detected streams for youtube videos

Post by Giorgio Maone » Mon Sep 09, 2013 8:43 pm

We're looking into this issue, probably caused by recent changes which, on the other hand, allowed for many previously non-downloadable Youtube content to be available.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0

al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

Re: FG downloads all detected streams for youtube videos

Post by al_9x » Mon Sep 09, 2013 8:59 pm

Giorgio Maone wrote:We're looking into this issue, probably caused by recent changes which, on the other hand, allowed for many previously non-downloadable Youtube content to be available.


beyond fixing this, can you add an option so that anything like this (connections) is done only on demand and never speculatively, in the background?
Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20100101 Firefox/17.0

Hecuba's daughter
Senior Member
Posts: 93
Joined: Mon Oct 01, 2012 6:34 am

Re: FG downloads all detected streams for youtube videos

Post by Hecuba's daughter » Tue Sep 10, 2013 8:48 am

CiD wrote:It is also not clear where the video data are stored on my harddrive. There is nothing in "tmp" or somewhere else!


The stuff goes into Firefox's cache. The data is effectively prefetched ready for Firefox to use, but not so useful for the user at that point of the download process.
To see the entries in Firefox, go

Code: Select all

about:cache
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0

Observer09
Posts: 5
Joined: Wed Sep 11, 2013 9:54 am

Conflict with NoScript resulting Youtube odd behaviour

Post by Observer09 » Wed Sep 11, 2013 12:16 pm

Starting from Flashgot 1.5.5.7rc1, it conflicting with NoScript extension. The symptom: everytime I'm closing played Youtube video tab, the network trafic still running at maximum internet bandwidth. It stops only when Firefox is completely closed.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0

Pipiripau
Posts: 1
Joined: Wed Sep 11, 2013 5:02 pm

Re: Conflict with NoScript resulting Youtube odd behaviour

Post by Pipiripau » Wed Sep 11, 2013 5:05 pm

I´m experiencing the same odd behavior with 64bit Palemoon 20.3 and flashgot 1.5.5.8
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:20.3) Gecko/20130809 Firefox/20.3 PaleMoon/20.3-x64

User avatar
Thrawn
Senior Member
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Conflict with NoScript resulting Youtube odd behaviour

Post by Thrawn » Wed Sep 11, 2013 11:13 pm

Known issue with FlashGot, Giorgio is working on it.

Are you sure that it's related to NoScript? Does it stop if NoScript is disabled?
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0

CiD
Posts: 3
Joined: Sun Sep 08, 2013 8:58 pm

Re: FG downloads all detected streams for youtube videos

Post by CiD » Thu Sep 12, 2013 4:47 am

Thanks Hecuba. :)

I downgraded FlashGot to version 1.5.5.6. In this release the problem does not occur.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0

User avatar
Giorgio Maone
Site Admin
Posts: 8743
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: FG downloads all detected streams for youtube videos

Post by Giorgio Maone » Thu Sep 12, 2013 6:52 am

Poll:
  • are you all using NoScript too?
  • Does disabling NoScript Options|Advanced|ABE make the problem disappear?
Asking because it might be a conflict between the new signature sniffing code and NoScript's load deferral/redirection machinery.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0

User avatar
Giorgio Maone
Site Admin
Posts: 8743
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Conflict with NoScript resulting Youtube odd behaviour

Post by Giorgio Maone » Thu Sep 12, 2013 6:53 am

Does disabling NoScript Options|Advanced|ABE make the problem disappear?

Asking because it might be a conflict between the new signature sniffing code and NoScript's load deferral/redirection machinery.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0

CiD
Posts: 3
Joined: Sun Sep 08, 2013 8:58 pm

Re: FG downloads all detected streams for youtube videos

Post by CiD » Thu Sep 12, 2013 9:04 am

Hello Giorgio,

are you all using NoScript too?
me? YES!

Does disabling NoScript Options|Advanced|ABE make the problem disappear?
for me? YES!

I tested it this way:
1. update FlashGot from v1.5.5.6 to 1.5.5.8 -> restart FF
2. started a Youtube video (ABE enabled) -> its loading even if the tab is closed -> FF restart
3. disabled ABE -> restart FF
4. started a Youtube video (ABE disabled) -> problem disappeared
5. restart FF
6. enabled ABE -> restart FF
7. started a Youtube video (ABE enabled) -> Problem back!

Hope that helps a little. :)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0

Hecuba's daughter
Senior Member
Posts: 93
Joined: Mon Oct 01, 2012 6:34 am

Re: FG downloads all detected streams for youtube videos

Post by Hecuba's daughter » Thu Sep 12, 2013 10:27 am

Extensions
DTA 2.0.16
Flagfox 4.2.12
FG 1.5.5.8
JSView 2.0.8 Phil Chee Mod
NoRedirect 1.3.2.14
NS 2.6.7.1rc2
Nuke Anything Enhanced 1.0.2
RefControl 0.8.16
Sage 1.5.2
Text Link 4.1.2013040601

Disabling ABE does appear to stop the maxing-out download behaviour.
Steps to test:
NS - Objects blocked for trusted, youtube whitelisted.
Disable ABE
Navigate to 10 different youtube videos randomly via their home page directories.
Leave placeholder unallowed.
No unexpected massive downloading at any of those pages.


But can't reliably reproduce the maxing out behaviour with ABE enabled(WAN IP check not enabled btw). Some videos with placeholder intact do begin the big download, while others don't.
We get throttled for excess bandwidth here so I can't do any exhaustive testing with ABE enabled.
But I'm happy to test with any particular parameters if the devs can point to particular videos for testing.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0

Post Reply