When trying to access virtual machine using web access you get “Cannot access virtual machine console, the request timed out”
As many of my customers are still on VMware ESX4 & not yet upgraded to ESX4U1, I get many complains about virtual machine console timeout error from web access for non administrator users. Yeah, I have already pushed an upgrade recommendation, but as usual most companies take more time approving the change request than to carry out the change. If you have VMware ESX4U1 & you are facing a problem & hit this page, then please ignore this post as this bug was fixed in update 1. If you want to read the VMware KB on this issue you should check out:
Accessing the console of a Windows virtual machine through Web Access in ESX 4.0 times out
Problem Symptoms:
When accessing the console of a Windows virtual machine through Web Access in ESX 4.0 you get the following time out error:
“Cannot access virtual machine console. The request timed out.” an image snapshot of the error is below:
The above symptom is the common one I have always seen, but as per VMware KB there are many other symptoms that other customers had as below:
- You cannot open the console of a Windows virtual machine through vSphere Client Web Access.
- Opening the console of a Windows virtual machine through vSphere Web Access times out.
- Closing and reopening vCenter client does not fix problem.
- You see one or more of the following errors:
-
- The attempt to acquire a valid session ticket for <virtual machine> took longer than expected.
- Cannot access virtual machine console. The request timed out.
Resolution:
The easiest & best resolution for this problem is to upgrade to ESX 4U1, else if that is not possible you will need to follow up the work around below as documented per VMware KB:
In VMware ESX 4 & prior to ESX 4U1 Users must have Windows Administrator privileges to access a virtual machine’s console. If you do not have Windows Administrator privileges, opening a virtual machine console times out. You can perform other functions and operations if you have vCenter Server administrator privileges, but you cannot open a virtual machine console. To grant appropriate Windows permissions on your vCenter server to resolve this issue:
- Log into the vCenter server with a user with Administrative privileges.
- Click Start > Run, type compmgmt.msc, and click OK.
- Temporarily place the user in the Local Administrators group.
- Place a shortcut for that particular virtual machine on the desktop:
- Return to vCenter Server and revert the changes to the user account.
- Access the console of the virtual machine through the shortcut on the desktop.
Note: if after adding the user to the windows local administrator group he still can not access the console, restart the vCenter services & if that did not work then you might go as far as restarting vCenter.
I hope this article help many of you resolve the above problem as quickly as possible, as seeing the error caused by the issue you can not tell much about the error source. Please leave your feedback in the command area below.






April 8th, 2010 at 4:35 am
I was fighting the following bug for days:
The attempt to acquire a valid session ticket for took longer than expected.
This workaround did the job. Thanks heaps. From readng the forums, it looks like a problem with Firefox 3.6 and there’s no sign of a fix on the way. Again, nice one!
April 9th, 2010 at 12:51 pm
Hi Peter,
I am glad that helped you, though you should consider upgrading your environment to VMware ESX 4U1 as it fix many other bugs as well.
Enjoy,
Eiad
June 22nd, 2010 at 5:16 pm
There is one tool, which can also help.
http://labs.vmware.com/flings/vgc
June 23rd, 2010 at 8:20 am
Hi Uttam,
Thanks for the tip.
Enjoy,
Eiad
July 13th, 2010 at 11:43 pm
Thanks a lot. Really work for me.
July 17th, 2010 at 5:34 am
Hi Kent,
You are welcome. I am glad it helped
.
Enjoy,
Eiad
July 29th, 2010 at 9:01 pm
there some bugs in the web access in 2.0.2 i guess. i had problems with accessing guest desktops with FF plugin (also with cache cleared and using a clean profile with no extensions like script/flash blocking etc.) i had also the same problem on IE.
after trying all day i finally downgraded to 2.0.1 and all problems are gone. i don’t know what bugs are removed in 2.0.1 but surely some web-access-bugs exist in 2.0.2
August 4th, 2010 at 8:06 am
Hi Newsgrabber,
Thanks for sharing with us, although I am not aware of it.
Enjoy,
Eiad