Advertisement
Guest User

Untitled

a guest
Jul 17th, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.54 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "/usr/local/lib/python3.6/site-packages/discord/gateway.py", line 430, in poll_event
  3. msg = yield from self.recv()
  4. File "/usr/local/lib64/python3.6/site-packages/websockets/protocol.py", line 319, in recv
  5. raise ConnectionClosed(self.close_code, self.close_reason)
  6. websockets.exceptions.ConnectionClosed: WebSocket connection is closed: no code, no reason.
  7.  
  8. The above exception was the direct cause of the following exception:
  9.  
  10. Traceback (most recent call last):
  11. File "/usr/local/lib/python3.6/site-packages/discord/client.py", line 448, in connect
  12. yield from self.ws.poll_event()
  13. File "/usr/local/lib/python3.6/site-packages/discord/gateway.py", line 435, in poll_event
  14. raise ResumeWebSocket() from e
  15. discord.gateway.ResumeWebSocket
  16.  
  17. During handling of the above exception, another exception occurred:
  18.  
  19. Traceback (most recent call last):
  20. File "bot.py", line 384, in <module>
  21. client.run(TOKEN)
  22. File "/usr/local/lib/python3.6/site-packages/discord/client.py", line 519, in run
  23. self.loop.run_until_complete(self.start(*args, **kwargs))
  24. File "/usr/lib64/python3.6/asyncio/base_events.py", line 468, in run_until_complete
  25. return future.result()
  26. File "/usr/local/lib/python3.6/site-packages/discord/client.py", line 491, in start
  27. yield from self.connect()
  28. File "/usr/local/lib/python3.6/site-packages/discord/client.py", line 452, in connect
  29. self.ws = yield from DiscordWebSocket.from_client(self, resume=resume)
  30. File "/usr/local/lib/python3.6/site-packages/discord/gateway.py", line 207, in from_client
  31. timeout=60, loop=client.loop)
  32. File "/usr/lib64/python3.6/asyncio/tasks.py", line 358, in wait_for
  33. return fut.result()
  34. File "/usr/local/lib/python3.6/site-packages/discord/gateway.py", line 65, in _ensure_coroutine_connect
  35. ws = yield from websockets.connect(gateway, loop=loop, klass=klass)
  36. File "/usr/local/lib64/python3.6/site-packages/websockets/py35/client.py", line 19, in __await__
  37. return (yield from self.client)
  38. File "/usr/local/lib64/python3.6/site-packages/websockets/client.py", line 215, in connect
  39. extra_headers=extra_headers)
  40. File "/usr/local/lib64/python3.6/site-packages/websockets/client.py", line 125, in handshake
  41. raise InvalidStatusCode(status_code)
  42. websockets.exceptions.InvalidStatusCode: Status code not 101: 520
  43. Unclosed client session
  44. client_session: <aiohttp.client.ClientSession object at 0x7f5297f3bb38>
  45. Unclosed client session
  46. client_session: <aiohttp.client.ClientSession object at 0x7f5297f3be10>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement