-
Notifications
You must be signed in to change notification settings - Fork 202
Open
Labels
bugSomething isn't workingSomething isn't workinginternally-reviewedThe issue has been reviewed internally.The issue has been reviewed internally.
Description
Component(s)
router
Component version
0.265.2
wgc version
0.94.4
controlplane version
cloud
router version
0.265.2
What happened?
When using ConnectRPC (gRPC) subgraphs, the router does not propagate any GraphQL client headers to the gRPC downstream services, even though the router configuration includes valid headers.all.request propagation rules.
The same configuration works correctly for HTTP subgraphs, but fails for gRPC subgraphs.
This indicates that header propagation is only implemented for HTTP subgraphs, not gRPC.
Environment information
Environment
OS: (e.g., "Mac OS")
Package Manager: npm
Router configuration
version: "1"
log_level: "debug"
dev_mode: true
execution_config:
file:
path: "router.json"
watch: true
graph:
token: ""
headers:
all:
request:
- op: "propagate"
named: "X-User-Id"
- op: "propagate"
named: "X-Workspace-Id"
- op: "propagate"
named: "Authorization"Router execution config
version: 1
subgraphs:
- name: post-service
routing_url: dns:///localhost:4003
grpc:
schema_file: ../services/post-service/src/graph/schema.graphql
proto_file: ../services/post-service/src/proto/service/v1/service.proto
mapping_file: ../services/post-service/src/proto/service/v1/mapping.jsonLog output
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinginternally-reviewedThe issue has been reviewed internally.The issue has been reviewed internally.