Netmiko Exception as Unknown error #2348
Unanswered
akshayajai7
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Can you get rid of all your exception handling and post the original stack trace so I can see the actual error? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey all,
I tried deploying some configurations(Configuring Vsileft and vasiright interfaces) to a Cisco router . The first time deployment raised the exception in Netmiko which is :
except Exception as unknown_error:
print("Some other error: " + str(unknown_error))
And the error was: Some other error: [Errno None] Unable to connect to port 22 in x.x.x.x
I tried a second time, it didn't raise the same exception and deployment went through .
What is the reason for this kind of behavior? Any help would really be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions