Exception in callback BaseSelectorEventLoop._sock_connect_cb(, , ('192.168.78.199', 8009)) handle: , , ('192.168.78.199', 8009)) created at /usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/selector_events.py:270> source_traceback: Object created at (most recent call last): File "/usr/local/bin/ecm", line 9, in load_entry_point('ecmcli==4.1', 'console_scripts', 'ecm')() File "/Users/mayfield/project/ecmcli/ecmcli/main.py", line 112, in main _main() File "/Users/mayfield/project/ecmcli/ecmcli/main.py", line 133, in _main root(args) File "/Users/mayfield/project/shellish/shellish/command/command.py", line 120, in __call__ return command(args) File "/Users/mayfield/project/shellish/shellish/command/command.py", line 120, in __call__ return command(args) File "/Users/mayfield/project/shellish/shellish/command/command.py", line 125, in __call__ return session.execute(self, args) File "/Users/mayfield/project/ecmcli/ecmcli/main.py", line 59, in execute return super().execute(*args, **kwargs) File "/Users/mayfield/project/shellish/shellish/session.py", line 104, in execute result = command.run_wrap(args) File "/Users/mayfield/project/shellish/shellish/command/command.py", line 155, in run_wrap result = self.run(args) File "/Users/mayfield/project/ecmcli/ecmcli/commands/remote.py", line 183, in run formatter(args, feed, file=f) File "/Users/mayfield/project/ecmcli/ecmcli/commands/remote.py", line 245, in tree_format t.print(cook()) File "/Users/mayfield/project/shellish/shellish/layout/table.py", line 371, in print self.default_renderer.print(row_iter) File "/Users/mayfield/project/shellish/shellish/layout/table.py", line 513, in print self.print_rendered(self.render_data(data)) File "/Users/mayfield/project/shellish/shellish/layout/table.py", line 505, in print_rendered for row in rendered_values: File "/Users/mayfield/project/shellish/shellish/layout/table.py", line 487, in render_data for obj in data: File "/Users/mayfield/project/ecmcli/ecmcli/commands/remote.py", line 225, in cook for x in results_feed(): File "/Users/mayfield/project/ecmcli/ecmcli/api.py", line 441, in remote for x in remote(server_path, filters, **kwargs): File "/Users/mayfield/project/ecmcli/ecmcli/api.py", line 607, in async_remote2 ioloop.run_forever() File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/base_events.py", line 301, in run_forever self._run_once() File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/base_events.py", line 1190, in _run_once handle._run() File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/events.py", line 125, in _run self._callback(*self._args) File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/tasks.py", line 293, in _wakeup self._step(value, None) File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/tasks.py", line 239, in _step result = coro.send(value) File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/coroutines.py", line 121, in send return self.gen.send(value) File "/usr/local/lib/python3.5/site-packages/aiohttp-0.18.3-py3.5-macosx-10.10-x86_64.egg/aiohttp/connector.py", line 557, in _create_connection server_hostname=hinfo['hostname'] if sslcontext else None) File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/coroutines.py", line 105, in __next__ return self.gen.send(None) File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/base_events.py", line 638, in create_connection yield from self.sock_connect(sock, address) File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/selector_events.py", line 405, in sock_connect self._sock_connect(fut, sock, address) File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/selector_events.py", line 419, in _sock_connect self.add_writer(fd, self._sock_connect_cb, fut, sock, address) File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/selector_events.py", line 270, in add_writer handle = events.Handle(callback, args, self) Traceback (most recent call last): File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/events.py", line 125, in _run self._callback(*self._args) File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/selector_events.py", line 443, in _sock_connect_cb fut.set_result(None) File "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/futures.py", line 335, in set_result raise InvalidStateError('{}: {!r}'.format(self._state, self)) asyncio.futures.InvalidStateError: FINISHED: