piped-proxy icon indicating copy to clipboard operation
piped-proxy copied to clipboard

403 on some videos

Open CactusPie opened this issue 11 months ago • 1 comments

One some videos (most videos work fine) Piped Proxy returns error 403 when you try to stream some later part of the video - the beginning works fine though. For example, the following video will play just fine, but if you try seek to about 5 minutes in you'll get an error:

https://www.youtube.com/watch?v=mdjwspbMHDE

If you play the video regularly instead of seeking it, you will also get an error when you reach a certain part, so it is not an issue with seeking.

The error I get in console is:

{
  "severity": 2,
  "category": 1,
  "code": 1001,
  "data": [
    "https://pipedproxy.removed-for-privacy.com/videoplayback?bui=AfMhrI9l_ED4IMzuir-KbgEuOjCgsM-AxDc-dqZrzYHlL_1p3zBXMAXZ1bwSKXdBvtIyv0KJaKbc75Gj&c=IOS&clen=43352469&cpn=g0LFpv99--MiKmxH&dur=2675.641&ei=JgB9Z9WsCIaii9oP98D0mAY&expire=1736266886&fexp=51326932%2C51335594%2C51371294&fvip=3&gir=yes&host=rr2---sn-2auhvcpax-f5fe.googlevideo.com&id=o-AFCCdlrMpDJMFzq5PpI8lW4ve1vGs0J82qJ_5et0MvOX&initcwndbps=1575000&ip=46.205.203.27&itag=251&keepalive=yes&lmt=1735592064699245&lsig=AGluJ3MwRAIgSRZIMFQWtXwrs2HSwKe2j0u3jiqQMBmY7AFXshof5N4CIBJncSR4DdtWgGp7fX14zX5D0Zt-wGsq8N9ZYRv2BCsx&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&met=1736245286%2C&mh=NE&mime=audio%2Fwebm&mm=31%2C29&mn=sn-2auhvcpax-f5fe%2Csn-f5f7kn7z&ms=au%2Crdu&mt=1736244764&mv=m&mvi=2&pl=20&requiressl=yes&rms=au%2Cau&rqh=1&sig=AJfQdSswRQIhANXQ2pHL-aVUJq7Mv0yJoJRGsGeDa-yRYKkZL71nd8_yAiAa3n4Gqehm4rQkq2yHqpnt0HvA7AA2iG5y8Emu9-by-Q%3D%3D&source=youtube&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&spc=x-caUJw-Wl8PBJVI7PMjBe6tO3jzwf5xbOQ1B_344qtD4b21mitQExPIhg&svpuc=1&txp=5318224&vprv=1&xpc=EgVo2aDSNQ%3D%3D&range=4287419-4453256",
    403,
    "",
    {
      "cache-control": "private",
      "content-length": "0",
      "content-type": "text/plain",
      "last-modified": "Wed, 02 May 2007 10:26:10 GMT"
    },
    1,
    "https://pipedproxy.removed-for-privacy.com/videoplayback?bui=AfMhrI9l_ED4IMzuir-KbgEuOjCgsM-AxDc-dqZrzYHlL_1p3zBXMAXZ1bwSKXdBvtIyv0KJaKbc75Gj&c=IOS&clen=43352469&cpn=g0LFpv99--MiKmxH&dur=2675.641&ei=JgB9Z9WsCIaii9oP98D0mAY&expire=1736266886&fexp=51326932%2C51335594%2C51371294&fvip=3&gir=yes&host=rr2---sn-2auhvcpax-f5fe.googlevideo.com&id=o-AFCCdlrMpDJMFzq5PpI8lW4ve1vGs0J82qJ_5et0MvOX&initcwndbps=1575000&ip=46.205.203.27&itag=251&keepalive=yes&lmt=1735592064699245&lsig=AGluJ3MwRAIgSRZIMFQWtXwrs2HSwKe2j0u3jiqQMBmY7AFXshof5N4CIBJncSR4DdtWgGp7fX14zX5D0Zt-wGsq8N9ZYRv2BCsx&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&met=1736245286%2C&mh=NE&mime=audio%2Fwebm&mm=31%2C29&mn=sn-2auhvcpax-f5fe%2Csn-f5f7kn7z&ms=au%2Crdu&mt=1736244764&mv=m&mvi=2&pl=20&requiressl=yes&rms=au%2Cau&rqh=1&sig=AJfQdSswRQIhANXQ2pHL-aVUJq7Mv0yJoJRGsGeDa-yRYKkZL71nd8_yAiAa3n4Gqehm4rQkq2yHqpnt0HvA7AA2iG5y8Emu9-by-Q%3D%3D&source=youtube&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&spc=x-caUJw-Wl8PBJVI7PMjBe6tO3jzwf5xbOQ1B_344qtD4b21mitQExPIhg&svpuc=1&txp=5318224&vprv=1&xpc=EgVo2aDSNQ%3D%3D&range=4287419-4453256"
  ],
  "handled": false,
  "message": "Shaka Error 1001",
  "stack": "R@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:10:4496\nPT@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:20:401423\nlL/</qC/<@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:20:402913\nls@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:6:3874\nlL/</FA/this.next@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:6:4172\nt@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:6:4401\npromise callback*o@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:6:4531\npromise callback*o@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:6:4541\nlL/</BA/<@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:6:4552\nBA@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:6:4448\nL@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:6:4586\nqC@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:20:402055\nzl@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:20:401610\nlL/</gm/<@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:10:83866\nB2@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:10:80260\nlL/</nt.prototype.Va/n/<@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:10:80014\npromise callback*lL/</nt.prototype.Va@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:10:80178\ngm@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:10:83775\nlL/</p.request/s<@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:10:82543\nB2@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:10:80260\nlL/</nt.prototype.Va/n/<@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:10:80014\npromise callback*lL/</nt.prototype.Va@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:10:80178\nlL/</p.request@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:10:82522\nza@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:20:73408\nlL/</fd/<@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:20:63734\nMv@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:20:49091\nKs@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:20:47972\nsx@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:20:66519\nlL/</ox/<@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:20:65084\nls@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:6:3874\nlL/</FA/this.next@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:6:4172\nt@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:6:4401\npromise callback*o@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:6:4531\nlL/</BA/<@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:6:4552\nBA@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:6:4448\nL@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:6:4586\nox@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:20:64587\nlL/</Zt/t.wb</t.wb<@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:20:73969\nls@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:6:3874\nlL/</FA/this.next@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:6:4172\nlL/</BA/<@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:6:4555\nBA@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:6:4448\nL@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:6:4586\nlL/</Zt/t.wb<@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:20:73927\nlL/</ds.prototype.Y/i<@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:10:10750\nsetTimeout handler*lL/</ds.prototype.Y@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:10:10723\nZt@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:20:74042\nEo@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:20:61214\nRv@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:20:60214\niu@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:20:176961\nMo@https://piped.removed-for-privacy.com/assets/shaka-player.ui-uVzfin1H.js:20:176730\n"
}

