hub: uncaught exception: Traceback (most recent call last):


 "/usr/local/lib/python3.7/dist-packages/ryu/lib/hub.py", line 60, in _launch

return func(*args, **kwargs)


 "/usr/local/lib/python3.7/dist-packages/ryu/lib/hub.py", line 140, in wrap_and_handle

handle(ctx.wrap_socket(sock, **ssl_args), addr)


 "/usr/local/lib/python3.7/dist-packages/eventlet/green/ssl.py", line 437, in wrap_socket

return GreenSSLSocket(sock, *a, _context=self, **kw)


 "/usr/local/lib/python3.7/dist-packages/eventlet/green/ssl.py", line 76, in __new__

*args, **kw
TypeError: wrap_socket() got an unexpected keyword argument '_context'

Traceback (most recent call last):


 "/usr/lib/python3.5/wsgiref/handlers.py", line 141, in run

self.handle_error()


 "/home/user/git_projects/django/env/lib/python3.5/site-packages/django/core/servers/basehttp.py", line 86, in handle_error

super().handle_error()


 "/usr/lib/python3.5/wsgiref/handlers.py", line 368, in handle_error

self.finish_response()


 "/usr/lib/python3.5/wsgiref/handlers.py", line 180, in finish_response

self.write(data)


 "/usr/lib/python3.5/wsgiref/handlers.py", line 274, in write

self.send_headers()


 "/usr/lib/python3.5/wsgiref/handlers.py", line 331, in send_headers

if not self.origin_server or self.client_is_modern():


 "/usr/lib/python3.5/wsgiref/handlers.py", line 344, in client_is_modern

return self.environ['SERVER_PROTOCOL'].upper() != 'HTTP/0.9'
TypeError: 'NoneType' object is not subscriptable
