gRPC proxying - Stream Removed

I have published two gRPC endpoints via Tyk. One is a unary stream, and one is a server stream.

On the gRPC client, I keep hitting an error that says

grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = “Stream removed”

From Tyk’s detail logs (I enabled detailed logging for the 2 APIs), I can see that the RPC call was successfully received by the server. I can also see the server responding correctly. However, the response never reaches the gRPC client. May I know what is happening in Tyk that terminates the stream?

FYI when I published the APIs in Tyk, I published it as type REST.

FYI I enabled the prerequisites mentioned here: gRPC Proxy and I have also set flush_interval to 1.

Hi Je Sum,

Thank you for the question on the community forum. Just FYI, the community forum is for questions pertaining to the open source Gateway. I have emailed you separately and will get back to you with answers.