Skip to main content

Troubleshooting

Find the symptom, read the cause, apply the fix. Each page below is organized by what you see, quotes the exact message the product shows, and says how to confirm the cause. The ones marked reproduced were reproduced on a running instance for these docs.

You seeGo to
The sign-in page rejects you, answers 429, loops back, or you are signed in and see nothingCannot sign in
A query fails, times out or returns fewer rows than expectedQueries fail
502 Bad Gateway, or http 406 Not Acceptable, when you save a database, test a connection or create a datasetEngine 406 and 502 errors
A workflow execution stays in Running, or a schedule never firesWorkflows stuck
The server will not start because of storage, or a catalog or a stored secret is rejectedCatalog and storage errors
The identity provider redirects back with an error, or a plain-text error appears at /api/auth/oidc/callbackSSO errors

First checks for anything​

  1. Is the server healthy? curl http://<host>/readyz answers {"status":"ok","db":"up"} when the database is reachable. /healthz answers as long as the process is up. On the demo stack these paths are not routed to Egret (the edge answers with the web app's HTML page); use docker compose --env-file deploy/demo/demo.env -f deploy/docker-compose.demo.yml ps, which shows each service's health check.
  2. What does the log say? The server logs to standard output. Raise detail with EGRET_LOG__FILTER=info,egret=debug. At start it prints one line for every disabled subsystem: workflow worker disabled by config, workflow scheduler disabled by config, kubernetes unavailable; engine provisioning disabled. With the Docker provisioner it logs engine provisioning: docker instead.
  3. Did startup validation stop it? A one-line Error: naming a key; see Startup checks.
  4. Is it a known issue? See Known issues.

Quick reference​

SymptomCause and fixPage
502 Bad Gateway creating a dataset or testing a database on TrinoTrino answered HTTP 406. Set http-server.process-forwarded=true on Trino.406 and 502
429 Too Many Requests at sign-inFive failed attempts within five minutes lock you out for five minutes. Wait the time the page gives.Cannot sign in
A workflow execution stays in RunningThe worker is off by default: EGRET_WORKFLOW__WORKER_ENABLED=true.Workflows stuck
Error: the apps API requires [storage] bucket, access_key, secret_key at startThe object-store credentials are always required.Catalog and storage errors
secrets master_key is not configured when saving a connectionSet EGRET_SECRETS__MASTER_KEY.Catalog and storage errors
kubernetes unavailable; engine provisioning disabled in the logNo cluster. Register external engine still works; Add engine does not, unless you use the Docker provisioner.Engines and Ranger setup
The demo stack does not load, SSO fails, or an engine stays provisioningHost name, port or memory; see the demo stack's own troubleshooting table.Run the demo stack
csrf check failed (403) from a scriptSend the egret_csrf cookie's value in the X-Egret-CSRF header.Cannot sign in
/control-plane/config renders a blank pageKnown issue; the page is not linked from the UI.Known issues