Hello everyone,
let's see if someone can give me some insight on this issue.
I am trying to connect to the VNC of a DELL iDrac8 to which with a desktop client I manage to connect without problems.
The options that I pass to it are the following:
vnc.html?host=
xx.yy.zz.bb&port=5901&password=zzzzzzzzzzzzzzz&encrypt=0
Which returns the following debug:
[Debug] >> RFB.constructor (rfb.js, line 182)
[Debug] >> Display.constructor (display.js, line 26)
[Debug] User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Safari/605.1.15 (display.js, line 56)
[Debug] << Display.constructor (display.js, line 58)
[Debug] New state 'connecting', was ''. (rfb.js, line 777)
[Debug] >> RFB.connect (rfb.js, line 465)
[Info] connecting to ws://
10.76.8.21:5901/ (rfb.js, line 468)
[Debug] << RFB.connect (rfb.js, line 519)
[Debug] << RFB.constructor (rfb.js, line 248)
[Error] WebSocket connection to 'ws://
10.76.8.21:5901/' failed: There was a bad response from the server.
[Debug] >> WebSock.onerror: [object Event] (websock.js, line 267)
[Warning] WebSocket on-error event (rfb.js, line 604)
[Debug] << WebSock.onerror: [object Event] (websock.js, line 269)
[Debug] >> WebSock.onclose (websock.js, line 261)
[Debug] WebSocket on-close event (rfb.js, line 567)
[Error] Failed when connecting: Connection closed (code: 1006)
error
_fail (rfb.js:828)
_socketClose (rfb.js:578)
_socketClose
(función anónima) (websock.js:262)
[Debug] New state 'disconnecting', was 'connecting'. (rfb.js, line 777)
[Debug] >> RFB.disconnect (rfb.js, line 523)
[Debug] >> Keyboard.allKeysUp (keyboard.js, line 240)
[Debug] << Keyboard.allKeysUp (keyboard.js, line 244)
[Debug] << RFB.disconnect (rfb.js, line 552)
[Debug] New state 'disconnected', was 'disconnecting'. (rfb.js, line 777)
[Debug] Clearing disconnect timer (rfb.js, line 780)
[Debug] << WebSock.onclose (websock.js, line 263)
[Debug] >> Keyboard.allKeysUp (keyboard.js, line 240)
[Debug] << Keyboard.allKeysUp (keyboard.js, line 244)
Checking the headers and comparing them with the noVNC that comes built into iDrac itself I see that it forces the protocol:
Sec-WebSocket-Protocol: lws-dvc-protocol
Can anyone tell me how I can force the protocol or if you have any other idea?
Best regards