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

Interaction timeout??, why! #229

Closed
HiboMan opened this issue Apr 3, 2024 · 2 comments
Closed

Interaction timeout??, why! #229

HiboMan opened this issue Apr 3, 2024 · 2 comments

Comments

@HiboMan
Copy link

HiboMan commented Apr 3, 2024

image
image
Whats going on
this happened out of nowhere to a bot im hosting

@MaxxMXSZ
Copy link
Contributor

MaxxMXSZ commented Apr 3, 2024

we don't support selfhosting but change your computer time you are hosting to automatic it probably caused by daylight saving

@laggron42
Copy link
Member

The warning you see is correct. Discord only gives bot 3 seconds to acknowledge interactions, past that you will get a 404 error.

I added some code to immediately ignore interactions that are arriving too late and avoid taking the time to process a command that will fail anyway. So, to recap, the problem isn't on the code, it's your computer that is receiving the interaction too late, you may have network issues or your host is too slow to answer fast enough.

If your bot has a really big scale and runs at least 150 shards (which I don't believe is the case), you could look into clustering.

@laggron42 laggron42 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants