You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version: Any above 2.1.5, tested on 2.1.6 and 2.1.7 as well
I utilize the twitter-api-v2 package and noticed that starting on the 23rd I started getting this request failed. error on Deno Deploy. Upon investigating locally whenever I try to do any api request via the package using deno 2.1.5 or newer it gives an error but version 2.1.4 works fine. I've also tested my code on both node and bun and it works fine there.
This might be related to dns resolution timeout issue.
What happens if you add the below script at the top of your script?:
import net from "node:net";
net.setDefaultAutoSelectFamilyAttemptTimeout(5000);
Unfortunately this does not resolve the issue (tested on 2.1.7), I'm given the following stack trace using the same code as before alongside your addition at the top
Version: Any above 2.1.5, tested on 2.1.6 and 2.1.7 as well
I utilize the
twitter-api-v2
package and noticed that starting on the 23rd I started getting thisrequest failed.
error on Deno Deploy. Upon investigating locally whenever I try to do any api request via the package using deno 2.1.5 or newer it gives an error but version 2.1.4 works fine. I've also tested my code on both node and bun and it works fine there.Code: https://gist.github.com/Blocksnmore/78e3d5280f4e7e941191eb62bde47773
The text was updated successfully, but these errors were encountered: