In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces you how to solve the problem of error message io.grpc.StatusRuntimeException: UNKNOWN, the content is very detailed, interested friends can refer to, hope to be helpful to you.
1. Simplified version error message 2019-06-20 21 Retry sending XXX due to failureio.grpc.StatusRuntimeException 44 Retry sending XXX due to failureio.grpc.StatusRuntimeException [http-nio-8003-exec-32] ERROR o.a.s.s.o.c.grpc.LoadBalancedClusterMessageSender: UNKNOWN at io.grpc.stub.ClientCalls.toStatusRuntimeException (ClientCalls.java:222) at io.grpc.stub.ClientCalls.getUnchecked (ClientCalls.java:203) at io.grpc.stub.ClientCalls.blockingUnaryCall (ClientCalls.java:132) at org. Apache....contract.grpc.TxEventServiceGrpc$TxEventServiceBlockingStub.onTxEvent (TxEventServiceGrpc.java:435)... two。 Error influence
Once this error occurs, the entire service is paralyzed and no requests can be processed.
3. Analysis.
3.1 the client maintains a multiplexed long connection with the server, and it is reasonable that the failure of a certain request will not affect the whole.
3.2 is the long connection hung up? Check the code of the communication office on the client and server, and find that some of the new interfaces are not strictly written, as follows:
/ / business code. ResponseObserver.onNext (GrpcAck.newBuilder (). SetAborted (false). Build ()); responseObserver.onCompleted ()
The reason is that an exception is thrown before the server responds, resulting in the error.
Solution: the server needs to respond regardless of whether it is abnormal or not, that is, finally.
3.3 I also wondered whether it would be related to timeout, but it was not scientific, because it was a long connection, and this problem occurred in our concurrency test only about 10 minutes.
This is the end of the question about how to solve the error message io.grpc.StatusRuntimeException: UNKNOWN. I hope the above content can be helpful to you and learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.