-
Notifications
You must be signed in to change notification settings - Fork 1
Troubleshooting
Check that:
-
HMAC_KEYandJWT_KEYare at least 32 UTF-8 bytes; - the SQLite directory is writable, or PostgreSQL is reachable;
- each Redis provider has a connection string;
- provider and failure-mode values are valid;
- port 8080 is available.
Use docker compose logs -f to inspect startup, migration, and connection errors.
A plaintext MCP key is displayed only once. If it is lost, rotate the active key or issue a replacement, update the client, and revoke the old key.
For a rejected key, confirm that it is active, unexpired, assigned to the intended database, and allowed to use the requested tool. See Access Management.
Tool discovery returns only tools allowed by the authenticated key. Custom tools are filtered by the same allowlist. Edit or replace the key if its scope is incorrect.
The IP or MCP-key request budget is exhausted. Inspect Retry-After, the startup IP-rate settings, and the key's inherited or custom quota.
The Redis limiter is configured FailClosed and Redis is unavailable. Restore connectivity, or deliberately select FailOpen after evaluating the enforcement tradeoff.
Inspect MaxConcurrentSql and active workload. In Redis mode, also check Redis connectivity and lease-renewal errors. Leases from crashed instances expire automatically.
Audit records appear after MCP tool execution and administration changes. Confirm that the request reached a tool and that the Admin database is writable. See Operations and Audit.
Changing ADMIN_DATABASE_PROVIDER creates or updates the target schema; it does not copy data between providers. Restore from a planned export/import and verify users, roles, MCP keys, database definitions, policy, and audit records. See Distributed Deployment.
hs-sql-agent — GitHub | Apache License 2.0