Hi gRPC experts, I have a Client Streaming gRPC (C# client, C# server) set up, and I ran into an issue where about 20% of requests would fail to complete. On the client, the error was DEADLINE_EXCEEDED, but on the server, our injected gRPC logger was seeing the following warnings. The server was successfully fulfilling the request - it just couldn't send a reply back to the client.
[gRPC Warning] Exception while handling RPC. System.InvalidOperationException: Operation is not valid due to the current state of the object. at Grpc.Core.Internal.AsyncCallServer`2.SendStatusFromServerAsync(Status status, Metadata trailers, Tuple`2 optionalWrite) at Grpc.Core.Internal.ClientStreamingServerCallHandler`2.<HandleCall>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Grpc.Core.Server.<HandleCallAsync>d__39.MoveNext() I re-deployed the app with more logging, but lost the repro. I was going to start with capturing traces as noted in this SO question <https://stackoverflow.com/questions/37125975/how-to-debug-grpc-call>; is there anything else I can do? I'm wondering if you have any pointers on what might be happening? Thanks! Scott -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/4b48d366-e88b-4020-9fff-1a0926ecdaf2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
