Traceback (most recent call last):


 "/mnt/data/.python-3.6/lib/python3.6/site-packages/channels/http.py", line 190, in __call__

await self.handle(body)


 "/mnt/data/.python-3.6/lib/python3.6/site-packages/asgiref/sync.py", line 110, in __call__

return await asyncio.wait_for(future, timeout=None)


 "/usr/local/lib/python3.6/asyncio/tasks.py", line 339, in wait_for

return (yield from fut)


 "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run

result = self.fn(*self.args, **self.kwargs)


 "/mnt/data/.python-3.6/lib/python3.6/site-packages/asgiref/sync.py", line 125, in thread_handler

return self.func(*args, **kwargs)


 "/mnt/data/.python-3.6/lib/python3.6/site-packages/channels/http.py", line 226, in handle

self.send(response_message)


 "/mnt/data/.python-3.6/lib/python3.6/site-packages/asgiref/sync.py", line 64, in __call__

return call_result.result()


 "/usr/local/lib/python3.6/concurrent/futures/_base.py", line 432, in result

return self.__get_result()


 "/usr/local/lib/python3.6/concurrent/futures/_base.py", line 384, in __get_result

raise self._exception


 "/mnt/data/.python-3.6/lib/python3.6/site-packages/asgiref/sync.py", line 78, in main_wrap

result = await self.awaitable(*args, **kwargs)


 "/mnt/data/.python-3.6/lib/python3.6/site-packages/uvicorn/protocols/http.py", line 158, in send

await self.transport.drain()
AttributeError: 'uvloop.loop.TCPTransport' object has no attribute 'drain'

Traceback (most recent call last):


 "/usr/lib/python3.7/socketserver.py", line 720, in __init__

self.handle()


 "/usr/lib/python3.7/http/server.py", line 426, in handle

self.handle_one_request()


 "/usr/lib/python3.7/http/server.py", line 394, in handle_one_request

self.raw_requestline = self.rfile.readline(65537)
AttributeError: 'SETHandler' object has no attribute 'rfile'
