Replies: 1 comment
-
|
UPD: proposed PR was merged and released in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Problem
Vector's
no_proxyhandling does not match subdomains when a plain domain (without leading dot) is specified. This is due to the upstream no-proxy crate (v0.3.6) which Vector uses forNO_PROXYevaluation.When
NO_PROXY=apps.example.comis set:elasticsearch.apps.example.comgoes through the proxyUsers must use
.apps.example.com(with leading dot) as a workaround.Root cause
The no-proxy crate's
NoProxyItem::Plainvariant does exact string match only:Self::Plain(source) => source == value,Vector's documentation is also incorrect
In lib/vector-core/src/config/proxy.rs lines 83-84:
Fix
Proposed a fix for the no-proxy crate: jdrouet/no-proxy#12
Vector Config
No response
Vector Logs
No response
Beta Was this translation helpful? Give feedback.
All reactions