Fix WebSocket connection error in VNC

- Remove wsProtocols: ['binary'] setting that was causing reserved bits error
- WebSocket extension negotiation was failing with 'reserved3 = 1'
- Use default WebSocket protocol negotiation instead
parent cd53f8c1
...@@ -343,8 +343,7 @@ function connect() { ...@@ -343,8 +343,7 @@ function connect() {
rfb = new RFB(document.getElementById('noVNC_screen'), wsUrl, { rfb = new RFB(document.getElementById('noVNC_screen'), wsUrl, {
credentials: {}, credentials: {},
shared: true, shared: true,
repeaterID: '', repeaterID: ''
wsProtocols: ['binary']
}); });
rfb.addEventListener('connect', () => { rfb.addEventListener('connect', () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment