connect native to a sidecar proxy fails with "Failed ALPN negotiation: Unable to find compatible protocol" #11907
Labels
theme/connect
Anything related to Consul Connect, Service Mesh, Side Car Proxies
theme/envoy/xds
Related to Envoy support
type/question
Not an "enhancement" or "bug". Please post on discuss.hashicorp
The sidecar proxy returns null/empty
applicationProtocol
during the TLS negotiation.applicationProtocol
.DownstreamTlsContext.CommonTlsContext.alpn_protocols
for the public listener to addh2
as the application protocol using this consul configuration parameter however this didn't work for the following reasons:Reason - 1: My configuration is not reflected in the envoy configuration. I assume this because consul overwrites it by the Connect TLS certificates as per this documentation
Reason - 2: Even if I override the public listener configuration, which I don't know how yet:), I can't find a way how to get the dynamic port value that proxy gets in
listener.address.socket_address.port_value
when it is created without overriding.Java stack trace
Consul version
v1.11.1
Envoy version
74c221751138e5add71e0738d40092434b76a7cf/1.13.4/Modified/RELEASE/BoringSSL
Nomad version
Nomad v1.2.3 (a79efc8422082c4790046c3f5ad92c542592a54f)
Please advise how I can configure the sidecar proxy (the envoy proxy) via consul to advertise the application protocol h2 to let the TLS negotiation succeed.
The text was updated successfully, but these errors were encountered: