hasura / hasura/graphql-engine

Keycloak + Hasura = Failed to fetch schema {"error":"RESTEASY003065: Cannot consume content type"}

Open
#3,780 8 comments 0 reactions 0 assignees View on GitHub
c/server k/question
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

Issue with using keycloak and hasura.
I am using the docker image hasura/graphql-engine:v1.0.0 and postgres 11.6.

The only log message from hasura (with debug level) is: ``` {"timestamp":"2020-01-27T10:29:08.488+0000","level":"info","type":"http-log","detail":{"operation":{"query_execution_time":4.9145359e-2,"user_vars":{"x-hasura-role":"admin"},"request_id":"0c333ad9-505a-4a8d-8ba3-7daebb8795ce","response_size":7177},"http_info":{"status":200,"http_version":"HTTP/1.0","url":"/v1/graphql","ip":"130.241.186.130","method":"POST","content_encoding":"gzip"}}} ```

![2020-01-27-170642_1058x675_scrot](https://user-images.githubusercontent.com/6649265/73191174-5becd880-4127-11ea-8b73-2792301ccaf5.png)

![2020-01-27-171032_1660x535_scrot](https://user-images.githubusercontent.com/6649265/73191527-ec2b1d80-4127-11ea-94c7-a1c20ed49269.png)
![2020-01-27-171045_1657x601_scrot](https://user-images.githubusercontent.com/6649265/73191536-edf4e100-4127-11ea-9775-17dfbc50eeb9.png)

Contributor guide

Open the contributing guide

Research direction

Reproduce the schema-fetch failure using Keycloak, hasura/graphql-engine:v1.0.0, and PostgreSQL 11.6, then inspect the reported RESTEASY003065 error alongside the provided Hasura logs and screenshots. Done means the schema can be fetched successfully without the content-type error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, postgresql
Domain
api, authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.