Hi All, wanted to check someone has faced this issue before and can help us. We are trying to exempt multiple URLs to go via proxy using no_proxy config paramter in proxy.yaml.
However it works for one host i.e. we can only exempt one host from going via proxy.
Below configuration is expected to exempt both host1 and host2 from going via proxy, however it doesnt exempt any of them. Connections to both of them are going via proxy URL only.
no_proxy: <host1>|<host2>
When we define only one host1 in the no_proxy parameter, it works fine for one host1 entry.
Generally, the issue here is that different applications parse this field differently. Some, like Java that runs the connectors, want a | character as the delimiter between hosts. Others like CURL wants a , character instead. Generally, the setting is meant specifically for connectors to contact sources that are not behind the Proxy and thus is focused on making it work for Java and the connectors running inside the JVM. I would focus testing on the connectors instead of using CURL to verify, if that is going on.
Thank you for your reply @alex_derzhi . Yes we figured this out that the no_proxy setting is meant for target systems or authoritative sources with connectors. Another finding we had - this setting is case sensitive,