Hi Grpc experts,

<https://stackoverflow.com/posts/71916682/timeline>

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

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/68717f8e-c678-4996-a411-c96d7911468bn%40googlegroups.com.

Reply via email to