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

"Timeout awaiting request 3000ms' Some Video Downloads FAIL #209

Open
diamneth opened this issue Jun 9, 2021 · 3 comments
Open

"Timeout awaiting request 3000ms' Some Video Downloads FAIL #209

diamneth opened this issue Jun 9, 2021 · 3 comments

Comments

@diamneth
Copy link

diamneth commented Jun 9, 2021

Most videos are being downloaded but several of them FAIL after retrying with lower quality until they get skipped.
Please, any solution to this issue? Why is this happening? They seem to be loading normally and suddenly the process is stopped in the middle

Screenshot_5

@ENGAhmedAbdelfattah
Copy link

i have same proplem too

@hoangchunghien
Copy link

Same here. This caused by the youtube-dl timeout is too short. Try this:

Edit the file node_modules/udacimak/node_modules/youtube-dl/lib/youtube-dl.js
Increase the timeout to some larger number, for me I changed 30000 -> 3000000. Worked for me.

https://github.com/przemyslawpluta/node-youtube-dl/blob/master/lib/youtube-dl.js#L64

const req = got.stream({
    url: item.url,
    headers: headers,
    ecdhCurve: 'auto',
    timeout: 30000,
    ...(proxyArgIndex > -1 && { proxy: args[proxyArgIndex + 1] })
  })

@ENGAhmedAbdelfattah
Copy link

Great thanks for you

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

3 participants