Closed pooyashahidi closed 2 years ago
Hey @pooyashahidi, thanks for reaching out. I just checked and that same snippet seems to be working for me. Do you use a proxy? What node version are you using?
thank you for the fast reply. No proxy. I am really confused since it is giving timeouts consistently for every request.
Node 17.9.0 Here is everything else I use and their versions: +-- @types/node@16.11.60 +-- child_process@1.0.2 +-- cookiefile@1.0.10 +-- fluent-ffmpeg@2.1.2 +-- npm@8.19.2 +-- request@2.88.2 +-- sponsorblock-api@0.2.2 +-- telegraf@3.40.0 +-- telegram-keyboard@2.3.2 +-- winston@3.8.2 `-- ytdl-core@4.11.2
I am not that familiar with node js and since you asked about the version I tried v16.17.1 and it is now working. thank you :)
Most likely a bug / incompatibility with the request library the project is using, regardless it will be switched with axios in the future. I'm just glad it's working for you now.
Closed.
Hi, I started getting timeout issues recently. For example:
Rven though I am able to curl the url from the same machine:
This is how I am calling it:
I'm not sure if the problem is on my part or is happening because of something else. Please let me know if any more info is required. Thank you.