Error

Error

mama

Traceback (most recent call last):

 File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/netmiko/base_connection.py", line 858, in establish_connection

   self.remote_conn_pre.connect(**ssh_connect_params)

 File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/paramiko/client.py", line 334, in connect

   to_try = list(self._families_and_addresses(hostname, port))

 File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/paramiko/client.py", line 204, in _families_and_addresses

   hostname, port, socket.AF_UNSPEC, socket.SOCK_STREAM

 File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socket.py", line 748, in getaddrinfo

   for res in _socket.getaddrinfo(host, port, family, type, proto, flags):

socket.gaierror: [Errno 8] nodename nor servname provided, or not known


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

 File "netbrain.py", line 15, in <module>

   net_connect = ConnectHandler(**conn)

 File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/netmiko/ssh_dispatcher.py", line 228, in ConnectHandler

   return ConnectionClass(*args, **kwargs)

 File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/netmiko/base_connection.py", line 312, in __init__

   self.establish_connection()

 File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/netmiko/base_connection.py", line 864, in establish_connection

   raise NetMikoTimeoutException(msg)

netmiko.ssh_exception.NetMikoTimeoutException: Connection to device timed-out: ruckus_fastiron sys.argv[1]:22

Report Page