kanaka/noVNC — Issue #110: IE9/Firefox8 Browser Issues
Author: mightypenguin
Created: 2011-12-08 19:46:20+00:00
State: open

Couldn't get sefl signed SSL working with websocket at all until I used --cert AND --key.
Using just --key websockify would say SSL was supported, but I couldn't connect.
./websockify --key=/etc/httpd/ssl/httpd.key --cert=/etc/httpd/ssl/httpd.pem 10000 10.100.100.2:5900

Firefox v8.0.1 SSL Broken
Running the main site from https or http makes no difference (same certs used).
I cannot get Firefox to connect with encrypt=1.
Also (just for documentation sake) Firefox won't connect to unencrypted websocket if page was loaded in https.

e.g. https with encrypt=0
---------------------------
Error: uncaught exception: [Exception... "Security error" code: "1000" nsresult: "0x805303e8 (NS_ERROR_DOM_SECURITY_ERR)" location: "https:///noVNC/include/websock.js Line: 264"]
--------------------------

e.g. (http with encrypt=1) OR (https with encrypt=1)
--------------------------
Error: Firefox can't establish a connection to the server at wss://:12148/.
Source File: http:///noVNC/include/websock.js
Line: 264
--------------------------
Also noVNC status bar at top shows "WebSock error: [object Event]"

Websocket (http with encrypt=1) OR (https with encrypt=1):
-------------------------
1: handler exception: [Errno 1] _ssl.c:499: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca
-------------------------

Chrome v15 connects just fine any combination of encrypted/not.

IE9.0.8112.1642
Won't connect encrypted or not. Guessing this is from the new flash v11 I'm using?
Using the developer tools I've tried all the "Browser Mode"s and none work.
-------------------------------
HTML1115: X-UA-Compatible META tag ('chrome=1') ignored because document mode is already finalized.

Data URI scheme cursor not supported
Using web-socket-js bridge. Flash version: 11
New state 'loaded', was 'disconnected'. Msg: noVNC ready: WebSockets emulation, canvas rendering
New state 'connect', was 'loaded'.
New state 'failed', was 'connect'. Msg: Connect timeout
Received onclose while disconnected
New state 'failed', was 'failed'.
-------------------------------

From Websocket: (my X's) (weird behavior doesn't seem to show this every time I refresh the vnc_auto page to reconnect)
-------------------------------
1: XX.XX.XX.XX: Sending flash policy response
2: XX.XX.XX.XX: ignoring empty handshake
-------------------------------

Any more data I can get for you?