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