<time_stamp> | ERROR | pool-jetty-36 | ServerWebSocket | Error: org.eclipse.jetty.websocket.core.exception.WebSocketException: ServerWebSocket OPEN method error: null [server: [L=/#.#.#.#:443 R=/#.#.#.#:51398]] [client: not-connected] |
<time_stamp> | DEBUG | pool-jetty-36 | ServerWebSocket | onClose: status=1,011, reason=org.eclipse.jetty.websocket.core.exception.WebSocketException: ServerWebSocket OPEN method error: null [server: [L=/#.#.#.#:443 R=/#.#.#.#:51398]] [client: not-connected] |
VMware Cloud Director 10.x
The cause of this issue is that VCD needs to acquire a ticket from vCenter to then connect to the VM console but it needs direct connection to it and the proxy disables that peer to peer connection.
Starting with VMware Cloud Director 10.5, you can use the VMware Cloud Director API to manage proxy routing for specific destinations in your environment.
It is recommended to proxy specific VCD traffic through a proxy server instead of configuring the OS level proxy via the /etc/sysconfig/proxy
file on the Cells.
Details are available in the documentation, Configure Proxy Routing in VMware Cloud Director.
Alternatively if the proxy must be set via the /etc/sysconfig/proxy
file on the Cells, then use the following process to add the vCenter Server to the NO_PROXY list:
vi /etc/sysconfig/proxy
NO_PROXY="localhost, 127.0.0.1, vcenter.example.com"
/opt/vmware/vcloud-director/bin/cell-management-tool cell -i $(service vmware-vcd pid cell) -s
systemctl start vmware-vcd