Open jpeach opened 4 years ago
Further upstream triage; we were configuring an IPv6 address literal for a STRICT_DNS
cluster. Envoy documents this as requiring a socket address with hostname rather than an address. The fact that using an IPv4 address here works in practice is probably just luck.
So we could close this as "behaves correctly", or loosen the rules to accept an address literal.
This issue was fixed in v1.23, so it can be closed.
Envoy fails to parse a URL generated by resolving the xDS server name to an IPv6 address:
The URL should be
tcp://[2001:db8:10a:c751::ffff:42ba]:8001
, which is parsed byUtility::parseInternetAddressAndPort()
.It is likely that the caller is using
Utility::portFromTcpUrl()
, which doesn't call the full parser. This seems like a related but distinct problem.A brief grep looks like there are a few places that could generate URLs of this form:
Relevant Links:
Reported in https://github.com/projectcontour/contour/issues/2354
The contour issue contains the full bootstrap config, but the relevant part is most likely the cluster that points to the xDS server: