Sorry, there isn't enough context in your question to be able to help. On Wednesday, July 19, 2023 at 7:02:46 AM UTC+2 fish d wrote:
> Grpc.Core.RpcException: Status(StatusCode="DeadlineExceeded", Detail="") > at > Grpc.ClientLoggingInterceptor.HandleResponse[TRequest,TResponse](ClientInterceptorContext`2 > > context, Task`1 inner) > at Grpc.DataCenter.DataCenterHeartBeatProvider.SendHeartBeatAsync() > at > Grpc.HostedServices.GrpcHeartBeatHostedService.ExecuteAsync(CancellationToken > stoppingToken) at > Grpc.ClientLoggingInterceptor.HandleResponse[TRequest,TResponse](ClientInterceptorContext`2 > > context, Task`1 inner) > at Grpc.Data.HeartBeatProvider.SendHeartBeatAsync() > at > Grpc.HostedServices.GrpcHeartBeatHostedService.ExecuteAsync(CancellationToken > stoppingToken) System.Private.CoreLib > > 在2023年7月19日星期三 UTC+8 12:44:42<余志健> 写道: > >> this error always sometimes,when restart pod,it resoved >> use grpc.client.factory version(2.55.0),code is >> services >> .AddGrpcClient<TClient>(factoryOptions => >> { >> factoryOptions.Address = new uri("") >> }) >> .ConfigureChannel(Channel); >> >> Channel(IServiceProvider serviceProvider, GrpcChannelOptions >> channelOptions) >> { >> channelOptions.Credentials = ChannelCredentials.Insecure; >> #if NET6_0_OR_GREATER >> channelOptions.ServiceConfig = new ServiceConfig >> { >> LoadBalancingConfigs = >> { >> new RoundRobinConfig() >> } >> }; >> channelOptions.HttpHandler = new SocketsHttpHandler() >> { >> EnableMultipleHttp2Connections = true, >> SslOptions = new SslClientAuthenticationOptions >> { >> // Leave certs unvalidated for debugging >> RemoteCertificateValidationCallback = delegate { return >> true; } >> } >> }; >> > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/a2afb89b-ee17-4b83-aafa-b226ccbc56aan%40googlegroups.com.