grpc: Grpc.Core.RpcException: Status(StatusCode=Unavailable, Detail="OS Error")
What version of gRPC and what language are you using?
We recently(yesterday) upgraded to 1.10.0 from 1.9.0 and using aspnetcore 2.0 on google app engine fle
What operating system (Linux, Windows, …) and version?
Google APP Engine Flex for aspnet core
What runtime / compiler are you using (e.g. python version or version of gcc)
aspnetcore
What did you do?
If possible, provide a recipe for reproducing the error. Try being specific and include code snippets if helpful. You may check the thread here too but yesterday after upgraded to 1.10.0 we started seeing a new grpc error as mentioned above
What did you expect to see?
i expected the errors to go away after upgrading to 1.10.0
What did you see instead?
Grpc.Core.RpcException: Status(StatusCode=Unavailable, Detail="OS Error")
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
Grpc.Core.RpcException: Status(StatusCode=Unavailable, Detail="OS Error")
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification
at Grpc.Core.Internal.AsyncCall`2.UnaryCall
at Grpc.Core.DefaultCallInvoker.BlockingUnaryCall[TRequest,TResponse]
at Grpc.Core.Interceptors.InterceptingCallInvoker.<BlockingUnaryCall>b__3_0[TRequest,TResponse]
at Grpc.Core.ClientBase.ClientBaseConfiguration.ClientBaseConfigurationInterceptor.BlockingUnaryCall[TRequest,TResponse]
at Grpc.Core.Interceptors.InterceptingCallInvoker.BlockingUnaryCall[TRequest,TResponse]
at Google.Cloud.Datastore.V1.Datastore.DatastoreClient.RunQuery
at Google.Api.Gax.Grpc.ApiCall.<>c__DisplayClass0_0`2.<Create>b__1
at Google.Api.Gax.Grpc.ApiCallRetryExtensions.<>c__DisplayClass1_0`2.<WithRetry>b__0
at Google.Cloud.Datastore.V1.QueryStreamer.<Sync>d__7.MoveNext
at System.Collections.Generic.List`1.AddEnumerable
at System.Linq.Enumerable.ToList[TSource]
at Google.Cloud.Datastore.V1.LazyDatastoreQuery.GetAllResults
Anything else we should know about your project / environment?
please check the screenshot
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 4
- Comments: 18 (6 by maintainers)
We are experiencing this error intermittently using .NET Core 2.2.4 & Docker
@ubercow if Azure Load Balancer is closing your connection, what behavior would you expect besides the RPC failing? (there is an ongoing effort for automatic retries, but it’s not ready yet, so for now you need to retry yourself). To keep the connection alive, you might be able to configure keepalive options: e.g. https://github.com/grpc/grpc/blob/f4ce5fc2510c342adc86afa41a9354d9956a9092/include/grpc/impl/codegen/grpc_types.h#L229 but I don’t know enought about Azure Load Balancer to be able to say if that’s going to help.