VI Client Open Console Attempt Fails
I ran into an issue today with the open console command from the VI Client. I was already connected to a stand alone ESX3.5 host. I had just finished creating a new VM, configuring the virtual CD to use the OS install media .iso, and I had powered on the new virtual machine. When I right clicked on the VM and selected “open console” I got the following error message:
“error connecting: can not connect to host x.x.x.x: a connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.”
Once again the VMware Communities forum came to the rescue.
VMware Communities: Getting error when opening console … is a thread that was started back in April 2006 but has it’s most recent reply (as of this writing) from May 2008. It turns out that this problem has been an issue starting with ESX3.0 and has continued across several ESX versions. It is basically unexplained. There does not seem to be a solid understanding of what conditions cause this problem. There are replies from users who have experienced the issue whether connected to an ESX host or to VirtualCenter. There is a resolution that makes it go away, however.
To fix the problem add the following line to the /etc/vmware/config file:
vmauthd.server.alwaysProxy = “TRUE”
I used nano from the Service Console to add the line to the file, and the problem instantly went away. I did not even have to restart any services. The steps for using nano to change this file are:
- type #nano /etc/vmware/config
- Add the line to the end of the file
- Press ctrl+x to save the changes
- enter “yes” when prompted
- hit enter to overwrite the file with the same file name
updated 09.10.08 - John Troyer hosted a “Ask the VMTN Communities Experts” podcast that I submitted this issue as a topic for discussion. John posted a summary of the discussion on his VMTN blog. Listen to the podcast, but here is a copy of John’s summary:
- The most likely possibility was this: The OS on which the VIC resides must be able to resolve not only the VC server but also each ESX Server. If they can not resolve via name the ESX servers you get this message. This is regardless of whether VC can resolve the name. However, proxying fixes this problem. Another fix is to add the information to the static hosts file.
- However, a guest on the call had the same problem, and fixed it by disconnecting the ESX server from VC cluster, restarting the agent on ESX server, and then reconnecting.
Related Posts
Tags: esx, esx3.5, how to, hp, issues, serviceconsole, vi client, vmware



June 3rd, 2008 at 4:08 am
had an issue like this a while ago, but unfortunately the above mentioned solution did not work. still looking for a solution.
June 22nd, 2008 at 11:47 am
This solution worked great for me:
VMware Infrastructure Client Version 2.5.0
June 23rd, 2008 at 10:00 pm
This worked perfectly. Thank you so so much!!
June 23rd, 2008 at 11:44 pm
Big wave, Nate,
Glad to hear it worked, and thanks for confirming the resolution with your comments.
Duncan,
It’s curious that there is still an unexplained scenario where this doesn’t work. Maybe one day “the missing link” that causes it will be discovered.
June 25th, 2008 at 1:27 pm
Hey man, this worked for me as well. You just saved me a lot of time!
July 8th, 2008 at 6:28 am
Superb !! This worked perfectly for me.
It saved a whole lot of my time.
July 8th, 2008 at 6:50 am
Eric, Viral,
Thanks for the confirmations! Good to know VM /ETC helped saved you guys some time on such a frustrating issue.
July 20th, 2008 at 9:52 pm
Worked great for me on ESX 3.5 w/out Update 1. Thanks!
August 20th, 2008 at 5:39 pm
Unfortunately the line “vmauthd.server.alwaysProxy = “TRUE””
has already been in my etc/vmware/config file… so adding it was not necessary. (using esxi 3.5 update 2)
any other suggestions?
August 29th, 2008 at 11:36 pm
I am running ESX 2.5 and this fixed my problem. Thank-you.
September 10th, 2008 at 12:28 pm
Hi.. thanks alot… fixed my issue as well..
December 16th, 2008 at 12:23 pm
Does anyone ever have the issue where that line added to the /etc/vmware/config goes away after rebooting? For some reason that seems to be happening to us. I’ve saved the file, but after reboot the line I added is gone.