java.lang.IllegalArgumentException: Jetty ALPN/NPN has not been properly configured

后端 未结 5 2012
鱼传尺愫
鱼传尺愫 2021-01-21 05:05

Getting java.lang.IllegalArgumentException: Jetty ALPN/NPN has not been properly configured, while using gRPC(google pub/sub) to publish/consumes messa

5条回答
  •  庸人自扰
    2021-01-21 05:20

    Try adding a runtime dependency on netty-tcnative-boringssl-static. See gRPC's SECURITY.md. Note that the version of netty-tcnative necessary changes over time; you should look at the version of the document for a particular release (e.g., this is for 1.2.0).

提交回复
热议问题