Still loading YouTube pages

Ask for help about FlashGot, no registration needed to post
Mario1978

Still loading YouTube pages

Post by Mario1978 »

windows XP SP3, Firefox 12.0, FlashGot 1.5.5.2

When i play a youtube video and close the page, (obviously when the video is not finished loading) the video is still loading. To stop the loading i have to close the browser (Firefox).
Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Still loading YouTube pages

Post by therube »

Unrelated to FlashGot.

Disable FlashGot.
Try your Youtube test.
Does the problem persist?

Firefox 12, huh.
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; WOW64; rv:22.0) Gecko/20100101 SeaMonkey/2.19a2
Guest

Re: Still loading YouTube pages

Post by Guest »

This problem is related to Flashgot almost for sure, it happens only with FlashGot enable and only with the last version (1.5.5.2).
Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Still loading YouTube pages

Post by Giorgio Maone »

Example URL?
How do you tell the video is still loading, exactly (Wireshark, devtools, Httpfox or what?)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Still loading YouTube pages

Post by therube »

FF 12
FlashGot 1.5.5.2rc3

Youtube: http://www.youtube.com/watch?v=gWubhw8SoBE

I start playback
At some point I close the tab
Sound stops

From all I can tell, all FF activity stopped at that point

Code: Select all

0x00000DA0	39	TCP	192.168.1.4	4833	173.194.8.112	80	1	2,357	1,331	1,782,089	Yes	
Rcvd Calls = 2,357
Received (bytes) 1,782,089

Neither have changed since closing the tab

Code: Select all

Send: Return Code: 0x00000000
GET /videoplayback?algorithm=throttle-factor&burst=40&cp=U0hVS1BSVV9OT0NONV9ITFlIOjdWQ2tVX0t5S2lw&cpn=kY3m0sr0w6ACexYj&expire=1366077795&factor=1.25&fexp=932000%2C932004%2C906383%2C916911%2C916910%2C902000%2C901208%2C919512%2C929903%2C925714%2C931202%2C900821%2C900823%2C931203%2C906090%2C909419%2C908529%2C930807%2C919373%2C930803%2C906836%2C920201%2C929602%2C930101%2C930609%2C926403%2C900824&gcr=us&id=o-AGMyQkr0ssmhi4c9R8_Xfix4c8XZkokcOVynvctgYyQr&ip=71.166.84.125&ipbits=8&itag=34&keepalive=yes&key=yt1&ms=au&mt=1366053564&mv=m&newshard=yes&range=24944640-26726399&ratebypass=yes&signature=096699B3AB44EEF3D0B939CB3B132C0399AB6CC4.B137E735FDAB355F22FD041A06816F11A9D8E4EF&source=youtube&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cgcr%2Cid%2Cip%2Cipbits%2Citag%2Csource%2Cupn%2Cexpire&sver=3&upn=RpguE81DxAY HTTP/1.1
Host: r11---sn-a5m7lnez.c.youtube.com
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.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
Cookie: VISITOR_INFO1_LIVE=4YDiS_HvHdo; use_hitbox=d5c5516c3379125f43aa0d495d100d6ddAEAAAAw; PREF=fv=11.7.700; recently_watched_video_id_list=0b0bbb835452b3c012af72beb723d43aWwEAAABzCwAAAE05SkVQZWVvaFlz; ACTIVITY=1366053673988



Receive: Return Code: 0x00000000
HTTP/1.1 200 OK
Last-Modified: Sun, 01 Apr 2012 17:31:01 GMT
Content-Type: video/x-flv
Date: Mon, 15 Apr 2013 19:23:14 GMT
Expires: Mon, 15 Apr 2013 19:23:14 GMT
Cache-Control: private, max-age=23701
Accept-Ranges: bytes
Content-Length: 1781760
Connection: keep-alive
X-Content-Type-Options: nosniff
Server: gvs 1.0


