VMware vSphere Client Cannot Connect

Solution 1:

This error troubled me for quite a while, and since this thread is still the first google result, here is my solution.

It is quite simple actually, just "Restart the Management agents". As mentioned by VMWare knowledge base all you have to do is run:

/etc/init.d/hostd restart
/etc/init.d/vpxa restart

from shell.

Solution 2:

Test the network by pointing your web browser at the address of the server. It should give you a web page and a link to download the client and a link to login to the Web UI.

If the page displays correctly then login to the web ui to test your logon/pw


Solution 3:

If vSphere client is installed to Windows XP or 2003 then it could be a known problem with ciphers. A solution described here and here boils down to

  1. Enabling SSH access from ESXi console:
    F2 → Troubleshooting Options → Enable SSH

  2. From SSH session edit /etc/vmware/rhttpproxy/config.xml and insert <cipherList>ALL</cipherList> into /config/vmacore/ssl section.

  3. /etc/init.d/rhttpproxy restart

This helped me to access _VMware ESXi 6.0.0 from vSphere Client 6.0.0 on Windows XP.


Solution 4:

I realize I'm coming back to this question much later than when it was posted, but I had forgotten that I posted this question and when I saw it, I wanted to share the solution with others.

It turned out the problem was my monitoring solution of all things. I had a check setup for the system to check the https page for the host every 5 minutes which for some reason would eventually cause the system to respond to everything, to the point where vSphere clients couldn't even connect anymore.

I disabled this check (relying instead on pings) and this problem hasn't returned for almost a year now.

I'm guessing there is a security setting somewhere under the hood of ESXi 4.x that tells the system to stop responding after a specified number of requests, but I wasn't able to locate that.

When the issue would start occurring, the VMs would stay up, however you couldn't connect to anything at the hypervisor level until completely rebooting the system (even restarting the management services would not fix it).

I tried updating to the most recent versions of ESXi but that did not resolve the issue.

Tags:

Vmware Esxi