fent / node-ytdl-core

YouTube video downloader in javascript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: read ECONNRESET

twarped opened this issue · comments

Hate to be that one guy... but I've been running into this problem starting today. It has to do with ytdl.getInfo(), and I've tried it with plenty of other videos, but it won't go away. Is it just a me thing, or is anyone else experiencing this?

Pretty basic error:

Error: read ECONNRESET
    at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)
    at TLSWrap.callbackTrampoline (node:internal/async_hooks:130:17)
commented

I've also just got this issue. Don't have found anything to fix it yet. Will update you if I find something.

I've also just got this issue. Don't have found anything to fix it yet. Will update you if I find something.

yeah, but i'm not exactly sure how to fix the problem, it will turn off after a couple of days tho. The error usually has to do with the server you're requesting, but it's not so much a wide spread issue yet... so just wait, maybe others will suffer too.

commented

I haven't had a lot of time to test the bot, but I might guess it's just a connection interruption.
If I remember correctly, I had this issue too a while back, when running my old bot.
I used the npm package forever that you can install with npm i -g forever. It restarts the application after a crash (forever index.js).

sweet, thanks.