client gets stuck when device is ssh unreachable #53
Labels
No labels
breaking-change
bug
dependencies
duplicate
enhancement
go
good first issue
help wanted
invalid
investigation
proposal
proposal-accepted
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nemith/netconf#53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When the device is ssh unreachable, and the netconf client tries to connect to the device, it gets stuck when it tries to create a new ssh client connection
https://github.com/nemith/netconf/blob/main/transport/ssh/ssh.go#L43
Attaching the script to reproduce the issue.
Run the script with 10 connections. the script has a sleep of 1000 seconds so that the connections are open the entire time. Run a duplicate script with one connection and you should be able to see that it gets stuck
stack
** test program **