VMware Horizon Community
VitalityLabs
Contributor
Contributor

How do I set checkOrigin=false on Horizon View Direct Connection?

I have a reverse proxy that is redirecting domains to the corresponding Windows 10 Horizon View HTML Access Direct Connection vms. The reverse proxy is listening on ports 80, 443, and 22443 and directing the corresponding traffic to the desired virtual machine running view direct connection.

When visiting the pages, I get this error: "failed to connect to the connection server"

I think this has to do with the vm not expecting the origin,

Is it possible to create a locked.properties and set checkOrigin=false somewhere in the windows 10 horizon view direct connection?

Is it possible to set the expected origin?

Is this stored in the registry somewhere perhaps?

Thank you

Reply
0 Kudos
2 Replies
techguy129
Expert
Expert

I recommend looking at the official documentation about setting up HTML access. Based on your error I am guessing you didn't install the view-agent install with the skip broker registration switch.

This is all found in the official documentation here:

Setting Up HTML Access

Reply
0 Kudos
VitalityLabs
Contributor
Contributor

That wasn't the issue, it looks like I am not setting up the websockets properly with the reverse proxy.

The vms are perfectly accessible if accessed internally without going through NGINX, or a single vm can be accessible from outside if the ports are forwarded in the router to the vm directly.

Reply
0 Kudos