LordBoos / discord_game

Home Assistant custom component to get online and game status of Discord users

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[discord.gateway] Shard ID None has stopped responding to the gateway. Closing and restarting.

maxi1134 opened this issue · comments

Hi there!

I've been using this component with no issue for the last 2 months with no issues and must say that it is pretty great.

Although, since 3 days, the bot keeps disconnecting and stop reporting from my Discord server.

This is the message that I've seen in the logs:

[discord.gateway] Shard ID None has stopped responding to the gateway. Closing and restarting.

Rebooting the server sometimes manages to bring it back, but it is very shortlived.

Any idea what this could be?

Thanks!

I have the same problem. In 0.113.1 there is update to discord.py. It might fix this issue, let's wait.

Gotcha! I'll wait for the update.

0.113.1 updated discord.py to 1.3.4 which fixes the issue. However, the manifest.json reverted my discord.py package back down to 1.3.1 until I manually changed it to pull 1.3.4. Working now!

@cannedpeanut Could you please let me know how to manually change that "manifest.json"?

commented

Getting this error again. Only seems to happen when I call a command which adds the bot to a voice channel to play audio.

Are you sure you have a problem with discord_game? This bot does not have any functionality like commands to join voice channels or to play audio.