LeMorrow
LeMorrow
DIAdiscord.js - Imagine a bot
Created by DiabolusGX on 2/12/2024 in #djs-questions
Authentication failed at WebSocketShard.onClose
Partially solved my issue. DJS allocates 2GB+ on startup. Default max allowed allocation for NodeJS is 2GB (even if the VM has much more). Increasing --max-old-space-size to 3GB solved my issue temporarily (now I just need to get my caches to not allocate 2GB on startup) Probably ran into this only now just because my bot has been steadily getting invited to more and more servers
42 replies
DIAdiscord.js - Imagine a bot
Created by DiabolusGX on 2/12/2024 in #djs-questions
Authentication failed at WebSocketShard.onClose
Actually my error is probably just different than this, your error is not clearly relating to a pm2 & ever growing RAM issue
42 replies
DIAdiscord.js - Imagine a bot
Created by DiabolusGX on 2/12/2024 in #djs-questions
Authentication failed at WebSocketShard.onClose
So maybe Discord lowered the login attempt ceiling recently
42 replies
DIAdiscord.js - Imagine a bot
Created by DiabolusGX on 2/12/2024 in #djs-questions
Authentication failed at WebSocketShard.onClose
I know my bot crashes from hitting the RAM ceiling and restarts with pm2, but not more than once every 10 minutes or so (which is still a LOT, but not 1000+ in "a short time period")
42 replies
DIAdiscord.js - Imagine a bot
Created by DiabolusGX on 2/12/2024 in #djs-questions
Authentication failed at WebSocketShard.onClose
FWIW I am also running into this as of a few days ago. Haven't changed anything with my bot in over a year, so realistically it's not a regression in DJS (if it's even the same problem we're talking about, this could kinda be anything)
42 replies
DIAdiscord.js - Imagine a bot
Created by Sayrix on 9/14/2023 in #djs-questions
Cache Sweeper
I'll let you know if I can find any improvements with my experiments
52 replies
DIAdiscord.js - Imagine a bot
Created by Sayrix on 9/14/2023 in #djs-questions
Cache Sweeper
Right, so no big improvement with that
52 replies
DIAdiscord.js - Imagine a bot
Created by Sayrix on 9/14/2023 in #djs-questions
Cache Sweeper
I've also had a bunch of issues similar to this and struggled with my sweepers
52 replies
DIAdiscord.js - Imagine a bot
Created by Sayrix on 9/14/2023 in #djs-questions
Cache Sweeper
perfect, thank you
52 replies
DIAdiscord.js - Imagine a bot
Created by Sayrix on 9/14/2023 in #djs-questions
Cache Sweeper
@sayrix how did it go? Did true work better?
52 replies
DIAdiscord.js - Imagine a bot
Created by LeMorrow on 9/8/2022 in #djs-questions
Internal shards stopped reconnecting after 8d uptime
Nice, so listen to debug, shardError, and warn?
9 replies
DIAdiscord.js - Imagine a bot
Created by LeMorrow on 9/8/2022 in #djs-questions
Internal shards stopped reconnecting after 8d uptime
I'm just curious what are some things that might cause it
9 replies
DIAdiscord.js - Imagine a bot
Created by LeMorrow on 9/8/2022 in #djs-questions
Internal shards stopped reconnecting after 8d uptime
I didn't catch any logs unfortunately, so I understand I can't know what exactly caused it this time
9 replies
DIAdiscord.js - Imagine a bot
Created by LeMorrow on 9/8/2022 in #djs-questions
Internal shards stopped reconnecting after 8d uptime
Screenshot taken right after the first reports came in - still 527MB free and 2271MB available RAM
9 replies
DIAdiscord.js - Imagine a bot
Created by LeMorrow on 8/31/2022 in #djs-questions
Even if interaction is not replied - Interaction has already been acknowledged
¯\_(ツ)_/¯
13 replies
DIAdiscord.js - Imagine a bot
Created by LeMorrow on 8/31/2022 in #djs-questions
Even if interaction is not replied - Interaction has already been acknowledged
I don't think I'm missing any awaits
13 replies
DIAdiscord.js - Imagine a bot
Created by LeMorrow on 8/31/2022 in #djs-questions
Even if interaction is not replied - Interaction has already been acknowledged
yea
13 replies
DIAdiscord.js - Imagine a bot
Created by LeMorrow on 8/31/2022 in #djs-questions
Even if interaction is not replied - Interaction has already been acknowledged
I guess I'm going insane, I can't figure out for the life of me how this could occur. Some kind of weird async race condition I guess
13 replies
DIAdiscord.js - Imagine a bot
Created by LeMorrow on 8/31/2022 in #djs-questions
Even if interaction is not replied - Interaction has already been acknowledged
I see
13 replies
DIAdiscord.js - Imagine a bot
Created by LeMorrow on 8/31/2022 in #djs-questions
Even if interaction is not replied - Interaction has already been acknowledged
I know the issue happens when you reply twice, but I cannot possible see how that could be the case, unless it's some race condition. I don't get it every time (only sometimes, haven't figured out a pattern). And I figured that this should still make sure it doesn't happen regardless?
13 replies