Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dealing with ENOTFOUND discord.com #10554

Open
Alynva opened this issue Oct 12, 2024 · 1 comment
Open

Dealing with ENOTFOUND discord.com #10554

Alynva opened this issue Oct 12, 2024 · 1 comment

Comments

@Alynva
Copy link

Alynva commented Oct 12, 2024

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

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

@didinele
Copy link
Member

Please provide a code sample that can be used to reproduce the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants