-
Bug
-
Resolution: Done
-
Major
-
7.10.1.GA
-
None
-
KIE Server with Proxy enabled and using Business Central embedded maven repository configured with nonProxyHosts.
-
False
-
False
-
-
-
-
-
-
ER1
-
+
-
Undefined
-
-
-
2021 Week 16-18 (from Apr 19), 2021 Week 19-21 (from May 10), 2021 Week 22-24 (from May 31)
The App former embedded is overriding the proxy setting for the configured repositories forcing proxy to be used, if defined for all configured repositories, even if the nonProxyHosts is set configured to ignore proxy for a specific repository.
Proxy settings:
<proxy>
<id>genproxy</id>
<active>true</active>
<protocol>http</protocol>
<host>192.168.1.104</host>
<port>3128</port>
<nonProxyHosts>172.30.*|10.*|192.168.1.13|insecure-myapp-rhdmcentr-test-proxy.*</nonProxyHosts>
</proxy>
Logs from KIE Server when resolving/downloading the artifact
[org.eclipse.aether.internal.impl.DefaultTransporterProvider] (DefaultMetadataResolver-0-1) Using transporter HttpTransporter with priority 5.0 for http://172.30.248.146:8080/maven2/14:56:16,409 DEBUG [org.eclipse.aether.internal.impl.DefaultRepositoryConnectorProvider] (DefaultMetadataResolver-0-1) Using connector BasicRepositoryConnector with priority 0.0 for http://172.30.248.146:8080/maven2/ with username=adminUser, password=*** via 192.168.1.104:3128
[org.eclipse.aether.internal.impl.DefaultRepositoryConnectorProvider] (DefaultMetadataResolver-0-0) Using connector BasicRepositoryConnector with priority 0.0 for http://172.30.248.146:8080/maven2/ with username=adminUser, password=***
Notice that, one request goes through proxy while the other don't.
Can be checked as well on the proxy access log:
1619796875.686 2 192.168.1.109 TCP_MISS/200 634 GET http://172.30.248.146:8080/maven2/mortgage-process/mortgage-process/1.0.0-SNAPSHOT/maven-metadata.xml.sha1 - HIER_DIRECT/192.168.1.13 application/octet-stream
1619796876.483 825 192.168.1.109 TCP_TUNNEL/200 4979 CONNECT repository.jboss.org:443 - HIER_DIRECT/209.132.182.97 -
1619796876.484 827 192.168.1.109 TCP_TUNNEL/200 3906 CONNECT repository.jboss.org:443 - HIER_DIRECT/209.132.182.97 -
- causes
-
RHPAM-3856 business central can't start when wildcard host is set to nonProxyHosts in settings.xml after applying fix of RHPAM-3638
-
- Closed
-