文章详情页
java - GRPC服务不稳定
浏览:132日期:2023-11-07 11:16:26
问题描述
io.grpc.StatusRuntimeException: UNKNOWN: Exception calling application: <_Rendezvous of RPC that terminated with (StatusCode.UNAVAILABLE, Endpoint read failed)>
RPC failed: Status{code=UNAVAILABLE, description=null, cause=java.net.ConnectException: 拒绝连接:
调用远程服务 GRPC不定期报异常
请问是什么情况???
问题解答
回答1:每次new了stub 建立了过多的连接 没有复用 导致错误改为static 问题解决
标签:
java
相关文章:
排行榜

网公网安备