Receive: Return Code: 0x00000000
00000000  43 36 5B E5 33 0F F0 F8 BA A5 0A 01 D0 0C 17 EC    C6[.3...........
00000010  D8 BD BC 47 79 97 A0 51 F5 CA BC 23 68 96 0D C8    ...Gy..Q...#h...
00000020  24 61 35 85 2D 33 BC DA B0 BE 13 49 57 88 41 90    $a5.-3.....IW.A.
00000030  F4 E8 DE 0C E7 9A B0 FF 3F 95 12 35 5E 04 E6 F4    ........?..5^...
...
Nirsoft: SocketSniff

Unclose the tab (Ctrl+shift+T)
Play another portion

Code: Select all

0x000005C0	106	TCP	192.168.1.4	4938	173.194.8.112	80	4	6,483	5,324	4,873,398	Yes	
Jump forward in the clip

Code: Select all

0x00000EC8	110	TCP	192.168.1.4	4942	173.194.8.112	80	1	1,725	1,331	1,320,197	Yes	
Nothing changes (no existing sockets change nor were any new created) since closing the tab.
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 5.1; rv:22.0) Gecko/20100101 SeaMonkey/2.19a2
Dalai

Re: Still loading YouTube pages

Post by Dalai »

I can confirm this for FlashGot 1.5.5.2 on SeaMonkey 2.0.14 (Gecko < 2.0). The browser may even load a YouTube video that isn't played (but blocked by Flashblock). It does not happen with FlashGot 1.5.5.1.

Regards
Dalai
Mozilla/5.0 (Windows NT 5.1; rv:10.0.12) Gecko/20100101 Firefox/10.0.12
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Still loading YouTube pages

Post by Giorgio Maone »

Dalai wrote:I can confirm this for FlashGot 1.5.5.2 on SeaMonkey 2.0.14 (Gecko < 2.0). The browser may even load a YouTube video that isn't played (but blocked by Flashblock). It does not happen with FlashGot 1.5.5.1.
It "sniffs" every alternate format available for the video in that page by sending a HEAD request which returns just the HTTP headers (a few bytes) basically telling the content type and the size of the movie, but it doesn't download any actual stream data.
Have you evidence of the contrary?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0
Dalai

Re: Still loading YouTube pages

Post by Dalai »

Giorgio Maone wrote:Have you evidence of the contrary?
Evidence of what? That it doesn't happen with the previous version (1.5.5.1)?

