You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my self hosted instance, tube.ealker.com, videos longer than a minute recieve error 403 from YouTube. I tested this with many videos and it consistently fails on videos longer than a minute, and consistently works on videos shorter than a minute. This behavior occurs on both the actual website and through the yattee app, which I assume uses api. This happens regardless of proxy settings and regardless of quality settings, as far as I can tell.
Sometimes an error shows up with 'The media could not be loaded' with a single failed request, and sometimes a loading icon appears and buffers endlessly with repeated requests in the logs. I don't know what the cause is of this discrepency.
I don't have any idea why it's specifically vidoes shorter than a minute. Non-shorts videos that are shorter than a minute still work. It seems like shorts are always less than a minute and always work.
I remember longer videos working intermittently at some point, but now it very consistently only works with short videos.
Playing the same videos through mpv (using ffmpeg and yt-dlp) always works, and using a different instance also works (with or without proxy).
I read the FAQ and various other issues with similar problems and none of them fix the issue:
Excerpt from invidious logs when trying to play two videos longer than a minute:
2023-08-17 17:42:11 UTC [info] 200 GET /vi/cfc97iswJIc/mqdefault.jpg 73.26ms
2023-08-17 17:42:11 UTC [info] 200 GET /vi/rRygY6UBvTc/mqdefault.jpg 90.32ms
2023-08-17 17:42:11 UTC [info] 200 GET /vi/BdcrTmWAa_Y/mqdefault.jpg 61.07ms
2023-08-17 17:42:11 UTC [info] 403 GET /videoplayback?expire=1692315730&ei=8lveZNyMMeCg_9EPuvuxmAw&ip=129.21.149.175&id=o-AM9IbHtANtLopWRITNuxWZ8cG9D22zDlzANiwetyDGFz&itag=299&source=youtube&requiressl=yes&mh=go&mm=31%2C29&mn=sn-ab5sznzk%2Csn-ab5l6nrr&ms=au%2Crdu&mv=m&mvi=1&pl=16&initcwndbps=1425000&spc=UWF9f_C1PWBKMdetZOIMpwela8g-rFx7Y4UrLFjvfg&vprv=1&svpuc=1&mime=video%2Fmp4&gir=yes&clen=614647096&dur=1155.916&lmt=1692227838975554&mt=1692293838&fvip=1&keepalive=yes&fexp=24007246%2C51000024&c=ANDROID&txp=6309224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgITqcA120N2Chu1xn0kBcLDEXdm1jY7t0hQNj5KyW_KgCIGdjy17e8nDDyn7tTToLPg3K50z-v6AYCKQ_Fc8BzGuH&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIhAIzQWOyLX-u5CsRMO2roqp5kTASJu_EmFX7ThYxASlP5AiB1b-CMp5aecx05YmnaevStnjg-JKS_hG0PLWUN5eVgWw%3D%3D&host=rr1---sn-ab5sznzk.googlevideo.com 94.74ms
2023-08-17 17:42:15 UTC [info] 200 GET /api/v1/videos/cfc97iswJIc 727.13ms
2023-08-17 17:42:16 UTC [info] 200 GET /vi/iACmmNf4kBw/mqdefault.jpg 69.95ms
2023-08-17 17:42:16 UTC [info] 200 GET /vi/EAgnVFX2pl8/mqdefault.jpg 68.25ms
2023-08-17 17:42:16 UTC [info] 200 GET /vi/sk41pddVM48/mqdefault.jpg 70.77ms
2023-08-17 17:42:16 UTC [info] 403 GET /videoplayback?expire=1692315735&ei=91veZIqRGKCh_9EPs9WZiAM&ip=129.21.149.175&id=o-ALv48bzfef85PGCItMFiptu7rXiMghjixZIPnj1e6Rdk&itag=299&source=youtube&requiressl=yes&mh=5T&mm=31%2C29&mn=sn-ab5sznzl%2Csn-ab5l6nrl&ms=au%2Crdu&mv=m&mvi=2&pl=16&initcwndbps=1425000&spc=UWF9f-XJ7jAex38IxZ1B6Ol2Ocd0d6xDKlnOkF3b6Q&vprv=1&svpuc=1&mime=video%2Fmp4&gir=yes&clen=612517497&dur=2979.766&lmt=1691738114088961&mt=1692293838&fvip=5&keepalive=yes&fexp=24007246%2C24363392%2C51000011&c=ANDROID&txp=4432434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgaDmM_GsaxKhB0rs3f0iO0kPK8VAKH2xRoJmHlh_beJoCIF0Xfxac0mqORQjz0VqwuV5hm58QzycQhjAXETtsSJxP&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAPSdxXGOMUJTbXdGN42c5rcKZug3iYCsdu4ASgiowZgiAiEA6mf4qNrfnaQZ_BFIBtHKJsyMQ8LcHPQI5GDZtyGKXLw%3D&host=rr2---sn-ab5sznzl.googlevideo.com 97.19ms
Excerpt from logs trying to play a video shorter than a minute:
2023-08-17 17:44:12 UTC [info] 206 GET /videoplayback?expire=1692315850&ei=alzeZKG1I4iB8gTEx5ToCA&ip=129.21.149.175&id=o-ANNa8aR6IxZNgGiLX38bTnIyAhvxC4qOEg8-MqP1fosg&itag=139&source=youtube&requiressl=yes&mh=N1&mm=31%2C26&mn=sn-ab5sznzr%2Csn-p5qlsnrr&ms=au%2Conr&mv=m&mvi=2&pl=16&initcwndbps=1096250&spc=UWF9f9sPwc1Ke4vWQsek3YFu6Vdl0qHwqFUIwVzIZQ&vprv=1&svpuc=1&mime=audio%2Fmp4&gir=yes&clen=179984&dur=29.303&lmt=1692154259835620&mt=1692294078&fvip=4&keepalive=yes&fexp=24007246%2C51000022&beids=24350017&c=ANDROID&txp=6308224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAJqc1j3chEMmIuEFR42feU6BILqc7uPHV23rFq05fYzgAiEAob9Jq3kcJdXwGcGv9c2begMzjypZqtthLJoJRW8BI4Y%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhALnxLehWb81PMak27FkvHZTTZZ1cabXqD5PokTjQK2VhAiEAvALFfyiT2oBoNxPbKabXp1mUrGlHa8vrGhLo5AUS_FA%3D&host=rr2---sn-ab5sznzr.googlevideo.com 205.38ms
2023-08-17 17:44:12 UTC [info] 206 GET /videoplayback?expire=1692315850&ei=alzeZKG1I4iB8gTEx5ToCA&ip=129.21.149.175&id=o-ANNa8aR6IxZNgGiLX38bTnIyAhvxC4qOEg8-MqP1fosg&itag=299&source=youtube&requiressl=yes&mh=N1&mm=31%2C26&mn=sn-ab5sznzr%2Csn-p5qlsnrr&ms=au%2Conr&mv=m&mvi=2&pl=16&initcwndbps=1096250&spc=UWF9f9sPwc1Ke4vWQsek3YFu6Vdl0qHwqFUIwVzIZQ&vprv=1&svpuc=1&mime=video%2Fmp4&gir=yes&clen=10896628&dur=29.166&lmt=1692154268866936&mt=1692294078&fvip=4&keepalive=yes&fexp=24007246%2C51000022&beids=24350017&c=ANDROID&txp=6309224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIhAI429nj_JBleKnJ8NXCL0XQznm3VzllTZGsz74hFUlC7AiBxVq49Ac9nznjn0MJz4ZE14EUxDmE3hpD4VUtC8n6-gw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhALnxLehWb81PMak27FkvHZTTZZ1cabXqD5PokTjQK2VhAiEAvALFfyiT2oBoNxPbKabXp1mUrGlHa8vrGhLo5AUS_FA%3D&host=rr2---sn-ab5sznzr.googlevideo.com 389.21ms
Additional context
Host OS: Gentoo Linux x86_64
Version: Rebuilt from master on 2023-08-17
The text was updated successfully, but these errors were encountered:
ethanalker
changed the title
403 when trying to play videos longer than a minute self-hosted instance [Bug]
[Bug] 403 when trying to play videos longer than a minute self-hosted instance
Aug 17, 2023
ethanalker
changed the title
[Bug] 403 when trying to play videos longer than a minute self-hosted instance
[Bug] 403 when trying to play videos longer than a minute on self-hosted instance
Aug 17, 2023
Describe the bug
On my self hosted instance, tube.ealker.com, videos longer than a minute recieve error 403 from YouTube. I tested this with many videos and it consistently fails on videos longer than a minute, and consistently works on videos shorter than a minute. This behavior occurs on both the actual website and through the yattee app, which I assume uses api. This happens regardless of proxy settings and regardless of quality settings, as far as I can tell.
Sometimes an error shows up with 'The media could not be loaded' with a single failed request, and sometimes a loading icon appears and buffers endlessly with repeated requests in the logs. I don't know what the cause is of this discrepency.
I don't have any idea why it's specifically vidoes shorter than a minute. Non-shorts videos that are shorter than a minute still work. It seems like shorts are always less than a minute and always work.
I remember longer videos working intermittently at some point, but now it very consistently only works with short videos.
Playing the same videos through
mpv
(usingffmpeg
andyt-dlp
) always works, and using a different instance also works (with or without proxy).I read the FAQ and various other issues with similar problems and none of them fix the issue:
Steps to Reproduce
Logs
Excerpt from invidious logs when trying to play two videos longer than a minute:
Excerpt from logs trying to play a video shorter than a minute:
Additional context
master
on 2023-08-17The text was updated successfully, but these errors were encountered: