You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Stephan Wagner (Jira)" <ji...@apache.org> on 2022/10/04 12:33:00 UTC

[jira] [Created] (AMQ-9102) HTTP Proxy Exclusions are not applied to ActiveMQ Connections

Stephan Wagner created AMQ-9102:
-----------------------------------

             Summary: HTTP Proxy Exclusions are not applied to ActiveMQ Connections
                 Key: AMQ-9102
                 URL: https://issues.apache.org/jira/browse/AMQ-9102
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.16.3
            Reporter: Stephan Wagner


In [this commit|https://github.com/apache/activemq/commit/1ced34a383c5e3910c582fd3bfd720a8f6fcde32] basic HTTP-Proxy support using the default properties was added to ActiveMQ, however the implementation does not account for the [exclusion list in property "http.nonProxyHosts"|https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html], which leads to issues in environments that use a system proxy, but exclude certain targets from proxy usage.

Given the implementation in {{HttpTransportSupport}} (in particular {{{}getProxyHost(){}}}) and {{HttpClientTransport}} (in particular creation of the HTTP Client) there is no way to use ActiveMQ in a mixed non-proxy/proxy environment.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)