sleeyax / aternos-discord-bot

Discord bot to start & stop a Minecraft server automatically
https://hub.docker.com/r/sleeyax/aternos-discord-bot/tags
MIT License
79 stars 93 forks source link

[BUG] Failed to initialize worker (websocket connection timeout) #28

Closed Arkapro closed 2 years ago

Arkapro commented 2 years ago

Im getting this message everytime i use the start command image

sleeyax commented 2 years ago

What's your Discord server ID? Then I can check the logs.

See this article if you don't know how to get that information.

Arkapro commented 2 years ago

789737040178315285

sleeyax commented 2 years ago

I can see these related logs:

2022/05/11 06:48:38 worker 789737040178315285: Server is loading
2022/05/11 06:49:23 worker 789737040178315285: Message channel closed. Trying to reconnect 3 more time(s)...
2022/05/11 06:49:26 worker 789737040178315285: Message channel closed. Trying to reconnect 2 more time(s)...
2022/05/11 06:49:29 worker 789737040178315285: Message channel closed. Trying to reconnect 1 more time(s)...
2022/05/11 06:49:32 worker 789737040178315285: Max number of websocket connection retries reached.
2022/05/11 06:49:32 worker 789737040178315285: Background routines stopped & connections closed

For some reason the connection is closing, though other people seem to be able to connect just fine atm. Is anything special going on with your server? Can you start it manually over at aternos.org?

Arkapro commented 2 years ago

Hi, i checked my aternos.. it seems everytime i reopen aternos.. im getting logged out..and all the access i gave to people are removed...Please help

sleeyax commented 2 years ago

im getting logged out

Do you see any error or warning message?

Arkapro commented 2 years ago

Can u remove all data from my server in ur bot.... my server is getting offline randomly.. The bot is really good and useful.. but its making the server go offline even when no one has used the /stop command.

sleeyax commented 2 years ago

Can u remove all data from my server in ur bot

You can do so yourself by kicking the bot from your server. It will delete all stored settings.

The bot is really good and useful.. but its making the server go offline even when no one has used the /stop command.

That's impossible. The bot doesn't send any stop commands unless you tell it to. I think some external factor is causing your server to stop and the discord bot is only letting you know about it.

sleeyax commented 2 years ago

Also, you didn't answer my previous question. Do you see any error or warning message when you log in and out on aternos.org? I can't help you if you don't provide enough details for me to debug the issue!

Arkapro commented 2 years ago

Also, you didn't answer my previous question. Do you see any error or warning message when you log in and out on aternos.org? I can't help you if you don't provide enough details for me to debug the issue!

Nope..nothing of that sort

sleeyax commented 2 years ago

Hmm but can you start and stop the bot on aternos.org? If not, then it seems to be an issue on their end somehow.

Arkapro commented 2 years ago

image

Arkapro commented 2 years ago

WHAT TO DO OF THIS NOW??

sleeyax commented 2 years ago

Unfortunately there's nothing I can do to get your account back. When you added the bot to your server you automatically accepted this repo's TOS, which explicitly says usage is at your own risk.

I've put the bot in maintenance mode until it's (hopefully) safer to use again. In the meantime, the only thing you can do right now is create a new account + host the bot yourself if you still want to use it.

I'm closing this issue now because it's not related to the bot software itself and I've already given a temporary solution.