SnapCenter open-smconnection无法初始化连接
适用场景
问题描述
您可能会遇到与以下内容类似的错误。 连接将立即失败、并且SnapCenter中没有生成任何可显示issue的日志
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