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
{{ message }}
Repository navigation
HTTPS listeners reference non-existent RouteConfigurations when HTTP listener shares same container port #10170
When HTTP listener and HTTPS listeners end up on the same Envoy container port and the HTTP listener comes first, the HTTPS filter chains reference RouteConfigurations that are never generated.
Route config that actually gets created is looked up via findXdsHTTPRouteConfigName(), which returns the name used by the HCM in the default_filter_chain. This lookup exists for plain HTTP listeners sharing the default filter chain, yet it is applied to TLS listeners too. As a result, virtual hosts of the HTTPS listeners are added to the HTTP listener's RouteConfiguration, and the route configs their HCMs point to dont exist.
Expected: each HTTPS listener gets its own RouteConfiguration, matching the name its HCM references.
Repro steps:
Create a Gateway with 3 listeners, in order:
HTTP on port 10443
HTTPS on port 443, hostname a.example.com
HTTPS on port 443, hostname b.example.com
Attach HTTPRoute to each listener.
Inspect the generated xDS
Port 443 is shifted to container port 10443, so all three listeners are merged into one xDS listener. No conflict is reported.
Suggested fix: skip the findXdsHTTPRouteConfigName() lookup for TLS listeners, since a TLS listener always has its own filter chain and route config. It's probably handy for other cases as well and for readability also.
Activity
stillya commentedon Oct 2, 2026
fix is really straightforward, so I made it before your approve :)
fix(translator): use own route config name for TLS listeners sharing …
fix(translator): use own route config name for TLS listeners sharing …
[release-1.9] cherrypick for v1.9.3 (#10383)
fix(translator): use own route config name for TLS listeners sharing …
[release-1.8] cherry pick for v1.8.6 (#10389)