`grpc-status` and `grpc-message` are missing in response headers
Author: merlinnotCreated Sep 11, 2020Updated Jun 19, 2026
I recently opened this issue: https://github.com/grpc/grpc-web/issues/901, where I observed streams being ended with no errors, where an error was returned from the server. While digging into the issue, I found that for server side streams Envoy does send grpc-status and grpc-message downstream if these two fields are sent in upstream headers instead of trailers. I though we'll be able to adjust this behavior in grpc-node (https://github.com/grpc/grpc-node/issues/1567), but gRPC specifies that these two fields must be sent in trailers, so we can't.
With that said, I'm wondering what would be a possible solution to this problem. Any ideas?
Source: grpc/grpc-web