frame = yield from self.read_data_frame(max_size=self.max_size)
File "/usr/local/lib/python3.5/dist-packages/websockets/protocol.py", line 490, in read_data_frame
frame = yield from self.read_frame(max_size)
File "/usr/local/lib/python3.5/dist-packages/websockets/protocol.py", line 525, in read_frame
self.reader.readexactly, is_masked, max_size=max_size)
File "/usr/local/lib/python3.5/dist-packages/websockets/framing.py", line 80, in read_frame
data = yield from reader(2)
File "/usr/lib/python3.5/asyncio/streams.py", line 670, in readexactly
block = yield from self.read(n)
File "/usr/lib/python3.5/asyncio/streams.py", line 627, in read
yield from self._wait_for_data('read')
File "/usr/lib/python3.5/asyncio/streams.py", line 457, in _wait_for_data
yield from self._waiter
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in iter
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/selector_events.py", line 662, in _read_ready
data = self._sock.recv(self.max_size)
ConnectionResetError: [Errno 104] Connection reset by peer
Task exception was never retrieved
future: <Task finished coro=<WebSocketCommonProtocol.run() done, defined at /usr/local/lib/python3.5/dist-packages/websockets/protocol.py:407> exception=ConnectionResetError(104, 'Connection reset by peer')>
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/usr/local/lib/python3.5/dist-packages/websockets/protocol.py", line 413, in run
msg = yield from self.read_message()
File "/usr/local/lib/python3.5/dist-packages/websockets/protocol.py", line 435, in read_message
frame = yield from self.read_data_frame(max_size=self.max_size)
File "/usr/local/lib/python3.5/dist-packages/websockets/protocol.py", line 490, in read_data_frame
frame = yield from self.read_frame(max_size)
File "/usr/local/lib/python3.5/dist-packages/websockets/protocol.py", line 525, in read_frame
self.reader.readexactly, is_masked, max_size=max_size)
File "/usr/local/lib/python3.5/dist-packages/websockets/framing.py", line 80, in read_frame
data = yield from reader(2)
File "/usr/lib/python3.5/asyncio/streams.py", line 670, in readexactly
block = yield from self.read(n)
File "/usr/lib/python3.5/asyncio/streams.py", line 627, in read
yield from self._wait_for_data('read')
File "/usr/lib/python3.5/asyncio/streams.py", line 457, in _wait_for_data
yield from self._waiter
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in iter
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/selector_events.py", line 662, in _read_ready
data = self._sock.recv(self.max_size)
ConnectionResetError: [Errno 104] Connection reset by peer
File "/usr/local/lib/python3.5/dist-packages/websockets/protocol.py", line 490, in read_data_frame frame = yield from self.read_frame(max_size) File "/usr/local/lib/python3.5/dist-packages/websockets/protocol.py", line 525, in read_frame self.reader.readexactly, is_masked, max_size=max_size) File "/usr/local/lib/python3.5/dist-packages/websockets/framing.py", line 80, in read_frame data = yield from reader(2) File "/usr/lib/python3.5/asyncio/streams.py", line 670, in readexactly block = yield from self.read(n) File "/usr/lib/python3.5/asyncio/streams.py", line 627, in read yield from self._wait_for_data('read') File "/usr/lib/python3.5/asyncio/streams.py", line 457, in _wait_for_data yield from self._waiter File "/usr/lib/python3.5/asyncio/futures.py", line 361, in iter yield self # This tells Task to wait for completion. File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup future.result() File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result raise self._exception File "/usr/lib/python3.5/asyncio/selector_events.py", line 662, in _read_ready data = self._sock.recv(self.max_size) ConnectionResetError: [Errno 104] Connection reset by peer Task exception was never retrieved future: <Task finished coro=<WebSocketCommonProtocol.run() done, defined at /usr/local/lib/python3.5/dist-packages/websockets/protocol.py:407> exception=ConnectionResetError(104, 'Connection reset by peer')> Traceback (most recent call last): File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step result = coro.throw(exc) File "/usr/local/lib/python3.5/dist-packages/websockets/protocol.py", line 413, in run msg = yield from self.read_message() File "/usr/local/lib/python3.5/dist-packages/websockets/protocol.py", line 435, in read_message frame = yield from self.read_data_frame(max_size=self.max_size) File "/usr/local/lib/python3.5/dist-packages/websockets/protocol.py", line 490, in read_data_frame frame = yield from self.read_frame(max_size) File "/usr/local/lib/python3.5/dist-packages/websockets/protocol.py", line 525, in read_frame self.reader.readexactly, is_masked, max_size=max_size) File "/usr/local/lib/python3.5/dist-packages/websockets/framing.py", line 80, in read_frame data = yield from reader(2) File "/usr/lib/python3.5/asyncio/streams.py", line 670, in readexactly block = yield from self.read(n) File "/usr/lib/python3.5/asyncio/streams.py", line 627, in read yield from self._wait_for_data('read') File "/usr/lib/python3.5/asyncio/streams.py", line 457, in _wait_for_data yield from self._waiter File "/usr/lib/python3.5/asyncio/futures.py", line 361, in iter yield self # This tells Task to wait for completion. File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup future.result() File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result raise self._exception File "/usr/lib/python3.5/asyncio/selector_events.py", line 662, in _read_ready data = self._sock.recv(self.max_size) ConnectionResetError: [Errno 104] Connection reset by peer