Support Article
Requests are not sent to nonProxyHosts system despite setting it
SA-62560
Summary
When setting the JVM settings to support proxy, Pega sends requests to a proxy despite configuring the host in the nonProxyHosts system property.
Error Messages
Not Applicable.
Steps to Reproduce
Set the following System properties to support proxy and non-proxy requests:
- Dhttp.proxySet=true
- Dhttp.proxyServer=[ipaddress]
- Dhttp.proxyPort=[portnumber]
- Dhttps.proxySet=true
- Dhttps.proxyServer=[ipaddress]
- Dhttps.proxyPort=[portnumber]
- Dhttp.nonProxyHosts="[string of host names and ip addresses delimited by pipe]"
The traffic is redirected to a proxy server after the settings and system restart. However, all requests go to the proxy server.
Root Cause
A third-party product issue: Limitation with IBM Websphere.
Resolution
Here's the explanation of the reported behavior:
The use of host names in http.nonProxyHosts or https.nonProxyHosts would not work because the target IP (IBM Websphere) address was used to determine non-proxy hosts.
Published August 24, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.