novnc console to instances fail with "Failed to connect to server (code: 1006)"

Solution In Progress - Updated -

Issue

  • We are using ssl for horizon. After updating nova package to version 2014-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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content