Dedicated novnc proxy server

asked 2015-04-20 15:06:52 -0500

Steve gravatar image

updated 2015-04-20 15:30:40 -0500

I set up a dedicated novnc proxy server. When I configured it as http, it worked fine. But when I changed it to https, there is error "Failed to connect to server (code: 1006)".

I installed package nova-novncproxy on the dedicated novnc proxy server, icehouse.

How to install the dedicated novnc proxy server oveer ssl?

Below is the nova-novncproxy.log:

72: Reaping zombies, active child count is 0 72: 10.1.1.20: new handler Process 72: handler exception: WSRequestHandler instance has no attribute 'last_code' 72: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/websockify/websocket.py", line 699, in top_new_client self.client = self.do_handshake(startsock, address) File "/usr/lib/python2.7/dist-packages/websockify/websocket.py", line 628, in do_handshake if wsh.last_code == 101: AttributeError: WSRequestHandler instance has no attribute 'last_code'

73: Reaping zombies, active child count is 0 73: 10.1.1.20: new handler Process 73: 10.1.1.20: "GET /vnc_auto.html?token=45a86f4c-e04c-445b-ad62-3a0de4351cea&title=102(52190c39-4a65-48a2-ae33-32fb75502c58) HTTP/1.1" 200 - 74: Reaping zombies, active child count is 0 74: 10.1.1.20: new handler Process 74: handler exception: WSRequestHandler instance has no attribute 'last_code' 74: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/websockify/websocket.py", line 699, in top_new_client self.client = self.do_handshake(startsock, address) File "/usr/lib/python2.7/dist-packages/websockify/websocket.py", line 628, in do_handshake if wsh.last_code == 101: AttributeError: WSRequestHandler instance has no attribute 'last_code'

75: Reaping zombies, active child count is 0 75: 10.1.1.20: new handler Process 75: 10.1.1.20: SSL/TLS (wss://) WebSocket connection 75: 10.1.1.20: Version hybi-13, base64: 'True' 75: 10.1.1.20: Path: '/websockify' 75: handler exception: Origin header protocol does not match this host. 75: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/websockify/websocket.py", line 714, in top_new_client self.new_client() File "/usr/lib/python2.7/dist-packages/nova/console/websocketproxy.py", line 101, in new_client raise exception.ValidationError(detail=detail) ValidationError: Origin header protocol does not match this host.

76: Reaping zombies, active child count is 0

edit retag flag offensive close merge delete