Project

General

Profile

Actions

Bug #17727

closed

"Failed to connect to server" - VNC Console not working with VMware 6.5

Added by Peter Pakos over 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Compute resources - VMware
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I have Foreman 1.13.2 running on CentOS 7.3 which I normally access via Google Chrome 55 on OSX 10.12.2.

Everything seems to be OK apart from the VNC Console functionality to VMware ESXi 6.5 host. When trying to connect I get "Failed to connect to server" error.

It worked fine with ESXi 6.0u2. I'm not sure what changed but it no longer works with the newest version of ESXi.

I have Foreman's CA cert added to Keychain.

VNC rule is enabled in ESXi's firewall:

[root@esxi01:~] cat /etc/vmware/firewall/vnc.xml
<ConfigRoot>
<service id='0032'>
 <id>VNC</id>
 <rule id = '0000'>
  <direction>inbound</direction>
  <protocol>tcp</protocol>
  <porttype>dst</porttype>
  <port>
   <begin>5901</begin>
   <end>5964</end>
  </port>
 </rule>
 <enabled>true</enabled>
</service>
</ConfigRoot>

[root@esxi01:~] esxcli network firewall ruleset list | grep VNC
VNC                          true

Related issues 2 (1 open1 closed)

Related to Foreman - Feature #20649: Support VMWare WebMKS ConsoleNew08/18/2017Actions
Related to Foreman - Feature #22062: Support VMWare VMRC ConsoleClosed12/22/2017Actions
Actions

Also available in: Atom PDF