文章详情页
java - GRPC服务不稳定
问题描述
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
相关文章:
1. 求助一个Android控件名称2. 执行composer require mews/captcha报错Your requirements3. python - 请问django的orm能否独立拿出来使用?例如在非web程序中使用4. angular.js - ui-router 为毛不起作用5. angular.js - angularjs的ocLazyLoad问题6. node.js通过module.exprots返回的是promise对象而非data?7. angular.js - 如何在指令里使用ng-click8. javascript - Node.js中输出顺序为什么和预期的不一样呢?9. Mysql 数据库 被使用中了 怎么 能修复啊10. 视频中的default举例用法个人感觉有点不太合适
排行榜