node-ytdl-core: Random ECONNRESET
Hello,
I’ve had a issue with this library ever since I started to use it. I basically pass the ytdl stream into ffmpeg to extract the audio from the video. Sometimes the stream crashes with an ECONNRESET, and i have no idea why.
Stacktrace:
Error: read ECONNRESET at exports._errnoException (util.js:1007:11) at TLSWrap.onread (net.js:563:26)
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 6
- Comments: 52 (9 by maintainers)
Commits related to this issue
- Continue download after early end (#140) * fixing econnreset * adding support for range back in * adding missing parameter * making pr'able + fixing tests + fixing infinite loop when ran... — committed to fent/node-ytdl-core by fent 7 years ago
- Continue download after early end (#140) * fixing econnreset * adding support for range back in * adding missing parameter * making pr'able + fixing tests + fixing infinite loop when ran... — committed to fent/node-ytdl-core by fent 7 years ago
- Don't early unpipe (closes #81, again) — committed to fent/node-ytdl-core by fent 7 years ago
- Don't early unpipe (closes #81, again) — committed to fent/node-ytdl-core by fent 7 years ago
- Continue download after early end (#140) * fixing econnreset * adding support for range back in * adding missing parameter * making pr'able + fixing tests + fixing infinite loop when ran... — committed to MAMISHO/node-ytdl-core by fent 7 years ago
- Don't early unpipe (closes #81, again) — committed to MAMISHO/node-ytdl-core by fent 7 years ago
@fent People are saying it could be due to the fact you are downloading videos “unofficially”, or without a developer key.
Hey guys, he’s actually currently working on a fix for it so we can stop confirming this, as the PR #128 should fix it.
Still happens. If I run locally, it works fine, but when I run it on a server, downloading stops 10-15 seconds before the video ends
@FireController1847 sorry about that, that’s how bad this is getting I messed up the markup -.- fixed it