Is it possible to send gRPC calls through Fastly? I can verify the calls are getting to my backend and making changes but the response comes back as if it failed (server closed the stream without sending trailers). If I bypass fastly with the call it returns fine.
I’ve verified Fastly is configured to use HTTP/2 and added http.Connection: keep-alive
to recv as well as
if (req.http.content-type ~ "application/grpc") {
set beresp.do_stream = true;
set beresp.ttl = 0s;
set beresp.cacheable = false;
set beresp.http.Connection = "keep-alive";
set beresp.http.fetch_header = "fetch";
}
as a VCL snippet under the fetch subroutine. I’m just using grpcurl to test the endpoint. Anyone had success with this?