Advertisement
JeanBritz

ssh_connection.py console output

Feb 4th, 2019
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.24 KB | None | 0 0
  1. ---- TEST: ssh-agent env variables ----
  2. SSH_AUTH_SOCK: /tmp/.ssh-pageant-QT
  3. ---- TEST: Pagent is running? ----
  4. Pagent is running and has 1 private key(s) loaded
  5. ----- TEST: Establish SSH Adapter -----
  6. ...\venv\lib\site-packages\paramiko\ecdsakey.py:164: CryptographyDeprecationWarning: Support for unsafe construction of public numbers from encoded data will be removed in a future version. Please use EllipticCurvePublicKey.from_encoded_point
  7. self.ecdsa_curve.curve_class(), pointinfo
  8. ...\venv\lib\site-packages\paramiko\kex_ecdh_nist.py:39: CryptographyDeprecationWarning: encode_point has been deprecated on EllipticCurvePublicNumbers and will be removed in a future version. Please use EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed point encoding.
  9. m.add_string(self.Q_C.public_numbers().encode_point())
  10. ...\venv\lib\site-packages\paramiko\kex_ecdh_nist.py:96: CryptographyDeprecationWarning: Support for unsafe construction of public numbers from encoded data will be removed in a future version. Please use EllipticCurvePublicKey.from_encoded_point
  11. self.curve, Q_S_bytes
  12. ...\lib\site-packages\paramiko\kex_ecdh_nist.py:111: CryptographyDeprecationWarning: encode_point has been deprecated on EllipticCurvePublicNumbers and will be removed in a future version. Please use EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed point encoding.
  13. hm.add_string(self.Q_C.public_numbers().encode_point())
  14. SSH Adapter successfully initialized
  15. ----- TEST: Using DockerClient to Get Version of Docker Daemon -----
  16. Error while fetching server API version: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
  17. ----- TEST: Using APIClient to Get Version of Docker Daemon -----
  18. Traceback (most recent call last):
  19. File "...\venv\lib\site-packages\urllib3\connectionpool.py", line 600, in urlopen
  20. chunked=chunked)
  21. File "...\venv\lib\site-packages\urllib3\connectionpool.py", line 384, in _make_request
  22. six.raise_from(e, None)
  23. File "<string>", line 2, in raise_from
  24. File "...\venv\lib\site-packages\urllib3\connectionpool.py", line 380, in _make_request
  25. httplib_response = conn.getresponse()
  26. File "D:\Apps\Anaconda3\lib\http\client.py", line 1321, in getresponse
  27. response.begin()
  28. File "D:\Apps\Anaconda3\lib\http\client.py", line 296, in begin
  29. version, status, reason = self._read_status()
  30. File "D:\Apps\Anaconda3\lib\http\client.py", line 265, in _read_status
  31. raise RemoteDisconnected("Remote end closed connection without"
  32. http.client.RemoteDisconnected: Remote end closed connection without response
  33.  
  34. During handling of the above exception, another exception occurred:
  35.  
  36. Traceback (most recent call last):
  37. File "...\venv\lib\site-packages\requests\adapters.py", line 449, in send
  38. timeout=timeout
  39. File "...\venv\lib\site-packages\urllib3\connectionpool.py", line 638, in urlopen
  40. _stacktrace=sys.exc_info()[2])
  41. File "...\venv\lib\site-packages\urllib3\util\retry.py", line 367, in increment
  42. raise six.reraise(type(error), error, _stacktrace)
  43. File "...\venv\lib\site-packages\urllib3\packages\six.py", line 685, in reraise
  44. raise value.with_traceback(tb)
  45. File "...\venv\lib\site-packages\urllib3\connectionpool.py", line 600, in urlopen
  46. chunked=chunked)
  47. File "...\venv\lib\site-packages\urllib3\connectionpool.py", line 384, in _make_request
  48. six.raise_from(e, None)
  49. File "<string>", line 2, in raise_from
  50. File "...\venv\lib\site-packages\urllib3\connectionpool.py", line 380, in _make_request
  51. httplib_response = conn.getresponse()
  52. File "D:\Apps\Anaconda3\lib\http\client.py", line 1321, in getresponse
  53. response.begin()
  54. File "D:\Apps\Anaconda3\lib\http\client.py", line 296, in begin
  55. version, status, reason = self._read_status()
  56. File "D:\Apps\Anaconda3\lib\http\client.py", line 265, in _read_status
  57. raise RemoteDisconnected("Remote end closed connection without"
  58. urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
  59.  
  60. During handling of the above exception, another exception occurred:
  61.  
  62. Traceback (most recent call last):
  63. File ".../example/ssh_connection/ssh_connection.py", line 60, in <module>
  64. version = client.version()
  65. File "...\venv\lib\site-packages\docker\api\daemon.py", line 181, in version
  66. return self._result(self._get(url), json=True)
  67. File "...\venv\lib\site-packages\docker\utils\decorators.py", line 46, in inner
  68. return f(self, *args, **kwargs)
  69. File "...\venv\lib\site-packages\docker\api\client.py", line 225, in _get
  70. return self.get(url, **self._set_request_timeout(kwargs))
  71. File "...\venv\lib\site-packages\requests\sessions.py", line 546, in get
  72. return self.request('GET', url, **kwargs)
  73. File "...\venv\lib\site-packages\requests\sessions.py", line 533, in request
  74. resp = self.send(prep, **send_kwargs)
  75. File "...\venv\lib\site-packages\requests\sessions.py", line 646, in send
  76. r = adapter.send(request, **kwargs)
  77. File "...\venv\lib\site-packages\requests\adapters.py", line 498, in send
  78. raise ConnectionError(err, request=request)
  79. requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement