其他分享
首页 > 其他分享> > Grpc.Core.RpcException: Status(StatusCode=DeadlineExceeded, Detail="Deadline Exceeded")

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

标签:Status,Core,www,Grpc,Detail,asynchronous,https,com,operations
来源: https://www.cnblogs.com/liuqiyun/p/15479189.html