Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- self:asyncssh-test/ $ python3 test1 [0:07:59]
- /home/self
- /home/self
- /home/self
- /home/self
- /home/self
- /home/self
- /home/self
- /home/self
- /home/self
- /home/self
- /home/self
- /home/self
- /home/self
- /home/self
- /home/self
- /home/self
- Task exception was never retrieved
- future: <Task finished coro=<run_client() done, defined at test1:3> exception=DisconnectError('Disconnect Error: Connection lost',)>
- Traceback (most recent call last):
- File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
- result = coro.throw(exc)
- File "test1", line 4, in run_client
- async with asyncssh.connect('localhost', username='self', password='F0rReal!!') as conn:
- File "/usr/local/lib/python3.5/dist-packages/asyncssh/misc.py", line 138, in __aenter__
- self._result = yield from self._coro
- File "/usr/local/lib/python3.5/dist-packages/asyncssh/connection.py", line 4429, in connect
- conn, _ = yield from create_connection(None, host, port, **kwargs)
- File "/usr/local/lib/python3.5/dist-packages/asyncssh/connection.py", line 4219, in create_connection
- yield from auth_waiter
- File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
- yield self # This tells Task to wait for completion.
- File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
- future.result()
- File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
- raise self._exception
- asyncssh.misc.DisconnectError: Disconnect Error: Connection lost
- Task exception was never retrieved
- future: <Task finished coro=<run_client() done, defined at test1:3> exception=DisconnectError('Disconnect Error: Connection lost',)>
- Traceback (most recent call last):
- File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
- result = coro.throw(exc)
- File "test1", line 4, in run_client
- async with asyncssh.connect('localhost', username='self', password='F0rReal!!') as conn:
- File "/usr/local/lib/python3.5/dist-packages/asyncssh/misc.py", line 138, in __aenter__
- self._result = yield from self._coro
- File "/usr/local/lib/python3.5/dist-packages/asyncssh/connection.py", line 4429, in connect
- conn, _ = yield from create_connection(None, host, port, **kwargs)
- File "/usr/local/lib/python3.5/dist-packages/asyncssh/connection.py", line 4219, in create_connection
- yield from auth_waiter
- File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
- yield self # This tells Task to wait for completion.
- File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
- future.result()
- File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
- raise self._exception
- asyncssh.misc.DisconnectError: Disconnect Error: Connection lost
- Task exception was never retrieved
- future: <Task finished coro=<run_client() done, defined at test1:3> exception=DisconnectError('Disconnect Error: Connection lost',)>
- Traceback (most recent call last):
- File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
- result = coro.throw(exc)
- File "test1", line 4, in run_client
- async with asyncssh.connect('localhost', username='self', password='F0rReal!!') as conn:
- File "/usr/local/lib/python3.5/dist-packages/asyncssh/misc.py", line 138, in __aenter__
- self._result = yield from self._coro
- File "/usr/local/lib/python3.5/dist-packages/asyncssh/connection.py", line 4429, in connect
- conn, _ = yield from create_connection(None, host, port, **kwargs)
- File "/usr/local/lib/python3.5/dist-packages/asyncssh/connection.py", line 4219, in create_connection
- yield from auth_waiter
- File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
- yield self # This tells Task to wait for completion.
- File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
- future.result()
- File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
- raise self._exception
- asyncssh.misc.DisconnectError: Disconnect Error: Connection lost
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement