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

Failed to get server info [BUG] #83

Open IvanM3x opened 1 year ago

IvanM3x commented 1 year ago

I correctly configured the bot with server and session cookies but every command returns the error "failed to get server info"

sleeyax commented 1 year ago

Aternos is temporary down.

https://status.aternos.gmbh/

IvanM3x commented 1 year ago

Hey, Aternos is not down, also the site you linked says it’s up

On 30 maggio 2023 a 22:24:18, Sleeyax @.***) scritto:

Aternos is temporary down.

https://status.aternos.gmbh/

— Reply to this email directly, view it on GitHub https://github.com/sleeyax/aternos-discord-bot/issues/83#issuecomment-1569043664, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUXZWXDIU7T3JOD6USVRAHDXIZJPFANCNFSM6AAAAAAYUQIUAI . You are receiving this because you authored the thread.Message ID: @.***>

sleeyax commented 1 year ago

Oh it appears you're right. They had some major issues up until yesterday, so I assumed that was the issue. I'll try to investigate.

sleeyax commented 1 year ago

It looks like they updated their JS challenge and because of that goja can no longer execute the JS code and throws an error at the following line: https://github.com/sleeyax/aternos-api/blob/755626ffc7c70871b444b1c59dee459eb8bb1f66/http.go#L71

sleeyax commented 1 year ago

Unfortunately it looks like a big change, their JS challenge is no longer just plain JS that could be evaluated but now it also includes operation on the DOM. This project currently has nothing in place to support that.