It has been recently discovered that vSphere Client 6 on our 2012 R2 hosts can't connect to the specified ESX Host. When I attempt to connect I get the following error:
"vSphere Client could not connect to "<hostname>".
An unknown connection error occurred. (The client could not send a complete request to the server. (The underlying connection was closed:
There aren't any corresponding error events in the Windows event logs.
When I look in C:\Users\<user>\AppData\Local\VMware\vpx I have a few log files (viclient-0-0000, viclient-1-0000, viclient-2-0000).
viclient-2-0000 is the most recent, though it's contents are pretty much the same as the others. They are:
[ :startup :W: 1] 2016-05-25 11:24:58.799 Log for vSphere Client Launcher, pid=2792, version=6.0.0, build=build-3562874, option=release
[ :Error :W: 1] 2016-05-25 11:24:58.830 System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.
at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
at Microsoft.Win32.RegistryKey.SetValue(String name, Object value, RegistryValueKind valueKind)
at Microsoft.Win32.RegistryKey.SetValue(String name, Object value)
at VpxClient.Program.RegisterClientMimeExtension()
[ :Failed t:P: 3] 2016-05-25 11:25:30.159 System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send.
Server stack trace:
at System.Net.HttpWebRequest.GetResponse()
Exception rethrown at [0]:
...
at System.Net.HttpWebRequest.GetResponse()
at VirtualInfrastructure.Utils.WebDownload.GetResponse()
System.IO.IOException: Authentication failed because the remote party has closed the transport stream.
...
at System.Net.ConnectStream.WriteHeaders(Boolean async)
--- End of inner exception stack trace ---
[ :Error :P: 3] 2016-05-25 11:25:30.159 possible failure processing clients.xml
System.Net.WebException: The client could not send a complete request to the server. (The underlying connection was closed: An unexpected error occurred on a send.)
at VirtualInfrastructure.Utils.WebQuery.LocalizeWebException(WebException exception)
at VirtualInfrastructure.Utils.WebQuery.Request(String url, Nullable`1 timeoutSecs)
at VirtualInfrastructure.Utils.ClientsXml.ParseXml(Int32 timeoutSecs)
at VpxClient.Login.ClientsXmlLoader.TrySinglePort(ClientsXml clientXml, Exception& activeError)
System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send.
Server stack trace:
at System.Net.HttpWebRequest.GetResponse()
Exception rethrown at [0]:
...
at System.Net.HttpWebRequest.GetResponse()
at VirtualInfrastructure.Utils.WebDownload.GetResponse()
at VirtualInfrastructure.Utils.WebDownload.get_ResponseStream()
at VirtualInfrastructure.Utils.WebQuery.Request(String url, Nullable`1 timeoutSecs)
System.IO.IOException: Authentication failed because the remote party has closed the transport stream.
...
at System.Net.ConnectStream.WriteHeaders(Boolean async)
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
[ :Error :M: 1] 2016-05-25 11:25:30.549 Error retrieving clients.xml
Exception already logged, summary: System.Net.WebException:The client could not send a complete request to the server. (The underlying connection was closed: An unexpected error occurred on a send.)
[ :Failed t:P: 3] 2016-05-25 11:28:02.442 System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send.
Server stack trace:
at System.Net.HttpWebRequest.GetResponse()
Exception rethrown at [0]:
...
at System.Net.HttpWebRequest.GetResponse()
at VirtualInfrastructure.Utils.WebDownload.GetResponse()
System.IO.IOException: Authentication failed because the remote party has closed the transport stream.
...
at System.Net.ConnectStream.WriteHeaders(Boolean async)
--- End of inner exception stack trace ---
[ :Error :P: 3] 2016-05-25 11:28:02.458 possible failure processing clients.xml
System.Net.WebException: The client could not send a complete request to the server. (The underlying connection was closed: An unexpected error occurred on a send.)
at VirtualInfrastructure.Utils.WebQuery.LocalizeWebException(WebException exception)
at VirtualInfrastructure.Utils.WebQuery.Request(String url, Nullable`1 timeoutSecs)
at VirtualInfrastructure.Utils.ClientsXml.ParseXml(Int32 timeoutSecs)
at VpxClient.Login.ClientsXmlLoader.TrySinglePort(ClientsXml clientXml, Exception& activeError)
System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send.
Server stack trace:
at System.Net.HttpWebRequest.GetResponse()
Exception rethrown at [0]:
...
at System.Net.HttpWebRequest.GetResponse()
at VirtualInfrastructure.Utils.WebDownload.GetResponse()
at VirtualInfrastructure.Utils.WebDownload.get_ResponseStream()
at VirtualInfrastructure.Utils.WebQuery.Request(String url, Nullable`1 timeoutSecs)
System.IO.IOException: Authentication failed because the remote party has closed the transport stream.
...
at System.Net.ConnectStream.WriteHeaders(Boolean async)
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
[ :Error :M: 1] 2016-05-25 11:28:02.458 Error retrieving clients.xml
Exception already logged, summary: System.Net.WebException:The client could not send a complete request to the server. (The underlying connection was closed: An unexpected error occurred on a send.)
I'm really stuck as to what's going on. It seems like some kind of SSL issue, but I can't be for certain. Any help would be appreciated. Thanks.