This repository was archived by the owner on Nov 12, 2018. It is now read-only.
forked from Just-Some-Bots/MusicBot
-
Notifications
You must be signed in to change notification settings - Fork 3
This repository was archived by the owner on Nov 12, 2018. It is now read-only.
Bot will not reconnect #7
Copy link
Copy link
Open
Labels
Description
Pausing in The Club/Music (joining empty channel)
Task exception was never retrieved
future: <Task finished coro=<VoiceClient.poll_voice_ws() done, defined at /usr/lib/python3.5/site-packages/discord/voice_client.py:269> exception=ConnectionClosed('WebSocket connection is closed: code = 1006, no reason.',)>
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/discord/gateway.py", line 635, in poll_event
msg = yield from asyncio.wait_for(self.recv(), timeout=30.0, loop=self.loop)
File "/usr/lib/python3.5/asyncio/tasks.py", line 392, in wait_for
return fut.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/usr/lib/python3.5/site-packages/websockets/protocol.py", line 298, in recv
raise ConnectionClosed(self.close_code, self.close_reason)
websockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 1006, no reason.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/usr/lib/python3.5/site-packages/discord/voice_client.py", line 276, in poll_voice_ws
yield from self.ws.poll_event()
File "/usr/lib/python3.5/site-packages/discord/gateway.py", line 638, in poll_event
raise ConnectionClosed(e) from e
discord.errors.ConnectionClosed: WebSocket connection is closed: code = 1006, no reason.
Reconnected to discord.