Grpc.Core.RpcException: Status(StatusCode=DeadlineExceeded, Detail="Deadline Exceeded")


Grpc.Core.RpcException: Status(StatusCode=DeadlineExceeded, Detail="Deadline Exceeded")
   at ZJCX.GRPC.Connect.GRPCConnector.CheckIsRetryException(Exception ex, Int32 retryTimes, Boolean isRetry, ActiveChannelEntry entry)

 

解決方案

It turned out, the problem was on server side with deadlocks because of asynchronous operations.

The solution is described here

configureAwait(false) on asynchronous operations solved the problem then.

 

參考:

https://www.it1352.com/1944757.html

https://olitee.com/2015/01/c-async-await-common-deadlock-scenario/

https://www.cnblogs.com/zzqvq/p/10252746.html


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM