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

403 forbidden when requesting video with same YT ID multiple times #31

Open
yomomano opened this issue May 14, 2023 · 2 comments
Open

Comments

@yomomano
Copy link

Hi, when I request a video multiple times it happens 'often', not always, the response is a 403 forbidden.

I am not sure where the cause or the solution lies. Can someone please shine some light and if possible locate where to patch this mf?

Opening proxy URL pure in browser seems to be ok always. Is there some cleanup to be done in HLS-proxy? Example video ID = 9xwazD5SyVg

Thank so much!

@yomomano
Copy link
Author

yomomano commented May 14, 2023

image

In this log you find that the video (first line) triggers event loadstart as in video.on('loadstart', function (event) {..}` . But then these 403 arrive . Hope this helps. This occurs only with the second request with same video ID. First request is fine

.io.3001 is where the HLS-proxy is running

@warren-bank
Copy link
Owner

if your host is running vanilla HLS-proxy, then your querystring is invalid.. it requires a base64 pathname.

if your instance of HLS-proxy has been modified to use this querystring, then:

  1. I can't diagnose the problem because you're running custom code
  2. since HLS-proxy is GPLv2, you need to make your modified source code publicly available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants