Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'async with lock' instead
- with (yield from self._drain_lock):
- Heartbeat blocked for more than 5 seconds.
- Attempting a reconnect in 1.14s
- Traceback (most recent call last):
- File "C:\Python37\lib\site-packages\discord\gateway.py", line 483, in poll_event
- msg = await self.recv()
- File "C:\Python37\lib\site-packages\websockets\protocol.py", line 434, in recv
- yield from self.ensure_open()
- File "C:\Python37\lib\site-packages\websockets\protocol.py", line 646, in ensure_open
- ) from self.transfer_data_exc
- websockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 1000 (OK), no reason
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Python37\lib\site-packages\discord\client.py", line 410, in connect
- await self._connect()
- File "C:\Python37\lib\site-packages\discord\shard.py", line 284, in _connect
- f.result()
- File "C:\Python37\lib\site-packages\discord\shard.py", line 78, in poll
- await self.ws.poll_event()
- File "C:\Python37\lib\site-packages\discord\gateway.py", line 493, in poll_event
- raise ConnectionClosed(exc, shard_id=self.shard_id) from exc
- discord.errors.ConnectionClosed: WebSocket connection is closed: code = 1000 (OK), no reason
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement