Microsoft Virtualization Discussions

Invoke-NcSsh : No connection could be made because the target machine actively refused it

mcgue
4,076 Views

It seems like when the Invoke-NcSsh cmdlet is ran repeatedly against a cluster I'll sometimes will see this error.  If I add a sleep of 1 second in between I will avoid it.  Are there any other methods available to avoid this issue that anyone has found?

1 REPLY 1

BenCoughtry
3,325 Views

I'm seeing this also - OnTap 9.1P1 and Powershell Toolkit 4.3.0.  Thanks for the suggestion on 'start-sleep'.  In my testing it behaves like some kind of SSH command buffer overload that you can avoid by programming in wait time.  I'm just speculating though, I don't know the actual cause of this.  Anny additional info would be appreciated.  Thanks,

Public