Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORS error spam on certain videos #3211

Open
1 task done
loldev69 opened this issue Dec 2, 2023 · 3 comments
Open
1 task done

CORS error spam on certain videos #3211

loldev69 opened this issue Dec 2, 2023 · 3 comments
Labels
bug Something isn't working P1

Comments

@loldev69
Copy link

loldev69 commented Dec 2, 2023

Official Instance

Describe the bug

Most videos play fine, but some never load and hundreds of CORS errors appear in the console.
See below for example video and error.
The issue appear to be tied to specific videos.

To Reproduce

Example of affected video: https://piped.video/watch?v=luqqcLL4xnw

Expected behavior

Video should play and not spam errors.

Logs/Errors

Access to fetch at 'https://pipedproxy-ams-2.kavin.rocks/videoplayback/expire/1701533479/ei/xwJrZd_dKqe_6dsP_7WQgAc/ip/89.46.223.184/id/96eaaa70b2f8c67c/itag/136/source/youtube/requiressl/yes/xpc/EgVo2aDSNQ%3D%3D/mh/4A/mm/31,29/mn/sn-5hnednss,sn-5hne6nzs/ms/au,rdu/mv/m/mvi/3/pl/24/initcwndbps/1040000/spc/UWF9f2DZy2eGpf1wv1MtLd6oXu1xqKrf_RoNRyTDtw/vprv/1/ratebypass/yes/mime/video%2Fmp4/otfp/1/gir/yes/clen/699672/lmt/1646043850277196/dur/10.083/rqh/1/mt/1701511499/fvip/5/keepalive/yes/fexp/24007246/sparams/expire,ei,ip,id,itag,source,requiressl,xpc,spc,vprv,ratebypass,mime,otfp,gir,clen,lmt,dur,rqh/sig/ANLwegAwRgIhAOXPU05IzIUfo55iLoFA-MUUJDw9ykgj6bj7XTqbUgFyAiEA52lnVB3suLyaAxrzteXMHRMvgYFqoPB1T8tk-FKy11s%3D/lsparams/mh,mm,mn,ms,mv,mvi,pl,initcwndbps/lsig/AM8Gb2swRgIhAINSA1aB1QAdwxx0xWAEVMZCWfN6aIcLrVoz61hYTeA-AiEA_Ftt8HyJjputJaoXwvsqrSCZqxRA9edDS7ydyIPaSDo%3D/range/0-739?host=rr3---sn-5hnednss.googlevideo.com' from origin 'https://piped.video' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Browser, and OS with Version.

Reproduced on Firefox, Brave, Edge, and Tor Browser.

Additional context

No response

@loldev69 loldev69 added the bug Something isn't working label Dec 2, 2023
@FireMasterK FireMasterK added the P1 label Dec 11, 2023
@WorldsEndless
Copy link

WorldsEndless commented Dec 11, 2023

I'm getting this same error on almost every video on each instance I try (Firefox 118.01) This renders the piped video unwatchable (they just fail). I am trying plugins that disable CORs, but they aren't working so far.

FireMasterK added a commit to TeamPiped/piped-proxy that referenced this issue Dec 14, 2023
@blacklight
Copy link

I can confirm that the issue is still occurring for me. I doubt that it's caused by a CORS misconfiguration, as it seems that some requests to my pipedproxy server succeed while others randomly fail.

@ComodoHacker
Copy link

I'm getting it right now on piped.video on every video I try. Firefox 124.0 on Win10. Reproduces with extensions and tracking protection disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P1
Projects
None yet
Development

No branches or pull requests

5 participants