I will describe what I've seen on my systems:
I'm using a fli4l router (Linux based system designed for ISDN and DSL routing) which brings a little helper program called imonc that shows the traffic on the internet line in real time. I can see the traffic generated by the browser using FlashGot 1.5.5.2 almost every time I load a YouTube page in SeaMonkey 2.0.14, Firefox 3.5.19 and Firefox 10.0.12 (tested the last two a few minutes ago). I don't know what the browser is loading from the YouTube page (and honestly I don't care), but because it doesn't happen with FlashGot 1.5.5.1 it must be related to this addon. I don't know if it is caused by this addon but maybe it's triggered by it.

To sum up:
  • FlashGot 1.5.5.2 causes the browser to load something from a YouTube page as soon as it is loaded (even if Flashblock blocks the video itself)
  • FlashGot 1.5.5.1 doesn't have this problem
  • I can reproduce this on SeaMonkey 2.0.14, Firefox 3.5.19 and Firefox 10.0.12, unfortunately not reliably though (I know that all of these browser versions aren't supported anymore but I don't care right now)
  • I don't know if it's an incompatibility to another addon or something like that. One of the browsers I use (SeaMonkey 2.0.14) has only 4 addons: Adblock Plus, Flashblock, FlashGot and Googlebar (not the one from Google), so there's not much to experiment with.
Regards
Dalai
Mozilla/5.0 (Windows NT 5.1; rv:10.0.12) Gecko/20100101 Firefox/10.0.12
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Still loading YouTube pages

Post by Giorgio Maone »

Dalai wrote:
Giorgio Maone wrote:Have you evidence of the contrary?
Evidence of what?
Of the traffic being generated by the movie being actually downloaded.
I told you that a new feature (introduced in 1.5.5.2) preloads metadata (especially the size) of all the multiple resolutions and formats for a certain movie, even if the player is blocked e.g. with FlashBlock or NoScript.
Therefore a traffic of a few hundreds of bytes, or even kilobytes is totally expected.
Otherwise, if you've got evidence that megabytes of data are downloaded even if the movie has not been started or the page has been closed, then we've got a real issue.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0
Dalai

Re: Still loading YouTube pages

Post by Dalai »

Giorgio Maone wrote:I told you that a new feature (introduced in 1.5.5.2) preloads metadata (especially the size) of all the multiple resolutions and formats for a certain movie, even if the player is blocked e.g. with FlashBlock or NoScript.
Version 1.5.5.1 already does this, doesn't it?
Giorgio Maone wrote:Therefore a traffic of a few hundreds of bytes, or even kilobytes is totally expected.
I'm aware of that.
Giorgio Maone wrote:Otherwise, if you've got evidence that megabytes of data are downloaded even if the movie has not been started or the page has been closed, then we've got a real issue.
Yes, that's exactly what I meant. The tool mentioned above (imonc) shows the internet connection at full capacity if the problem occurs (BTW this is a problem on a DSL 2 MBit/s connection ;)).

I can now confirm that - if it happens - it is the video itself being loaded; I checked the files in the browser cache with Total Commander's Lister and in the files I can clearly see contents of typical MP4/FLV files (cleared the cache directory before starting the browser of course).

Regards
Dalai
Mozilla/5.0 (Windows NT 5.1; rv:10.0.12) Gecko/20100101 Firefox/10.0.12
Dalai

Re: Still loading YouTube pages

Post by Dalai »

Hi,

are there any news on this issue? Version 1.5.5.3 shows the problem as well. BTW: the YouTube content detection is broken again on Gecko < 2.0.

Regards
Dalai
Mozilla/5.0 (Windows NT 5.1; rv:10.0.12) Gecko/20100101 Firefox/10.0.12
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Still loading YouTube pages

Post by Giorgio Maone »

I've found the culprit of the main issue in https://bugzilla.mozilla.org/show_bug.cgi?id=598304 and will work around it in next dev build.
Investigating the Gecko < 2 regression, thank you.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0
Dalai

Re: Still loading YouTube pages

Post by Dalai »

Hi there,

the issue is still present in version 1.5.5.4, at least while using Firefox 3.x or SeaMonkey 2.0.x or Firefox 10 ESR. I was not able to reproduce it on Firefox 17 ESR though.

Regards
Dalai
Mozilla/5.0 (Windows NT 5.1; rv:10.0.12) Gecko/20100101 Firefox/10.0.12
frizzolo
Posts: 4
Joined: Wed May 29, 2013 12:23 pm

Re: Still loading YouTube pages

Post by frizzolo »

I can confirm the issue is still present with 1.5.5.4 and Firefox 10.0.11 on Linux.
Even after closing all Youtube tabs in the browser, lots of connections to youtube are kept open in the background, and keep downloading data using all available bandwidth.
The only way to stop them is to close the browser altogether.

Let me know if I can help debugging in any way, and thanks for working on this!!!
Mozilla/5.0 (X11; Linux i686; rv:10.0.11) Gecko/20100101 Firefox/10.0.11 Iceweasel/10.0.11
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Still loading YouTube pages

Post by Giorgio Maone »

frizzolo wrote:I can confirm the issue is still present with 1.5.5.4 and Firefox 10.0.11 on Linux.
Is there any specific valid reason why you're sticking with an obsolete (and unsafe) Firefox version?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0
Post Reply