文章詳情頁
java - GRPC服務(wù)不穩(wěn)定
瀏覽:121日期: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: 拒絕連接:
調(diào)用遠(yuǎn)程服務(wù) GRPC不定期報異常
請問是什么情況???
問題解答
回答1:每次new了stub 建立了過多的連接 沒有復(fù)用 導(dǎo)致錯誤改為static 問題解決
標(biāo)簽:
java
相關(guān)文章:
1. javascript - 關(guān)于圣杯布局的一點疑惑2. angular.js - angular2 有什么cool的loading組件么?3. Python 子類能否覆蓋全局函數(shù)?4. python - django models 為生成的html元素添加樣式。5. javascript - 深夜被問題困擾求解惑,rn的API之PermissionsAndroidd的問題6. html5 - Chrome訪問本地文件緩慢7. dockerfile - [docker build image失敗- npm install]8. Python異常退出時保存進(jìn)度?9. javascript - 根據(jù)不同數(shù)據(jù)顯示不同內(nèi)容10. css - input間的間距和文字上下居中
排行榜

熱門標(biāo)簽
網(wǎng)公網(wǎng)安備