Unable to connect to AireOS Device with 3.2.0 Release
See original GitHub issueI am able to connect to device fine using netmiko==3.1.1
>>> from netmiko import ConnectHandler
>>> dev = ConnectHandler(device_type="cisco_wlc", ip=ip, username=username, password=password, port=22, global_delay_factor=1, secret="", verbose=False)
>>> dev.find_prompt()
'(wlc_host)'
>>>
I get a paramiko SSHException when attempting the same thing on netmiko==3.2.0
>>> from netmiko import ConnectHandler
>>> dev = ConnectHandler(device_type="cisco_wlc", ip=ip, username=username, password=password, port=22, global_delay_factor=1, secret="", verbose=False)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/users/user/venv/lib/python3.6/site-packages/netmiko/ssh_dispatcher.py", line 298, in ConnectHandler
return ConnectionClass(*args, **kwargs)
File "/home/users/user/venv/lib/python3.6/site-packages/netmiko/base_connection.py", line 341, in __init__
self._open()
File "/home/users/user/venv/lib/python3.6/site-packages/netmiko/base_connection.py", line 346, in _open
self.establish_connection()
File "/home/users/user/venv/lib/python3.6/site-packages/netmiko/base_connection.py", line 915, in establish_connection
self.remote_conn_pre.connect(**ssh_connect_params)
File "/home/users/user/venv/lib/python3.6/site-packages/paramiko/client.py", line 412, in connect
server_key = t.get_remote_server_key()
File "/home/users/user/venv/lib/python3.6/site-packages/paramiko/transport.py", line 834, in get_remote_server_key
raise SSHException("No existing session")
paramiko.ssh_exception.SSHException: No existing session
>>>
I did a pip freeze between 3.1.1 and 3.2.0 and compared and the only difference was netmiko
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Release Notes for Cisco Wireless Controllers and Lightweight ...
1.Successfully created Authentication server. 2.Failed to create authorization server:SNMP operation to Device failed: Set Operation not allowed ...
Read more >Connection to Cisco WLC 3504 failed · Issue #1887 - GitHub
Hi, There is a traceback when trying to connect to the Cisco WLC 3504. Manual login is working from the same machine as...
Read more >Cisco Wireless LAN Controller (WLC) Basic Configuration
This lesson explains how to configure a basic network with a Cisco Wireless LAN Controller (WLC), two access points and a switch in...
Read more >AirWave 8.2.14.1 Supported Infrastructure Devices
This release of AirWave supports management of global configuration profiles or settings, monitoring, and software upgrades on the Aruba devices and software ...
Read more >Wireless LAN Controller (WLC) Error and System Messages ...
My wireless clients are not able to connect to the wireless LAN. (WLAN) network. The WiSM that the access point (AP) is connected...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ktbyers I am going to unfollow this issue now that a resolution is decided upon; feel free to close as you wish
Setting conn_timeout argument to 10 fixes this. Per testing by @jmcgill298
So we should put this into the WLC driver.
Also maybe catch the:
And raise a message recommending to increase the
conn_timeout