Traceback (most recent call last):


 "/usr/lib/python3.6/socketserver.py", line 320, in _handle_request_noblock

self.process_request(request, client_address)


 "/usr/lib/python3.6/socketserver.py", line 351, in process_request

self.finish_request(request, client_address)


 "/usr/lib/python3.6/socketserver.py", line 364, in finish_request

self.RequestHandlerClass(request, client_address, self)


 "/usr/lib/python3.6/socketserver.py", line 724, in __init__

self.handle()


 "/usr/lib/python3.6/wsgiref/simple_server.py", line 133, in handle

handler.run(self.server.get_app())


 "/usr/lib/python3.6/wsgiref/handlers.py", line 144, in run

self.close()


 "/usr/lib/python3.6/wsgiref/simple_server.py", line 35, in close

self.status.split(' ',1)[0], self.bytes_sent
AttributeError: 'NoneType' object has no attribute 'split'

Traceback (most recent call last):


 "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run

self._context.run(self._callback, *self._args)


 "/usr/local/lib/python3.7/site-packages/aiohttp/web_ws.py", line 102, in _send_heartbeat

self._loop.create_task(self._writer.ping())
# type: ignore
AttributeError: 'NoneType' object has no attribute 'ping'
