Connections using HTML5 Gateway sometimes fail when using Azure Load Balancer
181
Created On 11/12/26 15:36 PM - Last Modified 11/12/26 17:06 PM
Symptom
- When a user uses the HTML5 gateway to connect via Idira Connectors behind an Azure or AWS Load Balancer, the connection sometimes fails.
- This applies regardless of whether the HTML5 gateway connection is routed via Secure Infrastructure Access or Secure Tunnel
- Connections using an RDP file work reliably
Environment
N/A Privilege Cloud PSM;Privileged Session Management (PSM);Privilege Cloud Connector;Secure Tunnel;Secure Tunnel Client;DPA for RDP
- The Account being used to connect is configured to use an Azure or AWS Load Balancer frontend as its Privileged Session Manager (PSM)
- Access to that load balancer frontend is delivered through Secure Tunnels or SIA connectors which are running on the same servers as PSM
- Those PSM servers are in the same load balancer's backend server pool
The diagram below shows the potential connection flows from the HTML5 gateway to the PSM servers in this configuration.
Cause
Azure Load Balancer does not support connections to its frontend from systems in its backend pool because the source and destination addresses are the same. The diagram below shows the connection flows that will fail.
This is also true of AWS load balancer when Client IP Preservation is enabled.
This issue is described in the following articles:
- Azure: https://learn.microsoft.com/en-us/troubleshoot/azure/load-balancer/troubleshoot-backend-traffic-responses/vms-no-response-traffic#cause-4-the-data-port-is-accessing-the-internet-load-balancer-frontend-from-the-participating-load-balancer-backend-pool-vm
- AWS: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-troubleshooting.html#loopback-timeout
Resolution
- Transition use cases to SIA (via HTML5 if preferred) from PSM
- If there are remaining PSM use cases:
- For AWS: Disable Client IP Preservation
- For Azure:
- Option 1: Install the Secure Tunnel or SIA connectors on servers separate from the PSM service as shown in the diagram below
-
-
- Option 2: Use a different load balancer
- Option 3: Insert a proxy between the secure tunnel clients/SIA connectors and the Azure Load Balancer
-