iv-org / invidious

Invidious is an alternative front-end to YouTube
https://invidious.io
GNU Affero General Public License v3.0
16.19k stars 1.79k forks source link

[Question] "The media could not be loaded, either because the server or network failed or because the format is not supported." - inv_sig_helper missing #4946

Closed Vamp898 closed 5 days ago

Vamp898 commented 5 days ago

Describe the bug Randomly (but the amount increases every day) videos do not load with the Error Message "The media could not be loaded, either because the server or network failed or because the format is not supported.".

It started with 1% of the Videos a week ago but i'm now at 90% of the Videos not playing due to this error, ratio increasing every day.

I have the exact same issue in NewPipe (not in yt-dlp), i also reported the bug there, but it was closed without any comment.

But the error in NewPipe is almost the same, the Player fails to play anything with the error, the format is not supported.

Happens unrelated to shorts or normal videos. I noticed that most Videos where this happens, when switching to youtube, i get offered an 1080p Premium Version, maybe there is an correlation but i've watched Videos with this option that worked fine... so maybe not.

Steps to Reproduce Try to play this Video with Invidious https://www.youtube.com/watch?v=atfDZIZSfLY

Logs Exception: Error while writing data to the client (HTTP::Server::ClientError) from /usr/lib/crystal/http/server/response.cr:256:9 in 'unbuffered_write' from /usr/lib/crystal/io/buffered.cr:163:14 in 'write' from /usr/lib/crystal/http/server/response.cr:97:7 in 'write' from /usr/lib/crystal/io.cr:1177:7 in 'copy' from src/ext/kemal_static_file_handler.cr:94:5 in 'send_file' from src/ext/kemal_static_file_handler.cr:185:13 in 'call' from /usr/lib/crystal/http/server/handler.cr:30:7 in 'call_next' from lib/kemal/src/kemal/exception_handler.cr:8:7 in 'call' from /usr/lib/crystal/http/server/handler.cr:30:7 in 'call_next' from src/invidious/helpers/logger.cr:17:35 in 'call' from /usr/lib/crystal/http/server/handler.cr:30:7 in 'call_next' from lib/kemal/src/kemal/init_handler.cr:12:7 in 'call' from /usr/lib/crystal/http/server/request_processor.cr:51:11 in 'process' from /usr/lib/crystal/http/server.cr:521:5 in 'handle_client' from /usr/lib/crystal/http/server.cr:451:5 in '->' from /usr/lib/crystal/fiber.cr:143:11 in 'run' from /usr/lib/crystal/fiber.cr:95:34 in '->' from ??? Caused by: Error writing to socket (#): Broken pipe (IO::Error) from /usr/lib/crystal/io/evented.cr:45:11 in 'write' from /usr/lib/crystal/crystal/system/socket.cr:89:5 in 'system_write' from /usr/lib/crystal/socket.cr:442:7 in 'unbuffered_write' from /usr/lib/crystal/io/buffered.cr:163:14 in 'write' from /usr/lib/crystal/http/server/response.cr:273:11 in 'unbuffered_write' from /usr/lib/crystal/io/buffered.cr:163:14 in 'write' from /usr/lib/crystal/http/server/response.cr:97:7 in 'write' from /usr/lib/crystal/io.cr:1177:7 in 'copy' from src/ext/kemal_static_file_handler.cr:94:5 in 'send_file' from src/ext/kemal_static_file_handler.cr:185:13 in 'call' from /usr/lib/crystal/http/server/handler.cr:30:7 in 'call_next' from lib/kemal/src/kemal/exception_handler.cr:8:7 in 'call' from /usr/lib/crystal/http/server/handler.cr:30:7 in 'call_next' from src/invidious/helpers/logger.cr:17:35 in 'call' from /usr/lib/crystal/http/server/handler.cr:30:7 in 'call_next' from lib/kemal/src/kemal/init_handler.cr:12:7 in 'call' from /usr/lib/crystal/http/server/request_processor.cr:51:11 in 'process' from /usr/lib/crystal/http/server.cr:521:5 in 'handle_client' from /usr/lib/crystal/http/server.cr:451:5 in '->' from /usr/lib/crystal/fiber.cr:143:11 in 'run' from /usr/lib/crystal/fiber.cr:95:34 in '->' from ???

Screenshots image

Vamp898 commented 5 days ago

Recent example: This Video played fine yesturday, no longer plays today https://www.youtube.com/watch?v=OtejSh-trJQ

Stoppedwumm commented 5 days ago

Is YouTube changing formats or what?

m4teh commented 5 days ago

Is YouTube changing formats or what?

Yeah they've definitely changed something up very recently.

unixfox commented 5 days ago

Duplicate of https://github.com/iv-org/invidious/issues/4947