Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. 'async with lock' instead
  2. with (yield from self._drain_lock):
  3. Heartbeat blocked for more than 5 seconds.
  4. Attempting a reconnect in 1.14s
  5. Traceback (most recent call last):
  6. File "C:\Python37\lib\site-packages\discord\gateway.py", line 483, in poll_event
  7. msg = await self.recv()
  8. File "C:\Python37\lib\site-packages\websockets\protocol.py", line 434, in recv
  9. yield from self.ensure_open()
  10. File "C:\Python37\lib\site-packages\websockets\protocol.py", line 646, in ensure_open
  11. ) from self.transfer_data_exc
  12. websockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 1000 (OK), no reason
  13.  
  14. The above exception was the direct cause of the following exception:
  15.  
  16. Traceback (most recent call last):
  17. File "C:\Python37\lib\site-packages\discord\client.py", line 410, in connect
  18. await self._connect()
  19. File "C:\Python37\lib\site-packages\discord\shard.py", line 284, in _connect
  20. f.result()
  21. File "C:\Python37\lib\site-packages\discord\shard.py", line 78, in poll
  22. await self.ws.poll_event()
  23. File "C:\Python37\lib\site-packages\discord\gateway.py", line 493, in poll_event
  24. raise ConnectionClosed(exc, shard_id=self.shard_id) from exc
  25. discord.errors.ConnectionClosed: WebSocket connection is closed: code = 1000 (OK), no reason
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement