gRPC connections through Fastly

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?

Hey @olivermct – After doing a bit of digging, I confirmed that gRPC is still not possible at the moment, but I forwarded your message to the right team for inclusion into our planning process for the future.