When I need to use the web console from ESXi (version 8.0.2 build-23825572 and 7.0.3 build-23794027) I periodically got either the yellow ribbon
"Another user has a console session open to this virtual machine"

or/and a complete "black screen" with a play logo on it (like when the VM is turned off).
I can only see on the web console the following errors:
Uncaught DOMException: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.
at WMKS.VNCDecoder._sendBytes (https://esxi.local/ui/scripts/main.js:92646:27469)
at WMKS.VNCDecoder._sendString (https://esxi.local/ui/scripts/main.js:92646:27259)
at WMKS.VNCDecoder._handleProtocolVersionMsg (https://esxi.local/ui/scripts/main.js:92647:19117)
at WMKS.VNCDecoder._processMessages (https://esxi.local/ui/scripts/main.js:92647:26232)
at WebSocket.wsMessage (https://esxi.local/ui/scripts/main.js:92647:30995)
VMConsole https://esxi.local/ui/scripts/main.js:53232:27 console closed