SnapCenter open-smconnection fails to initialize a connection
Applies to
Issue
You may encounter and error similar to the following. The connection immediately fails and there are no logs generated in SnapCenter that reveal the isssue
PS C:\WINDOWS\system32> Open-smconnection -SMSbaseurl https://snapcenter.server.com:8146
cmdlet Open-SmConnection at command pipeline position 1
Supply values for the following parameters:
(Type !? for Help.)
Credential
Open-smconnection : The underlying connection was closed: An unexpected error occurred on a send.Unable to read data
from the transport connection: An existing connection was forcibly closed by the remote host.
At line:1 char:1
+ Open-smconnection -SMSbaseurl https://snapcenter.server.com:8146
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (SmPSSnapin.PSAddSmSession:PSAddSmSession) [Open-SmConnection], Exception
+ FullyQualifiedErrorId : Operation failed,SmPSSnapin.PSAddSmSession