-
Notifications
You must be signed in to change notification settings - Fork 4
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
underlying scrapli connection is not open. error #53
Comments
what does |
Hi there. so it seems that both variant in async give conn.isalive() is False.
the async variant:
|
copy, thanks for reporting back! will check this more hopefully this weekend. if you have time to look in upstream scrapli to see what's what that would be great too! |
hey again @nielsvanhooy could ya drop some prints like this after you open an async connection? print(f"isalive? -> {conn.isalive()} ")
print(f"conn session -> {conn.transport.session is not None}")
print(f"conn auth -> {conn.transport.session._auth_complete}")
print(f"conn session transport -> {conn.transport.session._transport is not None}")
print(f"conn session transport closing -> {conn.transport.session._transport.is_closing()}") these are all the things that are evaluated for asyncssh transport "isalive" check -- this check seems to work ok for me so just wondering which of these is not happy for your device/platform. everything "should" say |
Hi there. i was working again on a side project i started a while back. But im running into a problem (of what im sure used to work before).
Before, i could make a connection to a device and pass it on to scrapli-cfg. but now it seems only to be working when i pass the option dedicated_connection. (i was hoping to get it to work without starting another connection).
The testcode setup.
Error below
please let me know your thoughts on this.
kind regards.
Niels
The text was updated successfully, but these errors were encountered: