Greetings,
We have a VMware to azure site recovery VMs and we are receiving this alerts today relating to vCenter:
Message: Discovery of the vCenter server X.X.X.X:443 failed with the error System.ServiceModel.CommunicationException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. ---> System.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. at System.Net.HttpWebRequest.GetResponse() at System.ServiceModel.Channels.HttpChannelFactory1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) --- End of inner exception stack trace --- Server stack trace: at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason) at System.ServiceModel.Channels.HttpChannelFactory
1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Vim25Api.VimPortType.ContinueRetrievePropertiesEx(ManagedObjectReference _this, String token) at VMware.VSphere.Management.Operations.VSphereUtilities.RetrieveProperties(VimPortType service, ServiceContent serviceContent, PropertyFilterSpec pfSpec) at VMware.VSphere.Management.Operations.VSphereUtilities.GetEntityViews(VimPortType service, ServiceContent serviceContent, String moRefType, String[] moRefProperies) at VMware.VSphere.Management.Operations.VirtualMachineOperations.GetVmViewsByProps() at VMware.VSphere.Management.VSphereManagementClient.GetInfrastructureViewLite(String[] options, OsType osType) at InMageDiscovery.Program.Main(String[] args) .
Possible Causes: Refer to the vSphere Power CLI documentation for possible causes.
Recommendation: Resolve the error: System.ServiceModel.CommunicationException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. ---> System.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. at System.Net.HttpWebRequest.GetResponse() at System.ServiceModel.Channels.HttpChannelFactory1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) --- End of inner exception stack trace --- Server stack trace: at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason) at System.ServiceModel.Channels.HttpChannelFactory
1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Vim25Api.VimPortType.ContinueRetrievePropertiesEx(ManagedObjectReference _this, String token) at VMware.VSphere.Management.Operations.VSphereUtilities.RetrieveProperties(VimPortType service, ServiceContent serviceContent, PropertyFilterSpec pfSpec) at VMware.VSphere.Management.Operations.VSphereUtilities.GetEntityViews(VimPortType service, ServiceContent serviceContent, String moRefType, String[] moRefProperies) at VMware.VSphere.Management.Operations.VirtualMachineOperations.GetVmViewsByProps() at VMware.VSphere.Management.VSphereManagementClient.GetInfrastructureViewLite(String[] options, OsType osType) at InMageDiscovery.Program.Main(String[] args) . Retry the operation once the error is resolved.
The replication is not affected, we receive successful heartbeats from process server and vCenter. We recently upgraded the process server agent to 9.48. Is this a VMware issue or a ASR issue?