Symptom
[+] vManage cannot attach/detach, generate admin-tech or getting stats on getting any info from cEdge as cannot connect over port 830
[+] Follow logs from vmanage-server logs:
06-May-2023 00:24:08,172 UTC WARN [] [AbstractLoggingBean] (sshd-SshClient[540ccc20]-nio2-thread-26) || exceptionCaught(ClientSessionImpl[vmanage-admin@/x.x.x.x:830])[state=Opened] IOException: Connection reset by peer
06-May-2023 00:24:08,172 UTC ERROR [] [NetConfClient] (device-show-commands-processing-70) || Failed to connect to device : x.x.x.x Port: 830 user : vmanage-admin error : Connection failed
[+] ncsshd tracelogs from cEdge show that the device is dropping connections on port 830 due to exceeding MaxStartups
(command to fetch logs - "show logging process ncsshd internal"):
{ncsshd_bp_R0-0}{1}: [ncsshd] [30012]: (note): [pid(30531)] drop connection #20 from [x.x.x.x]:41992 on [x.x.x.x]:830 past MaxStartups
{ncsshd_bp_R0-0}{1}: [ncsshd] [30012]: (note): [pid(30531)] ***** calling select, maxfd+1 = 51, fdset=0x555a3a535230 *****
{ncsshd_bp_R0-0}{1}: [ncsshd] [30012]: (note): [pid(30531)] drop connection #20 from [x.x.x.x]:42010 on [x.x.x.x]:830 past MaxStartups
{ncsshd_bp_R0-0}{1}: [ncsshd] [30012]: (note): [pid(30531)] ***** calling select, maxfd+1 = 51, fdset=0x555a3a535230
Conditions
Control connections flap and cEdge came up with template attached out of sync.
Workaround
Reload the affected cEdge device
Further Problem Description
Impacts all ios-xe platforms