Hi,
We are trying to implement the websocket connection in vSphereClient Plugin
In Java service, We are started our websocket server on 8887 port, which we are connecting from HTML GUI using JavaScript. Please find the sample implementation for the same.
While trying to connect the websocket url from vSphere Client plugin ui(HTML5), We are getting the following error
Mixed Content: The page at 'Error! Hyperlink reference not valid.' was loaded over HTTPS, but attempted to connect to the insecure WEbSocket endpoint 'ws://{ip}:8887/'. This request has been blocked; this endpoint must be available over WSS
We tried using 'wss' instead of ws in both server and client side code. But no luck. We are getting the following error for this
WebSocket connection to 'wss://{ip}:8887/' failed: WebSocket opening handshake timed out
Now , we wish to seek your help to get better understanding about “How to use the VirgoServer WebSocket for our plugin purpose?” It will be greatly appreciated, if you can point me to the WebSocket Example, which will work within vSphere Virgo Server Environment.
Kindly help us in this