An example request to piped proxy:

https://pipedproxy.removed-for-privacy.com/videoplayback?bui=AfMhrI9l_ED4IMzuir-KbgEuOjCgsM-AxDc-dqZrzYHlL_1p3zBXMAXZ1bwSKXdBvtIyv0KJaKbc75Gj&c=IOS&clen=735882666&cpn=g0LFpv99--MiKmxH&dur=2675.606&ei=JgB9Z9WsCIaii9oP98D0mAY&expire=1736266886&fexp=51326932%2C51335594%2C51371294&fvip=3&gir=yes&host=rr2---sn-2auhvcpax-f5fe.googlevideo.com&id=o-AFCCdlrMpDJMFzq5PpI8lW4ve1vGs0J82qJ_5et0MvOX&initcwndbps=1575000&ip=46.205.203.27&itag=299&keepalive=yes&lmt=1735592042709307&lsig=AGluJ3MwRAIgSRZIMFQWtXwrs2HSwKe2j0u3jiqQMBmY7AFXshof5N4CIBJncSR4DdtWgGp7fX14zX5D0Zt-wGsq8N9ZYRv2BCsx&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&met=1736245286%2C&mh=NE&mime=video%2Fmp4&mm=31%2C29&mn=sn-2auhvcpax-f5fe%2Csn-f5f7kn7z&ms=au%2Crdu&mt=1736244764&mv=m&mvi=2&pl=20&requiressl=yes&rms=au%2Cau&rqh=1&sig=AJfQdSswRQIhAMFlQoaRh4vAt6P21HJWrCeNflaD1o-vUt45N8OlOupbAiA8vYA9zsMWvnqhLcWp001xePyExCfJLSABnzB0HDDKiw%3D%3D&source=youtube&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&spc=x-caUJw-Wl8PBJVI7PMjBe6tO3jzwf5xbOQ1B_344qtD4b21mitQExPIhg&svpuc=1&txp=5319224&vprv=1&xpc=EgVo2aDSNQ%3D%3D&range=67300902-68785031

CactusPie avatar Jan 07 '25 10:01 CactusPie

I'm having the exact same problem. Every video stop loading after about 60 seconds, and I get the same 403 error from pipedproxy. What's weird is that using the same instance on LibreTube for Android witch seems to just use pipedapi, there is no problem. So it has to be because of the web interface / pipedproxy but it must be solvable. It looks as if this is the same behavior as here https://github.com/TeamPiped/Piped/issues/3689 For reference I was having the 1001 issue (https://github.com/TeamPiped/Piped/issues/2915) and i'm using warp to overcome YouTube blocking my IP.

maximushugus avatar Jan 12 '25 12:01 maximushugus