Youtube UI and navigation is very slow or hangs after Firefox update 149 - fixed by disabling HTTP/2
Categories
(Core :: Networking: HTTP, defect)
Tracking
()
People
(Reporter: louis-philippe-p, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:149.0) Gecko/20100101 Firefox/149.0
Steps to reproduce:
-Open Firefox
-Go to Youtube
-Click on the profile menu on the top right or any button that brings you to a different page on Youtube
Actual results:
Youtube's homepage loads instantly the first time after having freshly opened Firefox. After that, when clicking on the profile menu on the top right, it either takes minutes to load or fails to do so and buffers endlessly.
Similar things happen if you try to go to different pages on youtube like "watch later" for example. The progress bar at the top of Firefox goes up to about 3/4 and then nothing happens.
If you close Youtube you can't even access it again without restarting Firefox.
Disabling HTTP2 in about:config lets Youtube work fine again.
Expected results:
The profile menu should load instantly and navigating youtube should also be instant.
Comment 1•5 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox for Android::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
(In reply to BugBot [:suhaib / :marco/ :calixte] from comment #1)
The Bugbug bot thinks this bug should belong to the 'Firefox for Android::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
This issue occurs on desktop Firefox, not Firefox for Android.
System:
Windows 11
Firefox 149.0 (64-bit)
The issue is related to HTTP/2 and YouTube navigation. Disabling
network.http.http2.enabled fixes the issue.
This bug should probably be under:
Firefox → Networking → HTTP
or
Core → Networking: HTTP
(In reply to Crenchie from comment #0)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:149.0) Gecko/20100101 Firefox/149.0
Steps to reproduce:
-Open Firefox
-Go to Youtube
-Click on the profile menu on the top right or any button that brings you to a different page on YoutubeActual results:
Youtube's homepage loads instantly the first time after having freshly opened Firefox. After that, when clicking on the profile menu on the top right, it either takes minutes to load or fails to do so and buffers endlessly.
Similar things happen if you try to go to different pages on youtube like "watch later" for example. The progress bar at the top of Firefox goes up to about 3/4 and then nothing happens.
If you close Youtube you can't even access it again without restarting Firefox.Disabling HTTP2 in about:config lets Youtube work fine again.
Expected results:
The profile menu should load instantly and navigating youtube should also be instant.
I forgot to add, Youtube Music is also affected by this issue but not as much and is still somewhat usable. Disabling HTTP2 also helped in this instance.
Why did this get moved to the Android category? I'm on Windows 11.
Comment 5•5 months ago
|
||
Just dropping in to say that this may be relevant: https://www.reddit.com/r/firefox/comments/1s4powf/fix_for_youtube_hangingnot_loading_on/
(In reply to Przemysław Siekiera from comment #5)
Just dropping in to say that this may be relevant: https://www.reddit.com/r/firefox/comments/1s4powf/fix_for_youtube_hangingnot_loading_on/
Thanks for linking this. I read the post and while it didn't seem exactly the same issue, I tried the ublock fix they recommended and it worked. This is better than disabling http2 but it's still just a temporary workaround though.
Youtube was working just fine before update 149 so something probably regressed or a bug was introduced when the update released. I'm hoping this will still get investigated.
Comment 7•4 months ago
|
||
The severity field is not set for this bug.
:royang, could you have a look please?
For more information, please visit BugBot documentation.
Comment 8•4 months ago
|
||
Looks like this issue is on both desktop and mobile. Moving for Core team to take a look.
As per comment 2 this feel like something the networking team should triage, moving.
FWIW I'm unable to reproduce this issue - macOS with http2 enabled, nightly and release - no custom ublock entries, both other network factors might result in a different experience from you.
Crenchie - it might help if you use the Profiler to capture with "Network Settings" and share the profile.
https://profiler.firefox.com/ has information on how to capture, and then you can use "Upload Local Profile" to create a URL that can be shared here.
Actually, here's a way to capture a log that is likely to be more valuable to the team: https://firefox-source-docs.mozilla.org/networking/http/logging.html#using-about-logging
| Reporter | ||
Comment 10•4 months ago
|
||
(In reply to :glob ✱ from comment #9)
As per comment 2 this feel like something the networking team should triage, moving.
FWIW I'm unable to reproduce this issue - macOS with http2 enabled, nightly and release - no custom ublock entries, both other network factors might result in a different experience from you.
Crenchie - it might help if you use the Profiler to capture with "Network Settings" and share the profile.
https://profiler.firefox.com/ has information on how to capture, and then you can use "Upload Local Profile" to create a URL that can be shared here.Actually, here's a way to capture a log that is likely to be more valuable to the team: https://firefox-source-docs.mozilla.org/networking/http/logging.html#using-about-logging
I'm trying to record the bug with Firefox Profiler, but after turning the custom ublock filter I was using as a workaround, I can't seem to reproduce it.
Before it would start lagging instantly when I tried clicking buttons on the UI but now I'm opening a bunch of different tabs and opening every youtube page possible and it's working normally.
Could the bug have been fixed accidentally or something?
Comment 11•4 months ago
|
||
Unfortunately, without logs, it’s difficult for us to debug this.
Could you try reverting the workaround and reproducing the issue with an HTTP log?
| Reporter | ||
Comment 12•4 months ago
|
||
(In reply to Kershaw Chang [:kershaw] from comment #11)
Unfortunately, without logs, it’s difficult for us to debug this.
Could you try reverting the workaround and reproducing the issue with an HTTP log?
Like I said, I already reverted the workaround when I tried to log the issue but everything is working fine now for some reason so I can't reproduce it. Before, it would start lagging as soon as I opened Youtube.
Maybe something changed either on Youtube or Firefox's side that made the problem disappear.
Comment 13•4 months ago
|
||
Thanks for the reply.
In that case, I’ll close this bug for now. Please feel free to reopen it if the issue occurs again.
Description
•