Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "/usr/local/lib/python3.6/site-packages/discord/gateway.py", line 430, in poll_event
- msg = yield from self.recv()
- File "/usr/local/lib64/python3.6/site-packages/websockets/protocol.py", line 319, in recv
- raise ConnectionClosed(self.close_code, self.close_reason)
- websockets.exceptions.ConnectionClosed: WebSocket connection is closed: no code, no reason.
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.6/site-packages/discord/client.py", line 448, in connect
- yield from self.ws.poll_event()
- File "/usr/local/lib/python3.6/site-packages/discord/gateway.py", line 435, in poll_event
- raise ResumeWebSocket() from e
- discord.gateway.ResumeWebSocket
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "bot.py", line 384, in <module>
- client.run(TOKEN)
- File "/usr/local/lib/python3.6/site-packages/discord/client.py", line 519, in run
- self.loop.run_until_complete(self.start(*args, **kwargs))
- File "/usr/lib64/python3.6/asyncio/base_events.py", line 468, in run_until_complete
- return future.result()
- File "/usr/local/lib/python3.6/site-packages/discord/client.py", line 491, in start
- yield from self.connect()
- File "/usr/local/lib/python3.6/site-packages/discord/client.py", line 452, in connect
- self.ws = yield from DiscordWebSocket.from_client(self, resume=resume)
- File "/usr/local/lib/python3.6/site-packages/discord/gateway.py", line 207, in from_client
- timeout=60, loop=client.loop)
- File "/usr/lib64/python3.6/asyncio/tasks.py", line 358, in wait_for
- return fut.result()
- File "/usr/local/lib/python3.6/site-packages/discord/gateway.py", line 65, in _ensure_coroutine_connect
- ws = yield from websockets.connect(gateway, loop=loop, klass=klass)
- File "/usr/local/lib64/python3.6/site-packages/websockets/py35/client.py", line 19, in __await__
- return (yield from self.client)
- File "/usr/local/lib64/python3.6/site-packages/websockets/client.py", line 215, in connect
- extra_headers=extra_headers)
- File "/usr/local/lib64/python3.6/site-packages/websockets/client.py", line 125, in handshake
- raise InvalidStatusCode(status_code)
- websockets.exceptions.InvalidStatusCode: Status code not 101: 520
- Unclosed client session
- client_session: <aiohttp.client.ClientSession object at 0x7f5297f3bb38>
- Unclosed client session
- client_session: <aiohttp.client.ClientSession object at 0x7f5297f3be10>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement