How do I configure openstack novnc proxy to use SSL/TLS to access instances consoles ?

Solution Verified - Updated -

Issue

  • I want to access openstack instances vnc console using SSL/TLS
  • Suddenly access to consoles stops working
  • I get the following error when I manually execute nova-vnc-proxy in debug mode

     30: 87.124.34.97: new handler Process
     30: handler exception: WSRequestHandler instance has no attribute 'last_code'
     30: Traceback (most recent call last):
      File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 696, in top_new_client
        self.client = self.do_handshake(startsock, address)
      File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 628, in do_handshake
        if wsh.last_code == 101:
    AttributeError: WSRequestHandler instance has no attribute 'last_code'
    

Environment

  • Red Hat Openstack Platform 4
  • Red Hat Openstack Platform 5
  • Red Hat Openstack Platform 6
  • Red Hat Openstack Platform 7
  • Red Hat Openstack Platform 8

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