Socket exception: Bad file descriptor (9) with scrapli via paramiko transport #236
-
Hi, I'm newbie Python. I'm using My fragment code is next:
The error occurs after the Tell me, please, what am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey @igor-a-silkin -- you are doing nothing wrong! I've seen this pop up and it seems to be cosmetic so I never bothered looking further into it.... if you spend any time and find a root cause I'm very open to a PR but I probably will not dig into it any time soon. |
Beta Was this translation helpful? Give feedback.
-
I also encountered such a situation and I had the opinion that the exception occurs when trying to close an already closed connection For example:
sometimes occurs and at
never encountered (without close()) I can’t say for sure, because I’m currently using ssh2 transport |
Beta Was this translation helpful? Give feedback.
Hey @igor-a-silkin -- you are doing nothing wrong! I've seen this pop up and it seems to be cosmetic so I never bothered looking further into it.... if you spend any time and find a root cause I'm very open to a PR but I probably will not dig into it any time soon.