JAVA SDK调用发生异常,connect execution error : io.grpc.StatusRuntimeException: INTERNAL: Encountered end-of-stream mid-frame
【问题分类】
- bug
- P2P网络相关(包含libp2p,liquid)
- 链账户身份与权限相关(证书问题、public、多签投票问题)
- 核心交易引擎相关(交易池、DAG)
- 共识相关
- 智能合约相关
- 存储相关
- SDK相关
- 长安链CMC工具
- 长安链管理台
- 长安链浏览器
- 长安链合约IDE
- 长安链web签名插件
- 跨链相关
- 轻节点相关
- 隐私计算相关
- 密码学相关
- 环境依赖
- 其他补充:
【问题描述】
进行调用时发生异常 connect execution error : io.grpc.StatusRuntimeException: INTERNAL: Encountered end-of-stream mid-frame
,之前没有出现过,突然出现了这个异常,之后再调用SDK还是报错。JAVA工程重启后恢复正常。
【相关日志】
org.chainmaker.sdk.ChainClient : connect execution error:
java.util.concurrent.ExecutionException: io.grpc.StatusRuntimeException: INTERNAL: Encountered end-of-stream mid-frame
at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:592)
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:467)
at org.chainmaker.sdk.ChainClient.sendTxRequest(ChainClient.java:2788)
at org.chainmaker.sdk.ChainClient.sendRequest(ChainClient.java:3211)
at org.chainmaker.sdk.ChainClient.sendContractRequest(ChainClient.java:3174)
...
Caused by: io.grpc.StatusRuntimeException: INTERNAL: Encountered end-of-stream mid-frame
at io.grpc.Status.asRuntimeException(Status.java:533)
at io.grpc.stub.ClientCalls$UnaryStreamToFuture.onClose(ClientCalls.java:538)
at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:574)
at io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:72)
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInternal(ClientCallImpl.java:742)
at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:723)
at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
... 1 common frames omitted
【系统信息】(请填写系统信息,方便定位问题)
- chainmaker-go version: [v3.0.0]
- OS & version: Centos7.9
- JAVA SDK version: 2.3.2
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information