Linkerd Docker image fails to use BoringSSL on Linux
See original GitHub issueAs initially reported on Discourse, proxying H2 TLS connections with the the linkerd:latest
Docker image fails with the message “JDK provider does not support NPN_AND_ALPN protocol”. This message appears to indicate that BoringSSL is not being used and Linkerd is falling back to the JDK-provided SSL implementation.
Curiously, this issue only seems to exist when the Docker image is run from a Linux host – I originally attempted to reproduce the issue on macOS and everything worked fine. After trying the same configuration on Linux in GCE, I was able to reproduce the issue.
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
Linkerd h2 router rejects requests from go client - Help
I'm using the linkerd:latest image and go 1.8. ... Hmmmm… based on that error message it seems like boringssl is not being used...
Read more >Arnar Páll Arnarsson (@ArnarPall) / Twitter
Initial work for introducing openssl/boringssl as a TLS provider by arnarpall · Pull ... Firecracker VMs but with a Docker container developer experience!...
Read more >Awesome Rust Overview
If you want to contribute, please read this. Table of contents. Applications. Audio and Music; Cryptocurrencies; Database; Emulators; Games; Graphics; Image ...
Read more >GigaOm Radar for Service Meshv2.0 - Webflow
Cloud service provider (CSP): Providers delivering on-demand, pay-per-use services ... microservice containers managed by Amazon Elastic Container Services ...
Read more >HashiCorp Consul – Index - Wilson Mar
Use this to learn about basic CLI commands, starting/stopping the Agent, API calls, GUI menus using a single server within a Docker image....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
suspect ?
https://github.com/twitter/finagle/blob/develop/finagle-netty4/src/main/scala/com/twitter/finagle/netty4/ssl/client/Netty4ClientEngineFactory.scala#L60
https://github.com/linkerd/linkerd/blob/master/finagle/buoyant/src/main/scala/com/twitter/finagle/buoyant/TlsClientConfig.scala#L21
error is coming from netty’s
JdkSslContext.java
because it only supportsALPN
andNPN
, notNPN_AND_ALPN
: https://github.com/netty/netty/blob/4.1/handler/src/main/java/io/netty/handler/ssl/JdkSslContext.java#L312looks like finagle sets this protocol explicitly: https://github.com/twitter/finagle/blob/develop/finagle-netty4/src/main/scala/com/twitter/finagle/netty4/ssl/Netty4SslConfigurations.scala#L73