GRPC Bidirectional Streaming Issue – Request Stream keeps getting closed
I’ve been suffering implementing grpc bidirectional stream.
I’m expecting the server keeps request stream open until there’s an explicit stream dispose… though for some reasons, my server keeps getting an exception{“Can’t read messages after the request is complete.”}. If you see my code below, client is sending 1000 requests but server’s requestStream.ReadAllAsync()
throws an exception after a few iterations which don’t make sense to me.