VMware Cloud Community
Sam30
Enthusiast
Enthusiast

vSphere5.1 Web client not working as the URL is with wrong name

We upgraded our vSphere from 5.0 to 5.1 seems like somewhere in the mid not sure for what reason it took a wrong URL while resgitering.

Now when I'm opening the webclient it's giving me the error as

Could not connect to one or more vCenter Server Systems:

"https://domain1.com.au:443/sdk"

I know the reason, it's coz my vCenter host name is actually "domain2.com.au" & not "domain1.com.au".

Now where do I need to make changes to get my webclient working & connect to my vCenter server i.e. domain2.com.au

Screenshot:-

image_thumb.png

I've already updated the below attributes with correct server named URL's but it still isn't working. Any help?

  1. Navigate to Administration > vCenter Server Settings... > Advanced Settings.
  2. Update these attributes with the correct FQDN for vCenter Server:

    VirtualCenter.VimApiUrl : https://<vCenter Server FQDN>:443/sdk
    VirtualCenter.VimWebServiceUrl : https://<vCenter ServerFQDN>:8443/vws
3 Replies
a_nut_in
Expert
Expert

Hey Sam,

You might have to re-register the WebClient to the SSO with the correct URL

http://kb.vmware.com/kb/2033620

Regards

a

Do remember to mark my post as "helpful" or "correct" if I've helped resolve or answer your query!
0 Kudos
gbeloin
Contributor
Contributor

For the record I've fixed this problem after an upgrade from 5.0 to 5.5. The web client wasn't working but the windows client did.

The error message was:

Could not connect to one or more vCenter Server Systems:

"https://domain.com:443/sdk‌"

The address should have been the FQDN of the vCenter host.

Turn out in the upgrade process one question was misleading and you could input the user domain (domain.local) instead of the FQDN.

To fix it you have to change this value in advanced properties of vcenter.

1-Change the value of VirtualCenter.FQDN to the FQDN if wrong. VirtualCenter.validate host name of VirtualCenter.VimApiUrl

2-Open a command prompt on the vcenter server and run this command to get a listing of service:

     SET JAVA_HOME=C:\Program Files\Common Files\VMware\VMware vCenter Server - Java Components

     C:\Program Files\VMware\Infrastructure\VMware\CIS\vmware-sso>ssolscli.cmd listServices https://vcenter.domain.local:7444/lookupservice/sdk

There should be a service with serviceName=vCenterService (mine was Service 4) where the endpoints=https://domain.com:443/sdk‌. We will have to change that.

3-Edit this file with the correct FQDN:

     C:\Program Files\VMware\Infrastructure\VirtualCenter Server\ssoregtool\vcsso.properties

4-Run this command to update the service info :

C:\Program Files\VMware\Infrastructure\VirtualCenter Server\ssoregtool>regtool updateService -d https://vcenter.domain.local:7444/lookupservice/sdk -ip "C:\Program Files\VMware\Infrastructure\VirtualCenter Server\ssoregtool\vcsso.properties" -u administrator@vsphere.local -p [Password] -si "C:\ProgramData\VMware\VMwareVirtualCenter\LS_ServiceID.prop"

vmnewbie78
Contributor
Contributor

Awesome! worked flawlessly. Thank you!

0 Kudos