VMware Cloud Community
shameerpp
Contributor
Contributor

vSphere Web client not connecting vcenter server 6.7

Hi,

I have an issue in vCenter server 6.7 for windows. Problem was I couldn't access vCenter through vSphere web client, when I tried to login the attached error screen is appeared. This happens after restarting windows server 2016 in which vCenter is installed. So I restart all the windows services related to VMware. But it didn't help.

I go through many KB articles and do the recommended actions, but my problem not get solved. I check the certificates and all are valid until 2030. so what will be the real cause of the problem?

Regards,

 Shameer

0 Kudos
2 Replies
Ajay1988
Expert
Expert

Looks like your vpxd service was down and trying to fix it , you removed the actual vpxd registration entry by following https://kb.vmware.com/s/article/2050273

Please revert the snapshot if you have one before attempting changes and then check which services are impacted. Do a service-control --start --all and see which services fail . I believe only vpxd is down; so you can check vpxd logs .

If you think your queries have been answered
Mark this response as "Correct" or "Helpful".

Regards,
AJ
0 Kudos
shameerpp
Contributor
Contributor

Hi Ajay,

Thanks for your kind reply. However I already concluded issue was with vpxd service issue. Find below service-control command output

c:\Program Files\VMware\vCenter Server\bin>service-control --start --all
Operation not cancellable. Please wait for it to finish...
Performing start operation on service vmware-cis-config...
Successfully started service vmware-cis-config
Performing start operation on service VMWareAfdService...
Successfully started service VMWareAfdService
Performing start operation on service VMWareDirectoryService...
Successfully started service VMWareDirectoryService
Performing start operation on service VMWareCertificateService...
Successfully started service VMWareCertificateService
Performing start operation on service VMwareIdentityMgmtService...
Successfully started service VMwareIdentityMgmtService
Performing start operation on service VMwareSTS...
Successfully started service VMwareSTS
Performing start operation on service VMwareDNSService...
Successfully started service VMwareDNSService
Performing start operation on profile: ALL...
Service-control failed. Error: Failed to start services in profile ALL. RC=4, stderr=Failed to start vpxd services. Error: A system error occurred. Check logs for details

I check the vpxd-svcs.log, where it shows warning message as WARN com.vmware.cis.server.util.VpxdClient opId=] Cannot handle exception during retry: com.vmware.vim.vmomi.client.exception.ConnectionException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8085 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect

when I check port 8085 and PID, it was assigned to java.exe application, however after some time port became free.

other than there's nothing wrong showing in the vpxd-svcs.log file (I attached it)

Also all the certificates have valid date until 2030

Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.

PS C:\windows\system32> $VCInstallHome = [System.Environment]::ExpandEnvironmentVariables("%VMWARE_CIS_HOME%");foreach (
$STORE in & "$VCInstallHome\vmafdd\vecs-cli" store list){Write-host STORE: $STORE;& "$VCInstallHome\vmafdd\vecs-cli" ent
ry list --store $STORE --text | findstr /C:"Alias" /C:"Not After"}
STORE: MACHINE_SSL_CERT
Alias : __MACHINE_CERT
Not After : Oct 27 12:38:56 2030 GMT
STORE: TRUSTED_ROOTS
Alias : cf9f35b78ae0dd6c51ff0c4a50df66dd715af4ae
Not After : Oct 27 12:38:56 2030 GMT
STORE: TRUSTED_ROOT_CRLS
Alias : 402c68fd9b721709032743b3ca44adf526ea8bf7
STORE: machine
Alias : machine
Not After : Oct 27 12:38:56 2030 GMT
STORE: vsphere-webclient
Alias : vsphere-webclient
Not After : Oct 27 12:38:56 2030 GMT
STORE: vpxd
Alias : vpxd
Not After : Oct 27 12:38:56 2030 GMT
STORE: vpxd-extension
Alias : vpxd-extension
Not After : Oct 27 12:38:56 2030 GMT
STORE: data-encipherment
Alias : data-encipherment
Not After : Oct 27 12:38:56 2030 GMT
STORE: SMS
Alias : sms_self_signed
Not After : Nov 1 11:50:02 2030 GMT
PS C:\windows\system32>

 

Now only option left for me is to restore previous vcenter vm backup or reinstall fresh vcenter server.

If you any other suggestions, kindly let me know.

Regards,

   Shameer

 

0 Kudos