BrowserWorks / Waterfox

The official Waterfox 💧 source code repository
https://www.waterfox.net
Other
3.72k stars 334 forks source link

Youtube Music playing issue #2692

Open kcoderhtml opened 2 years ago

kcoderhtml commented 2 years ago

What happened?

I open youtube music sign in and then try to play a song however there is no play button and the time says 0:00 / NaN:NaN. This does not happen when not signed in. I have also tested this on a fresh clean version of waterfox with no configuration and the issue persists. This issue does not happen in Firefox

Reproducible?

Version

G4

What platform are you seeing the problem on?

Linux

Relevant log output

No response

IsakTheHacker commented 2 years ago

This happens for me too, both on Linux and Windows.

I have tested some things:

kcoderhtml commented 2 years ago

I can confirm that those steps also do not work.

adamp01 commented 2 years ago

Could you attach some log output for this please? Hopefully the browser console (cmd + shift + j) will display something of value, if not web inspector output will have to do.

Have you tried overriding the user agent:

  1. Go to about:config
  2. Add a new preference, general.useragent.override
  3. Set the string value to Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0
  4. If the above doesn't work, try changing the end to Firefox/99.0 and rv:99.0

Let me know the outcome of that, thanks.

kcoderhtml commented 2 years ago

Here are my logs

Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. 3 [h0.js:47](moz-extension://e43ab90b-d46b-4d77-9be7-25f612cb602b/h0.js)
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. 2 background.js:1
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. 3 h0.js:47
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. 2 [background.js:1](moz-extension://a6b958fd-ba9c-4b30-a874-8e2e8dac8701/background.js)
XHRPOSThttps://music.youtube.com/watch?v=DoUW5ZkblTs&pbj=1
[HTTP/3 400 Bad Request 29ms]

XHRPOSThttps://music.youtube.com/watch?v=DoUW5ZkblTs&pbj=1
[HTTP/3 400 Bad Request 27ms]

XHRPOSThttps://music.youtube.com/watch?v=DoUW5ZkblTs&pbj=1
[HTTP/3 400 Bad Request 33ms]

Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. 3 h0.js:47
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. 2 background.js:1
Promise resolved while context is inactive
index.js:5029
sendRemoveListener on closed conduit 87677a2c52b84ad3a151a4a72f5bd3c4@jetpack.824633721168 ConduitsChild.jsm:108
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. 6 h0.js:47
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. 2 background.js:1
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. 2 h0.js:47
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. 2 background.js:1
Content Security Policy: Couldn’t process unknown directive ‘require-trusted-types-for’ 2
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. h0.js:47
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. 3 [h0.js:47](moz-extension://e43ab90b-d46b-4d77-9be7-25f612cb602b/h0.js)
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. 2 background.js:1
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. h0.js:47
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:1
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. h0.js:47
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:1
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. h0.js:47
[Exception... "Favicon at "https://music.youtube.com/favicon.ico" failed to load."  nsresult: "0x804b0064 (<unknown>)"  location: "JS frame :: resource:///modules/FaviconLoader.jsm :: onStopRequest :: line 241"  data: no] FaviconLoader.jsm:241:22
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. 3 h0.js:47
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. 2 [background.js:1](moz-extension://a6b958fd-ba9c-4b30-a874-8e2e8dac8701/background.js)
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. 3 h0.js:47
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. 2 background.js:1
XHRPOSThttps://music.youtube.com/watch?v=DoUW5ZkblTs&pbj=1
[HTTP/3 400 Bad Request 28ms]

TypeError: (destructured parameter) is undefined Grammarly-bg.js:2:1594515
Content Security Policy: Couldn’t process unknown directive ‘require-trusted-types-for’

I tested those and nothing seemed to change do I have to restart the browser though?

adamp01 commented 2 years ago

If you go to about:preferences -> Privacy and Security -> Manage Data -> Search for youtube and remove all occurences, does that work? I was able to replicate the issue but doing this resolves things UNTIL you refresh, then it breaks again and have to do the same. It seems to be a weird caching error from the YouTube side.

kcoderhtml commented 2 years ago

I can verify that this works but also signs you out. I would agree that it might be a caching error however this issue was not present in previous versions so there is also most likely a bug on our side as well

adamp01 commented 2 years ago

Do you recall which previous versions were working, and can you verify that is still the case on those versions? cdn.waterfox.net

kcoderhtml commented 2 years ago

The version labeling is not clear what is the version scheme?

adamp01 commented 2 years ago

On the cdn you want to be looking at waterfox-g4.{minor}.{patch}.en-US.linux-x86_64.tar.bz2

kcoderhtml commented 2 years ago

Thanks!

kcoderhtml commented 2 years ago

Every G4 release in the list had this problem. I also retested it with firefox and the issue did not appear.
My testing procedure is as follows: