netty-transport-native-epoll和netty-tcnative-boringssl-static之间的配置

时间:2018-07-15 01:17:30

标签: netty epoll grpc-java boringssl

我正在使用具有以下角色的grpc 1.13.1作为连接器进行服务: -处理来自应用程序的请求(作为服务器端) -在通过其他服务(作为客户端)转发之后,对请求进行分类。

在通过域网关调用其他服务的连接器之间,nginx使用ssl

在以下情况下遇到的问题冲突:

  • 服务器端使用lib:

    <dependency>
        <groupId> io.netty </ groupId>
        <artifactId> netty-transport-native-epoll </ artifactId>
        <version> 4.1.17.Final </ version>
        <classifier> linux-x86_64 </ classifier>
    </ dependency>
    
  • 客户端使用ssl lib

    <dependency>
        <groupId> io.netty </ groupId>
        <artifactId> netty-tcnative-boringssl-static </ artifactId>
        <version> 2.0.7.Final </ version>
    </ dependency>
    

,错误是

  

code = UNAVAILABLE',说明=执行协商协议时通道已关闭

如何解决上述错误?

0 个答案:

没有答案