Request aborted error?
I keep receiving this error:
Not sure why.
5 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.I don't have a slow connection and I didn't abort anything. This keeps happening on
ready
First point ?
I posted teh full stack trace
I am on the lastest discord.js
npm is 8.19.2, node is 16.17.1
Discord.js v14.6.0
Didn't know I had to spell it out.
Figured "latest discord.js" = discord.js v14.6.0
I'm getting this on my test bot now.
I believe I updated the
restRequestTimeout
via ClientOptions.
That's how you do it right?
Hasn't helped. Pretty sure this is a bug with DJS v 14.6... been happening since 14.5 for me... (I think?)
Error:
I believe it is a bug because I asked on my coding help server and a fellow mod says he has this issue with one of his bots when he uses whatever host he uses to keep the bot online 24/7 but when he locally hosts it is fine. It is only when he uses whatever host he uses. My bot is on my VPS. I refuse to locally host it.
Ah, seems to have worked.