I have a Bidirectional streaming application where sometimes server stream is unable to send any messages to any clients. The error message that I get is below. I have tried closing server's ReadStream in order to make client re-establish the connection, but it doesn't help with the error and the issue remains. The IServerStreamWriter::WriteAsync API doesn't take any flags from the caller so I have no idea which flag is invalid.
(Inner Exception #0) System.InvalidOperationException: Call error: InvalidFlags at Grpc.Core.Internal.CallErrorExtensions.CheckOk(CallError callError) at Grpc.Core.Internal.CallSafeHandle.StartSendMessage(ISendCompletionCallback callback, Byte[] payload, WriteFlags writeFlags, Boolean sendEmptyInitialMetadata) at Grpc.Core.Internal.AsyncCallBase`2.SendMessageInternalAsync(TWrite msg, WriteFlags writeFlags) at Grpc.Core.Internal.ServerResponseStream`2.WriteAsync(TResponse message)
I'm hoping to get some pointers on what might be happening?
Thanks,
Farhan