VMware Cloud Community
Ramuageli
Contributor
Contributor

vCloud Director 9.7 Appliance Disconnected

Hi All

I'm having an issue on my new environment where the console says disconnected immediately after launching it, below is the screenshot from the developer tools .

if someone can please help.

when I look at the global.properties, I see both console and https are using the same IP and i see Postgres is using the other IP .

I thought eth0 was for https and eth1 was for the console ?

pastedImage_0.png

Regards

Rendani

0 Kudos
3 Replies
igosutan1
Contributor
Contributor

Check out your "console.proxy" log from /opt/vmware/vcloud-director/logs

I believe your SSL cert for the proxy isnt correct. you are most likely will see SSL handshake failure in the log

0 Kudos
ZibiM
Enthusiast
Enthusiast

Hello

Are you using multiple cells and have some kind of load balancing / reverse proxy in front ?

Just for your information - we had the same issue a while ago.

We fixed this with using the same SSL cert for all our cells

Generally this is related to the fact that vCD now provides 2 services at the same IP, but with bit different characteristics

vCD portal service is the standard https, and the load balancing can be configured with SSL termination

vCD console proxy is bit more tricky - this is supposedly TCP raw socket connection.

Please google further the topic of vCloud Director load balancer console proxy, for example:

https://blah.cloud/cloud/vcloud-director-console-proxy-ui-single-ip/

0 Kudos
igosutan1
Contributor
Contributor

Hi ,

How did it go? has the issue been resolved?

As I said earlier, check the console proxy log to begin with.

If it is showing SSL handshake failure, then it has to be an issue of incorrect SSL certificate being used.

Use the following command to list the key of stored SSL cert in the vcloud keystore:

/opt/vmware/vcloud-director/jre/bin/keytool –storetype JCEKS –keystore /opt/vmware/vcloud-director/certificates.ks -list

The key for 'http' and 'consoleproxy' must be the same.

0 Kudos