Cockpit virtual machine VNC console doesn't work in following scenario:
- Cockpit loaded on workstation host.
- Then host was changed in the cockpit to a server host.
- Server has a few virtual machines. VNC console cannot be connected.
But if I load the cockpit directly from server host, VNC console works fine.
Issue could be seen in CentOS 8, RHEL 8, Oracle Linux 8. Possibly 7th version as well affected.
Did anyone solved such issue?
[update]
[When host was shifted to the serve] Server sends GET request to Web Socket when try to connect to VNC console: wss://linux-workstation.loc:9090/cockpit/channel/0626ddf3aa6e03b8661a7c1ce3aff696d8536d44eec4acb681845ae5b94288e2?eyJwYXlsb2FkIjoic3RyZWFtIiwicHJvdG9jb2wiOiJiaW5hcnkiLCJiaW5hcnkiOiJyYXciLCJhZGRyZXNzIjoiMTI3LjAuMC4xIiwicG9ydCI6NTkwMn0=
[When server host was directly loaded] Server sends GET request to Web Socket when try to connect to VNC console: wss://server.loc:9090/cockpit/channel/83f0fb6df09ff3f16278ee39838ca6b3dbf3696b7461b7a0cad84f0f864a3199?eyJwYXlsb2FkIjoic3RyZWFtIiwicHJvdG9jb2wiOiJiaW5hcnkiLCJiaW5hcnkiOiJyYXciLCJhZGRyZXNzIjoiMTI3LjAuMC4xIiwicG9ydCI6NTkwMn0=
But, virtual machines run only on the server. It looks like a JS bug.