Web Connections Fail With "Unable to Connect to Web Proxy" Error
When attempting to connect to web targets through PrivX, the error "Unable to connect to Web Proxy" is shown. This usually indicates a problem with the PrivX Web Proxy service or its configuration.
Potential Solution
To resolve this issue, ensure the PrivX Web Proxy service is running and the configuration is valid.
Confirm the service is active:
sudo systemctl status privx-web-proxy
If it is not running, restart the service:
sudo systemctl restart privx-web-proxy
Also on the Web Proxy host, ensure the setting
privx_rdp_proxy_enabled = true
is present in/opt/privx/etc/web-proxy-config.toml
On the PrivX servers, ensure the RDP proxy configuration file
/opt/privx/etc/rdp-proxy.toml
containsweb_proxy_enabled = true
Using the PrivX GUI, navigate to Administration→Web Access Gateways to confirm network accessibility:
- Verify the Web Proxy address is configured correctly -- prefer using an IP address instead of an FQDN, when possible
- Ensure that the address is reachable by the Docker container running on the Carrier host (using default ports:
18080
,18443
, and18444
)
Log files may contain more detailed information that can help pinpoint the root cause of the failure:
- On the Web Proxy host, check logs at
/var/log/privx/web-proxy.log
- On the PrivX servers, check logs at
/var/log/messages