novnc console to instances fail with "Failed to connect to server (code: 1006)"
Issue
- We are using
sslforhorizon. After updatingnovapackage to version2014-2.3-36, we are unable to access console of any instance. It fails with below error:
Failed to connect to server (code: 1006)
- From logs:
2015-11-26 17:21:08.757 30491 INFO nova.console.websocketproxy [req-75729d6d-5638-47a5-a2f0-dcbbecc611f0 None] handler exception: Origin header protocol does not match this host.
2015-11-26 17:21:08.761 30491 INFO nova.console.websocketproxy [req-75729d6d-5638-47a5-a2f0-dcbbecc611f0 None] Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 711, in top_new_client
self.new_client()
File "/usr/lib/python2.7/site-packages/nova/console/websocketproxy.py", line 180, in new_client
self.new_websocket_client()
File "/usr/lib/python2.7/site-packages/nova/console/websocketproxy.py", line 111, in new_websocket_client
raise exception.ValidationError(detail=detail)
ValidationError: Origin header protocol does not match this host.
Environment
- Red Hat Open Stack
- nova version 2014-2.3-36
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
