The-Heeler-House / bot-bilby

Bot Bilby is a general Discord bot designed for The Heeler House.
MIT License
1 stars 2 forks source link

AbortError: This operation was aborted #10

Open CloudburstSys opened 1 month ago

CloudburstSys commented 1 month ago
AbortError: This operation was aborted
at new DOMException (node:internal/per_context/domexception:53:5)
at AbortController.abort (node:internal/abort_controller:401:18)
at Timeout.<anonymous> (/root/bot-bilby/node_modules/@discordjs/rest/dist/index.js:680:47)
at listOnTimeout (node:internal/timers:569:17)
at process.processTimers (node:internal/timers:512:7)

No clue why this occurs or what piece of code causes this, but it seems to be a timeout within Discord.JS itself.

CloudburstSys commented 1 month ago

This seems to be within Discord.JS itself as part of it making network requests. If one takes longer than the timeout to complete, it'll throw an AbortError in a way we cannot catch.

This may be a networking issue. Will continue to investigate.

sudoker0 commented 1 month ago

~well, we can say (hopefully with confidence) that this issue has been solved, with an unrelated build script change, for some reason lmao #16~

nvm.

CloudburstSys commented 1 month ago

We've come to the conclusion that these errors are unavoidable and, instead, are focusing on solutions on how to mitigate these errors instead of failing uncontrollably.

This issue is being closed and given the wontfix tag

CloudburstSys commented 1 month ago

An uncommited change to Bilby's production codebase seems to be working despite being bad practice. This issue is now officially resolved

CloudburstSys commented 4 days ago

This was not fixed :/

CloudburstSys commented 3 days ago

Commit 9bf07d1 did not fix this issue, reopening.