我正在使用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 ', description = 执行协商协议时通道关闭
如何解决上述错误?