hasura / hasura/graphql-engine

Remote schema, forward headers issue

Open
#6,847 5 comments 1 reaction 0 assignees View on GitHub
c/remote-schemas k/bug support/needs-triage
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

Hasura 2.0.0-alpha.9

If I select `Forward all headers from client` when setting up remote schema

then if I try to run any query in the console the end result is

```
{
"errors": [
{
"extensions": {
"path": "$",
"code": "remote-schema-error"
},
"message": "Failed reading: not a valid json value"
}
]
}
```
and no requests goes through to the remote.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in the Hasura console by configuring a remote schema with “Forward all headers from client” enabled, then running any query. Trace the remote-schema request path and verify that the forwarded headers are handled as valid data; done means the query succeeds and a request reaches the remote schema.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.