-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
One of the gRPCurl commands are not returning the expected output, and looks like there is a misconfiguration in the demo application itself.
$ grpcurl -plaintext -proto grpc.proto -authority bar.com -d '{"name": "grpc-header-a"}' -H 'grpcRegex: grpc-header-a' $NGF_DNS:80 helloworld.Greeter/SayHello
ERROR:
Code: Unimplemented
Message: unexpected HTTP status code received from server: 404 (Not Found); transport: received unexpected content-type "text/html"
The related manifest file is NGINX-Gateway-Fabric-Lab/labs/6.grpc/3.grpcroute-header.yaml, and this route is configured here:
# Matches "headerRegex: grpc-header-[a-z]{1}"
- matches:
- headers:
- name: headerRegex
value: "grpc-header-[a-z]{1}"
type: RegularExpression
backendRefs:
- name: grpc-infra-backend-v2
port: 8080
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels