-
Notifications
You must be signed in to change notification settings - Fork 49
Description
Hi,
We are exposing a flagd instance via a GRPCRoute. When attempting to retrieve feature flag details, requests fail with StatusCode.UNKNOWN. After some investigation, we found that explicitly setting appProtocol: grpc on the flagd service port resolves the issue and allows requests to succeed as expected.
The primary benefit of specifying the appProtocol field is that the protocol is no longer inferred, which reduces ambiguity and prevents related issues. It also makes the manifests more explicit and future-proof, while serving as clearer documentation for users.
That seem to happen because we use Istio, where the gateway will forward all incoming HTTP requests using HTTP/1.1. https://istio.io/latest/docs/ops/configuration/traffic-management/protocol-selection/
I'm more than happy to raise a PR and resolve it.