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'

DTraceback (most recent call last):


 "/usr/lib/python3.6/site-packages/mitmproxy/tools/console/master.py", line 281, in run

self.loop.run()


 "/usr/lib/python3.6/site-packages/urwid/main_loop.py", line 278, in run

self._run()


 "/usr/lib/python3.6/site-packages/urwid/main_loop.py", line 376, in _run

self.event_loop.run()


 "/usr/lib/python3.6/site-packages/urwid/main_loop.py", line 682, in run

self._loop()


 "/usr/lib/python3.6/site-packages/urwid/main_loop.py", line 719, in _loop

self._watch_files[fd]()


 "/usr/lib/python3.6/site-packages/urwid/raw_display.py", line 393, in <lambda>

event_loop, callback, self.get_available_raw_input())


 "/usr/lib/python3.6/site-packages/urwid/raw_display.py", line 493, in parse_input

callback(processed, processed_codes)


 "/usr/lib/python3.6/site-packages/urwid/main_loop.py", line 403, in _update

self.process_input(keys)


 "/usr/lib/python3.6/site-packages/urwid/main_loop.py", line 503, in process_input

k = self._topmost_widget.keypress(self.screen_size, k)


 "/usr/lib/python3.6/site-packages/mitmproxy/tools/console/window.py", line 84, in keypress

k = super().keypress(size, k)


 "/usr/lib/python3.6/site-packages/urwid/container.py", line 1128, in keypress

return self.body.keypress( (maxcol, remaining), key )


 "/usr/lib/python3.6/site-packages/mitmproxy/tools/console/flowlist.py", line 417, in keypress

return urwid.ListBox.keypress(self, size, key)


 "/usr/lib/python3.6/site-packages/urwid/listbox.py", line 987, in keypress

self.make_cursor_visible((maxcol,maxrow))


 "/usr/lib/python3.6/site-packages/urwid/listbox.py", line 939, in make_cursor_visible

focus_widget, pos = self.body.get_focus()


 "/usr/lib/python3.6/site-packages/mitmproxy/tools/console/flowlist.py", line 284, in get_focus

f = FlowItem(self.master, self.master.view.focus.flow)


 "/usr/lib/python3.6/site-packages/mitmproxy/tools/console/flowlist.py", line 123, in __init__

w = self.get_text()


 "/usr/lib/python3.6/site-packages/mitmproxy/tools/console/flowlist.py", line 132, in get_text

max_url_len=cols,


 "/usr/lib/python3.6/site-packages/mitmproxy/tools/console/common.py", line 427, in format_flow

acked = f.reply.state == "committed",
AttributeError: 'NoneType' object has no attribute 'state'
