kanaka/noVNC — Issue #107: Not connecting with Chrome 16.0.912.59 beta on OS X 10.7.2
Author: kostecky
Created: 2011-12-03 17:06:55+00:00
State: open

Hi,

I'm trying to connect to a websockify with Chrome 16.0.912.59 beta on OS X 10.7.2. It works in Safari and FF.

I'm getting the following error from websockify:

{< 25: 127.0.0.1:5902: Target closed
25: handler exception: 'module' object has no attribute 'unpack_from'
25: Traceback (most recent call last):
File "/root/kanaka-noVNC-06a9ef0/utils/websocket.py", line 755, in top_new_client
self.new_client()
File "/usr/local/noVNC/utils/wsproxy.py", line 152, in new_client
self.do_proxy(tsock)
File "/usr/local/noVNC/utils/wsproxy.py", line 208, in do_proxy
bufs, closed = self.recv_frames()
File "/root/kanaka-noVNC-06a9ef0/utils/websocket.py", line 478, in recv_frames
frame = self.decode_hybi(buf, base64=self.base64)
File "/root/kanaka-noVNC-06a9ef0/utils/websocket.py", line 309, in decode_hybi
b1, b2 = struct.unpack_from(">BB", buf)
AttributeError: 'module' object has no attribute 'unpack_from'

26: Got SIGCHLD, reaping zombies
26: Reaped child process 13233
26: Ignoring interrupted syscall

My console.log shows:

util.js:71New state 'loaded', was 'disconnected'. Msg: noVNC ready: native WebSockets, canvas rendering
util.js:71New state 'connect', was 'loaded'.
util.js:71New state 'ProtocolVersion', was 'connect'. Msg: Starting VNC handshake
util.js:71New state 'Security', was 'ProtocolVersion'. Msg: Sent ProtocolVersion: 003.008
util.js:72New state 'failed', was 'Security'. Msg: Server disconnected
util.js:71New state 'failed', was 'failed'.