Skip to content

Instantly share code, notes, and snippets.

@ksingh7
Last active January 7, 2022 11:09
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ksingh7/4c19a10c75a9eab9bd80 to your computer and use it in GitHub Desktop.
Save ksingh7/4c19a10c75a9eab9bd80 to your computer and use it in GitHub Desktop.
Failed to connect to server (code 1006) openstack VNC
Problem : Unable to connect to Openstack instance console using VNC using openstack Horizon
Error Message : Failed to connect to server (code 1006)
Environnment : OpenStack RDO Juno , CentOS7
Solution: You need to update vncserver_proxyclient_address with the openstack controller IP address OR novavncproxy_base_url IP address as shown below
[root@os-node1 ~(keystone_admin)]# cat /etc/nova/nova.conf | grep -v "#" | grep -i vnc
novncproxy_host=0.0.0.0
novncproxy_port=6080
novncproxy_base_url=https://192.168.1.111:6080/vnc_auto.html
vncserver_listen=0.0.0.0
vncserver_proxyclient_address=192.168.1.111
vnc_enabled=True
vnc_keymap=en-us
[root@os-node1 ~(keystone_admin)]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment