...
A Client Error message will appear as you fail to connect to a horizon desktop:"VDPCONNECT_GATEWAY_TIMEOUT: The connection to the remote computer encountered a gateway timeout. The gateway could not reach the agent or its connection to the agent was refused because the protocol service is not running or the protocol service port is blocked by a firewall. If the issue persists, please contact your system administrator." Horizon Client logs and Horizon MKS logs, with the latest cross-platform client release, contain a keyword Blast_Connect_Failure_Alert to aid in expedited failure diagnosis.Log Location: Location of Horizon (VDM) log files (1027744) vmware-mks-<pid>.log 2023-02-24T20:36:32.445Z In(05) blastSocket [BlastSocketClient] BlastSocketClientConnectFailureAlert: Could not connect to Desktop. 2023-02-24T20:36:32.445Z In(05)+ blastSocket Blast_Connect_Failure_Alert: Reason: VDPCONNECT_GATEWAY_TIMEOUT (40) 2023-02-24T20:36:32.445Z In(05)+ blastSocket Blast_Connect_Failure_Alert: host: X.X.X.X port: 8443 httpProxy:null fqdn:uag 2023-02-24T20:36:32.445Z In(05)+ blastSocket Blast_Connect_Failure_Alert: error: 6 detailed: 0 httpStatus: 504 ClientContext:1B868520AA0 vmware-horizon-viewclient-<nnn>.txt 2023-02-24T12:36:32.446-08:00 WARN (01) [libsdk] : RMKSWindow::OnConnectionStateChanged:2352: Blast_Connect_Failure_Alert: (16E52D101B0) disconnected with VDPCONNECT_GATEWAY_TIMEOUT error: 'VDPCONNECT_GATEWAY_TIMEOUT: The connection to the remote computer encountered a gateway timeout. The gateway could not reach the agent or its connection to the agent was refused because the protocol service is not running or the protocol service port is blocked by a firewall. If the issue persists, please contact your system administrator.'.
VDPCONNECT_GATEWAY_TIMEOUT id typically encountered when the Blast Secure Gateway (BSG ) encounters a response where it cannot find the route to the host or it encounters a lack of availability of service. Typically a received ICMP host/port unreachable or TCP RST when attempting to connect to the agent.
Ensure all basic connectivity checks are performed between the components involved: Horizon Client & agent machine and any devices in its path. Make sure that the hostnames and IP addresses are correct and can be resolved properly.Ensure any global proxy settings are correct and all appropriate ports are open. For the latest Ports guidance please refer to Horizon - Ports and Protocols. - Focus on ensuring the path from the device where your BSG is configured has access to the agent machine and this traffic is correctly routed internally.Ensure that an appropriate client-accessible external URL is configured for the BSG. If you have your environment configured to support a direct connection, you can isolate the behaviour by testing without the BSG set. Broker: Configure the Blast Secure Gateway UAG: Configure Horizon SettingsOur Techzone Resources on Understand and Troubleshoot Horizon Connections and Network Ports in Horizon offer greater detail than the brief summary below and are also excellent reference material to ensure stakeholders can be dialed in quickly.
This is a child article of Enhanced Horizon Blast Error Codes with Horizon Client 2303 and Later (91013)