Shard #1 and #2 work, but Shard #3 fails at startup
What's the problem?
Hello! I am hosting a bot in ~8k servers. Recently, I have been encountering an issue during startup. Shard #1 and Shard #2 start perfectly. However, Shard #3 fails to start (hindering ongoing startups).
What have you tried
From the error and logging, I have not yet identified the issue. I can imagine several reasons that I could not verify
- Guild in shard #3 is bugged
- Recent update? I use the newest stable discord.js
- I also tried increasing the startup time limit
Error:
Sharding Code:
I appreciate any help and hints. Thank you!
9 Replies
Increase your delay even more, but i dont see why it takes that long
I increased it by times ten, and it did not change
Its in you spawn command
Yes I changed both delay in the spawn command and timeout for the manager
And if it doesnt resolve, you will need to debug on the start on the shard what does take so long it timeouts
How could I do that? Is there a logging I could do to identify whether it's freezing due to e.g., the servers being loaded?
yes, adding loging in your
bot.js
fileThanks to you both, I will try and keep you both updated