You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2026-07-17 07:33:17.467][1][warning][config] [source/extensions/config_subscription/grpc/grpc_subscription_impl.cc:138] gRPC config for type.googleapis.com/envoy.config.listener.v3.Listener rejected: Error adding/updating listener(s) gateway-system/default-external-gateway/https: error adding listener '0.0.0.0:10443': filter chain 'EmptyCluster' has the same matching rules defined as 'gateway-system/default-external-gateway/https'. duplicate matcher is: {}
The environment:
EnvoyGateway v1.8.2
Envoy v1.38.3
K8S v1.35.0
hi @arkodg , I'd like to work on this issue if it's available.
From the discussion, it looks like the duplicate filter chain is caused by the shared EmptyCluster TCP route for passthrough TLS listeners, which conflicts with the HTTPS listener on the same port.
I'll investigate the translator logic around the shared TCP route and the suggestion to generate unique SNI matches for passthrough listeners to avoid duplicate filter chain matchers. If the proposed direction still makes sense, I'll work on a fix and open a PR.
Please let me know if anyone is already working on this.
Hi @arkodg ! I investigated the regression and found that the sharedEmptyTCPRoute optimization is causing the duplicate filter chain behavior. I also tried simply removing the shared route, but that breaks the existing tcp-multiple-tls-passthrough-no-routes regression test by creating multiple EmptyCluster filter chains.
From your suggestion ("undo the shared TCP route change and add an SNI to each route to make it unique"), I'm unsure where the SNI should come from for synthetic empty routes. In the current tree, ir.TCPListener doesn't appear to carry hostname/SNI information, so processTCPListenerXdsTranslation() doesn't have anything to populate TLSInspectorConfig.SNIs with.
Am I looking at the right approach, or is there another change (for example, propagating listener hostnames into the TCP IR) that I should make first?
Activity
arkodg commentedon Jul 19, 2026
we probably need to undo the shared TCP route change in
gateway/internal/xds/translator/translator.go
Line 864 in 3c50bdd
Aditya7880900936 commentedon Jul 23, 2026
hi @arkodg , I'd like to work on this issue if it's available.
From the discussion, it looks like the duplicate filter chain is caused by the shared
EmptyClusterTCP route for passthrough TLS listeners, which conflicts with the HTTPS listener on the same port.I'll investigate the translator logic around the shared TCP route and the suggestion to generate unique SNI matches for passthrough listeners to avoid duplicate filter chain matchers. If the proposed direction still makes sense, I'll work on a fix and open a PR.
Please let me know if anyone is already working on this.
Aditya7880900936 commentedon Jul 24, 2026
Hi @arkodg ! I investigated the regression and found that the
sharedEmptyTCPRouteoptimization is causing the duplicate filter chain behavior. I also tried simply removing the shared route, but that breaks the existingtcp-multiple-tls-passthrough-no-routesregression test by creating multipleEmptyClusterfilter chains.From your suggestion ("undo the shared TCP route change and add an SNI to each route to make it unique"), I'm unsure where the SNI should come from for synthetic empty routes. In the current tree,
ir.TCPListenerdoesn't appear to carry hostname/SNI information, soprocessTCPListenerXdsTranslation()doesn't have anything to populateTLSInspectorConfig.SNIswith.Am I looking at the right approach, or is there another change (for example, propagating listener hostnames into the TCP IR) that I should make first?
arkodg commentedon Jul 26, 2026
there's an existing PR working on this already #9342 (comment)
4 remaining items
fix(translator): match SNI on every TCP filter chain (#10011)
[release-1.8] cherrypick for v1.8.5 (#10126)
[release-1.9] cherrypick for v1.9.2 (#10128)