--- a/nova/console/websocketproxy.py
+++ b/nova/console/websocketproxy.py
@@ -118,10 +120,11 @@ class NovaProxyRequestHandlerBase(object):
if expected_origin_hostname != origin_hostname: detail = _("Origin header does not match this host.") raise exception.ValidationError(detail=detail)
- if not self.verify_origin_proto(connect_info['console_type'],
- origin.scheme):
- detail = _("Origin header protocol does not match this host.")
- raise exception.ValidationError(detail=detail)
+ # mzoeller: bug https://bugs.launchpad.net/horizon/+bug/1434611
+ #if not self.verify_origin_proto(connect_info['console_type'],
+ # origin.scheme):
+ # detail = _("Origin header protocol does not match this host.")
+ # raise exception.ValidationError(detail=detail)
A workaround can be:
--- a/nova/ console/ websocketproxy. py console/ websocketproxy. py tHandlerBase( object) : origin_ hostname != origin_hostname:
detail = _("Origin header does not match this host.")
raise exception. ValidationError (detail= detail) origin_ proto(connect_ info['console_ type'], ValidationError (detail= detail) /bugs.launchpad .net/horizon/ +bug/1434611 origin_ proto(connect_ info['console_ type'], ValidationError (detail= detail)
+++ b/nova/
@@ -118,10 +120,11 @@ class NovaProxyReques
if expected_
- if not self.verify_
- origin.scheme):
- detail = _("Origin header protocol does not match this host.")
- raise exception.
+ # mzoeller: bug https:/
+ #if not self.verify_
+ # origin.scheme):
+ # detail = _("Origin header protocol does not match this host.")
+ # raise exception.
host = connect_