TeamPiped / Piped

An alternative privacy-friendly YouTube frontend which is efficient by design.
https://piped.video
GNU Affero General Public License v3.0
8.35k stars 685 forks source link

Unable to play entire channel on my instance #2105

Open DuplicantWood opened 1 year ago

DuplicantWood commented 1 year ago

Official Instance

Describe the bug

On my self hosted instance i have run into a youtube channel that has stopped working completely, other videos and channels are working fine still, however in this case (hardware unboxed) i am unable to play any of their videos. It just loads the thumbnail and pressing the play button doesn't do anything.

This same channel works fine on your instance and others so i am not sure what is wrong with mine.

To Reproduce

Open hardware unboxed youtube video Try to play video Nothing happens and play button is unresponsive

Expected behavior

Open hardware unboxed video Video plays

Logs/Errors

I see this in my docker logs for piped-backend not sure if it is relevant or not

Unknown event type: video.piped.stream.bypass.request Unknown event type: video.piped.stream.bypass.request Unknown event type: video.piped.stream.bypass.request Unknown event type: video.piped.stream.bypass.request

Browser, and OS with Version.

No response

Additional context

No response

DuplicantWood commented 1 year ago

I can now play videos on the channels that weren't working previously by checking "Disable LBRY for Streaming"

cronyakatsuki commented 1 year ago

The same thing has hapened for me too. The problem seems to be with lbry.

I also get this error when lbry proxy is enable in settings in the firefox console:

EmeEncryptionSchemePolyfill: Waiting to detect encryptionScheme support. shaka-player.ui.js:960:241
McEncryptionSchemePolyfill: Waiting to detect encryptionScheme support. shaka-player.ui.js:965:162
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://pipedproxy.cronyakatsuki.xyz/api/v4/streams/free/ditch-vscode-spyware-for-vscodium/5801336058116f13d6d9dd226ed3f8356aec7ac3/a56806?host=player.odycdn.com. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 502.
Uncaught (in promise) TypeError: NetworkError when attempting to fetch resource. VideoPlayer.vue:401:96
    loadVideo VideoPlayer.vue:401
    AsyncFunctionThrow self-hosted:814

And this error when lbry proxy is disabled:

XHRHEADhttps://player.odycdn.com/api/v4/streams/free/ditch-vscode-spyware-for-vscodium/5801336058116f13d6d9dd226ed3f8356aec7ac3/a56806
[HTTP/2 401 Unauthorized 556ms]
EmeEncryptionSchemePolyfill: Waiting to detect encryptionScheme support. shaka-player.ui.js:960:241
McEncryptionSchemePolyfill: Waiting to detect encryptionScheme support. shaka-player.ui.js:965:162
Uncaught (in promise) 
Object { severity: 2, category: 4, code: 4000, data: (1) […], handled: false }
category: 4
code: 4000
data: Array [ "https://player.odycdn.com/api/v4/streams/free/ditch-vscode-s…for-vscodium/5801336058116f13d6d9dd226ed3f8356aec7ac3/a56806" ]
handled: false
severity: 2
<prototype>: Object { toString: toString(), … }
EmeEncryptionSchemePolyfill: Already installed. shaka-player.ui.js:960:47
McEncryptionSchemePolyfill: Already installed. shaka-player.ui.js:965:25

Disabling lbry for streaming fixes the issue.

Instance link is: https://piped.cronyakatsuki.xyz Installation was done with docker following this part on your website Docker-Compose Nginx AIO script

Edit: I can open and watch the videos from the links in the error messages, they just don't show on the player in the instance.