VMware Cloud Community
fixedg
Contributor
Contributor
Jump to solution

vSphere unable to connect to ESXI 5...

ERROR - "vSphere Client could not connect to (IP/Server) An unknown connection error occurred. (The request failed because of the connection failure. (Unable to connect to the remote server)) ..."

All has been running fine for several months BUT now unable to connect to esxi 5 with vsphere client.

from DCUI

-network passes Test Management Network

-Management Network restarted

-Management Agents restarted.

Worried about restarting  esxi host in case I am still unable to connect with vsphere to launch vm (sbs 2011 currently running with rdp access) 

Help...?

Reply
0 Kudos
1 Solution

Accepted Solutions
homerzzz
Hot Shot
Hot Shot
Jump to solution

Can you ssh to the esxi host and verify hostd and vpxa are running?

/etc/init.d/hostd status

/etc/init.d/vpxa status

View solution in original post

Reply
0 Kudos
5 Replies
homerzzz
Hot Shot
Hot Shot
Jump to solution

Any changes in the environment? Any firewalls between the client and the host? Make sure ports 443 and 902 are not blocked.

Just to clarify, are you attempting to connect directly to the ESXi host or to vCenter? If you are trying to connect to vCenter, restart the VirtualCenter services.

Have you tried loading the client on another machine?

Reply
0 Kudos
fixedg
Contributor
Contributor
Jump to solution

homerzzz - thanks for the response.

No changes to network, I had both network and remote vSphere access direct to ESXi host (not vCenter) up until a week ago.

Checked ports 443 and 902 and not blocked.

vSphere loaded on two other Win7 PC's - still no luck.

Also tried VMware® Workstation 12 Pro "connect to remote server" - still no luck.

I can ping the host but cannot browse or connect with vSphere.  only have DCUI access.

Reply
0 Kudos
homerzzz
Hot Shot
Hot Shot
Jump to solution

Can you ssh to the esxi host and verify hostd and vpxa are running?

/etc/init.d/hostd status

/etc/init.d/vpxa status

Reply
0 Kudos
chay2263
Enthusiast
Enthusiast
Jump to solution

Could it be that your SSL certs are giving you an issue? You can try to regenerate them by following this:

Generate New Certificates for ESXi

  

You typically generate new certificates only if you change the host name or accidentally delete the certificate. Under certain circumstances, you might be required to force the host to generate new certificates.

1

Log in to the ESXi Shell and acquire root privileges.

2

In the directory /etc/vmware/ssl, back up any existing certificates by renaming them using the following commands.

mv rui.crt orig.rui.crt mv rui.key orig.rui.key

Note

If you are regenerating certificates because you have deleted them, this step is unnecessary.

3

Run the command /sbin/generate-certificates to generate new certificates.

4

Restart the host after you install the new certificate.

Alternatively, you can put the host into maintenance mode, install the new certificate, and then use the Direct Console User Interface (DCUI) to restart the management agents.

5

Confirm that the host successfully generated new certificates by using the following command and comparing the time stamps of the new certificate files with orig.rui.crt and orig.rui.key.

ls -la
Chestin Hay vExpert;VCIX6-NV,VCP6-DCV;VCP6-NV,VCP6-CMA https://www.letsv4real.com https://www.twitter.com/letsv4real
Reply
0 Kudos
fixedg
Contributor
Contributor
Jump to solution

sincere thanks homerzzz.

/etc/init.d/hostd restart

/etc/init.d/vpxa restart


sorted the problem.

Reply
0 Kudos