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

原文地址:https://www.cnblogs.com/liuqiyun/p/15479189.html