Service and query diagnostics
Isolation of connectivity, authorization, transport and physical execution failures.
Layer-by-layer correlation
Diagnostics separate network resolution, TLS establishment, authentication, authorization, SQL execution and result consumption. request_id links client responses to logs; query_id tracks execution. Plans and counters then distinguish admission waits, computation, reads, decoding and delivery. A diagnostic record preserves parameters and load context without including secrets.
Installation or startup
| Symptom | Check |
|---|---|
| Port in use | Stop the old console or choose another port; do not kill all Python processes. |
| Studio unreachable | Check console, host/port and browser machine. |
| Studio cannot reach Core | Check engine_url, DNS, Core port, TLS and Core/Studio/index.html versions. |
| Blocked DLL | Read App Control details and enterprise policy; request appropriate approval. |
| Native disabled | Read startup native.reason; check wheel, ABI, OS, architecture and private Python. |
| Unexpected new database | Check Windows account, --data and configuration; do not delete the previous database. |
API, data and performance
401: secret/session/key; 403: permissions or Host/Origin; 410: absent/expired cursor; 429: saturation. Separate SQL, proxy and HTTP timeouts. For incomplete exports, inspect complete, pending, sequence and close rather than only first-batch row count. For damaged decimals, inspect the entire client conversion chain and avoid float.
For slow queries, retain plan/usage, version, cache state and load. Full scans may be necessary; an available index is not proof of a faster plan. For window errors, inspect the known 0.2.83 defect before randomly rewriting queries.
Useful support report
- Core/Studio versions, native backend, OS/architecture and driver version if used.
- Reproducible SQL and parameter types with sensitive values anonymized.
- request_id/query_id, timestamp, full error and relevant log extracts.
- Plan/usage and restart/first-run/cache-hit status.
- Expected/actual steps and an isolated database for writing reproductions.
- No passwords, API keys, cookies or customer data without authorization.