Hi
i just struggled with this error for a few hours but wondering why isn't the documentation easier to address this issue?
the allowUnexpectedHost parametter did not work for me as everyone like to say.
my horizon architecture consist of 3 connection servers and a loadbalancer (fortinet)
What worked for me is editing the file
C:\Program Files\VMware\VMware View\Server\sslgateway\conf\locked.properties
On every connection server :
just add or create a new file (in our config there wasn't this file)
portalHost.1 = YOUR_CONNECTIONSERVER HOSTNAME
portalHost.2 = YOUR_CONNECTIONSERVER FQDN
portalHost.3 = YOUR_CONNECTIONSERVER IPADDRESS
portalHost.4 = YOUR_LOADBALANCER HOSTNAME
portalHost.5 = YOUR_LOADBALANCER FQDN
portalHost.6 = YOUR_LOADBALANCER IPADDRESS
Save & Restart Connexionserver service , wait until the other services are started and wait for tomcat process to stop freezing the cpu.
Retry the connection
Enjoy!