Symptoms
Users do not want the PNAgent Client to utilize the browser proxy settings on the workstation. For example: They are using an internal Web server.
Users who want to use a proxy with the 6.30.1050 PNAgent need to explicitly add Proxytype=Auto to the Template.ica file to have the PNAgent use a proxy.
See
Automatic Proxy Detection Fails with NFuse Classic 1.7.
Cause
The PNAgent actually uses two different proxy configurations.
- 1. The Wfica32.exe engine, Web Client, gets its proxy configuration for the ICA stream from the .ini file parameters downloaded from NFuse.
2. When reading the config/enum pages from the NFuse server by HTTP, PNAgent uses wininet (Internet Explorer) proxy settings.
This is the behavior of ICA Client Versions 1050 and greater.
To maintain compatibility with existing .ini files, the default for the ICA stream when the ProxyType parameter is omitted is Direct. However, the default for the PNAgent is to use the wininet configuration. Therefore, if a proxy server is configured, it is used to contact the NFuse Web server. However, there are two ways to override this.
Resolution
1. The most flexible way is to utilize the proxy bypass list feature or Wininet/IE. That way, the NFuse servers behind proxies can be accessed as well as those that can be connected to directly. If a .pac script or .ins file is being used to centrally mange the proxy settings, it is fairly easy to deploy the change.
- A. For .pac scripts, simply add cases for the NFuse Web servers so that Direct is always returned. This works even for direct NFuse server accesses by a Web browser.
B. For .ins file deployments, you can use the .pac file or you can set the proxy bypass list directly by IEAK. Also, you can always manually adjust the Proxy Bypass list in Internet Explorer.
2. The other way to avoid a configured proxy is to force PNAgent to connect directly for ALL Web server connections. Add the registry value ProxyBypass with a non-zero REG_DWORD value to either one of the following keys:
- • HKLM\Software\Citrix\Program Neighborhood Agent
• HKCU\Software\Citrix\Program Neighborhood Agent
This mechanism is not as flexible because it requires a registry change on the client, but it may be acceptable for the client who always wants to avoid proxies when connecting to NFuse from PNAgent
Source
CTX101658 - Changing the Proxy Settings with the PNAgent client.