Symptoms:
The console has been disconnected. Close this window and re-launch the console to reconnect.
[YYYY-MM-DDTHH:MM:SS.Z] [ERROR] http-bio-9443-exec-10 #.#.#.#. [.[localhost].[/vsphere-client].[AuthdAdapter] Servlet.service() for servlet [AuthdAdapter] in context with path [/vsphere-client] threw exception java.lang.RuntimeException: AuthdException: 502 Input not in UTF-8 encoding.
[YYYY-MM-DDTHH:MM:SS.Z] [ERROR] http-bio-9443-exec-10 #.#.#.#. [.[localhost].[/vsphere-client].[AuthdAdapter] Servlet.service() for servlet [AuthdAdapter] in context with path [/vsphere-client] threw exception java.lang.RuntimeException: AuthdException: 501 Command 'CONNECT/vmfs/volumes/[Datastore]/##/##.vmx' not authorized for specified VM
VMware vCenter Server 6.x
VMware vCenter Server 6.0.x
The problem is during Authd handshake. The Socket InputStream is not able to decode UTF-8 properly on CISWIN machines.
This is a known issue affecting vCenter Server 6.x
To workaround the issue, JVM needs to be started with "-Dfile.encoding=UTF-8" parameter which will set the right character encoding for non-ASCII.
# Set the default charset
wrapper.java.additional.*=-Dfile.encoding=UTF-8
Note: The '*' stands for a number. It should be equal to the last number of ‘wrapper.java.additional',parameter in JVM configuration file plus one.
For example, the last number of this parameter is 'wrapper.java.additional.19', the '*' should be 20. So the full parameter is wrapper.java.addtional.20=-Dfile.encoding=UTF-8
In vCenter 6.5:
C:\ProgramData\VMware\vCenterServer\cfg\vmware-vmon\svcCfgfiles\vsphere-client.json