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
I started to get the "ENOTFOUND" error while booting my machine, as sometimes it doesn't connect to the network before the script runs, or even my machine boots before my router, or before my ISP restore their services after a blackout. I keep seeing people on Discord saying that its not a djs problem, and I kinda get it, since I need to resolve the network issue to anything that requires network to work properly. But you aren't approaching this problem correctly, because the problem is that djs doesn't recover from "ENOTFOUND" even after the connection is reestablished, so I think that yes, this is a djs problem that djs need to properly address. Do I really need to implement my own login retry logic just to ensure that the bot will work as intended after running it, no matter the network state?
Which package is this bug report for?
discord.js
Issue description
I started to get the "ENOTFOUND" error while booting my machine, as sometimes it doesn't connect to the network before the script runs, or even my machine boots before my router, or before my ISP restore their services after a blackout. I keep seeing people on Discord saying that its not a djs problem, and I kinda get it, since I need to resolve the network issue to anything that requires network to work properly. But you aren't approaching this problem correctly, because the problem is that djs doesn't recover from "ENOTFOUND" even after the connection is reestablished, so I think that yes, this is a djs problem that djs need to properly address. Do I really need to implement my own login retry logic just to ensure that the bot will work as intended after running it, no matter the network state?
Code sample
No response
Versions
[email protected]
[email protected]
v20.11.1
Issue priority
Low (slightly annoying)
Which partials do you have configured?
Not applicable
Which gateway intents are you subscribing to?
Not applicable
I have tested this issue on a development release
No response
The text was updated successfully, but these errors were encountered: