Hasura console is not able to reach your Hasura GraphQL engine instance. Please ensure that your instance is running and the endpoint is configured correctly.
See original GitHub issueI hade up and run docker image but last week, all of the sudden, it had been down. I got this error for 1 week and try all things and didn’t work, I removed the docker file and image, container and install fresh but also didn’t work, and got this message: DB schema loading failed Failed to fetch. docker :
version: '3.7' services: postgres: image: postgres:12 restart: always volumes: - db_data:/var/lib/postgresql/data environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgrespassword POSTGRES_DATABASE: postgres graphql-engine: image: hasura/graphql-engine:v1.3.2 ports: - "8080:8080" depends_on: - "postgres" restart: always environment: HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:postgrespassword@postgres:5432/postgres #HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:@host.docker.internal:5432/postgres HASURA_GRAPHQL_ENABLE_CONSOLE: "true" # set to "false" to disable console HASURA_GRAPHQL_DEV_MODE: "true" HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log ## uncomment next line to set an admin secret volumes: db_data:
_Originally posted by @tavakoli-ali in https://github.com/hasura/graphql-engine/issues/2378#issuecomment-703175933_
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (2 by maintainers)

Top Related StackOverflow Question
@sdil This could be due to your CORS settings. I see you have
localhost:3000andlocalhost:8080enabled but notlocalhost:9695which is where the CLI console runsedit: realising its been a while since you had asked. hope you had managed to resolve this
or cleaning cache? sorry, for stupid suggestion, but console cache could have an old config and it might be a solution