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

/start showing " :x: Failed to initialize worker (websocket connection timeout)! See /help or try again later. " #78

Closed Alexander975 closed 1 year ago

Alexander975 commented 1 year ago

Ok so , sometime ago i finished configuring the bot and i started it and it worked , i played with my friends for 2 hours and then i stopped the server using /stop now when i am using /start again its giving the following output :x: Failed to initialize worker (websocket connection timeout)! See /help or try again later. image

sir-zan commented 1 year ago

This is what is shows in the logs

saraswat@saraswat-HP-Laptop-14-ck0xxx:~/aternos-discord-bot/scripts/docker$ sudo docker logs aternos-discord-bot Bot is now running. Press CTRL-C to exit. 2023/02/28 15:10:55 worker 1078258457343434792: Created 2023/02/28 15:10:58 worker 1078258457343434792: Starting server 2023/02/28 15:10:59 worker 1078258457343434792: Connection ready 2023/02/28 15:10:59 worker 1078258457343434792: Server is preparing 2023/02/28 15:10:59 worker 1078258457343434792: Server is loading 2023/02/28 15:11:10 worker 1078258457343434792: Server is starting 2023/02/28 15:12:07 worker 1078258457343434792: Server is online 2023/02/28 15:12:08 worker 1078258457343434792: Server is online 2023/02/28 15:16:58 Unknown error in receiver: read tcp 172.18.0.3:52140->172.67.11.64:443: read: connection reset by peer 2023/02/28 15:16:58 worker 1078258457343434792: Message channel closed. Trying to reconnect 3 more time(s)... 2023/02/28 15:17:01 worker 1078258457343434792: Message channel closed. Trying to reconnect 2 more time(s)... 2023/02/28 15:17:04 worker 1078258457343434792: Message channel closed. Trying to reconnect 1 more time(s)... 2023/02/28 15:17:07 worker 1078258457343434792: Max number of websocket connection retries reached. 2023/02/28 15:17:08 worker 1078258457343434792: Background routines stopped & connections closed 2023/02/28 15:19:18 worker 1078258457343434792: Max number of websocket connection retries reached. 2023/02/28 15:19:19 worker 1078258457343434792: Background routines stopped & connections closed 2023/02/28 15:25:15 worker 1078258457343434792: Max number of websocket connection retries reached. 2023/02/28 15:25:15 worker 1078258457343434792: Background routines stopped & connections closed 2023/02/28 15:56:21 worker 1078258457343434792: Max number of websocket connection retries reached. 2023/02/28 15:56:22 worker 1078258457343434792: Background routines stopped & connections closed 2023/02/28 16:11:35 worker 1078258457343434792: Max number of websocket connection retries reached. 2023/02/28 16:11:35 worker 1078258457343434792: Background routines stopped & connections closed 2023/02/28 16:19:58 Failed to get server info: dial tcp: lookup aternos.org: Try again 2023/02/28 16:20:03 worker 1078258457343434792: Max number of websocket connection retries reached. 2023/02/28 16:20:03 worker 1078258457343434792: Background routines stopped & connections closed

minklepop commented 1 year ago

hi, is it working now? also btw how did u set up the proxy for your device? could u link me a docker tutorial by any chance?