Abort error ever since djs v14. Extended timeout but that hasn’t helped.
I have to keep rebooting my server as well as the bot cause it randomly hits the timeout error.
This is incredibly annoying and definitely a bug cause I extended the timeout, yet it still happens, just takes longer to happen.
14 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
AbortError: The user aborted a request.
A request took longer than the specified restRequestTimeout (15 seconds default), and was aborted to not lock up the request handler.
• This can be caused by an internal server error on Discord's side, or just a slow connection.
• In case of a slow connection, the restRequestTimeout
option in ClientOptions can be increased to prevent future AbortErrors.Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Anyone have any ideas on this? I can share code when I get home
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
So an issue with my VPS?
Is it?
?
Does anyone know and can explain this to me?
Hello?
That’s part of my index.js and the second screenshot is where my bot stops when booting up.
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Didn’t realize I did
I’ll fix that but that isn’t my issue as it as worked for months with that and now all of a sudden it isn’t coming online
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Same error as what is in the original content of this post if you scroll up
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I can send the whole file in a few min
https://sourceb.in/IIguftxTdB
@skull.emoji I appreciate your help