Open SVerkuil opened 3 years ago
This can also happen on 2.6.1
, if one container was stopped or recreated, it's impossible to sync them again.
second that. I'm trying to automate deployment using ansible. The way to work around this is
hasura
(and hbp
) excluding the config setting HASURA_GRAPHQL_JWT_SECRET
hbp
is listening ( e.g. do a docker-compose logs -f hbp
) restart the hasura
service with docker-compose up -d
this time with HASURA_GRAPHQL_JWT_SECRET
properly setmy docker images are:
image: hasura/graphql-engine:v2.0.3.cli-migrations-v3
image: nhost/hasura-backend-plus:latest
Describe the bug When using JWKS hasura-backend-plus will wait with starting until hasura (graphql-engine) is ready. But graphql-engine will never become ready because it will wait for the JWKS endpoint of hasura-backend-plus to become ready first.
To Reproduce Steps to reproduce the behavior:
HASURA_GRAPHQL_JWT_SECRET: '{"type": "RS256", "jwk_url": "http://hasura-backend-plus:3000/auth/jwks"}'
Expected behavior The hasura-backend-plus application should expose JWKS endpoint on app startup even if Hasura is not ready
Additional context hasura-backend-plus
2.6.1
works fine, JWKS api is broken in2.7.1