Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetFile error #429

Open
doguz2509 opened this issue Apr 16, 2023 · 0 comments
Open

GetFile error #429

doguz2509 opened this issue Apr 16, 2023 · 0 comments

Comments

@doguz2509
Copy link

doguz2509 commented Apr 16, 2023

Sometimes I got the following error when attempting to file download:

Execution Info:
Being executed on AWS EC2 CentOS8.5 host

Keyword arguments:
GetFile , , scp=ALL

Componenets Info:
Python3.8
RF: 6.0.2
SSLibrary: 3.8.0
paramiko: 3.1.0
scp: 0.14.5

Error Info:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/SSHLibrary/library.py", line 1653, in get_file
    return self._run_command(self.current.get_file, source,
  File "/usr/local/lib/python3.8/site-packages/SSHLibrary/library.py", line 1826, in _run_command
    files = command(*args)
  File "/usr/local/lib/python3.8/site-packages/SSHLibrary/abstractclient.py", line 652, in get_file
    client = self._create_client(scp)
  File "/usr/local/lib/python3.8/site-packages/SSHLibrary/abstractclient.py", line 758, in _create_client
    return self.scp_all_client
  File "/usr/local/lib/python3.8/site-packages/SSHLibrary/abstractclient.py", line 123, in scp_all_client
    self._scp_all_client = self._create_scp_all_client()
  File "/usr/local/lib/python3.8/site-packages/SSHLibrary/pythonclient.py", line 283, in _create_scp_all_client
    return SCPClient(self.client)
  File "/usr/local/lib/python3.8/site-packages/SSHLibrary/pythonclient.py", line 394, in __init__
    self._scp_client = scp.SCPClient(ssh_client.get_transport())
  File "/usr/local/lib/python3.8/site-packages/scp.py", line 160, in __init__
    self.peername = self.transport.getpeername()
AttributeError: 'NoneType' object has no attribute 'getpeername'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant