Self-hosting
Troubleshooting
Common local setup issues around API keys, ClickHouse connectivity, CORS, and replay-related storage configuration.
Source of truth
server/infra/docker-compose.ymlserver/engine/.env.exampleserver/engine/ee/replay/plugin.goMissing or invalid API key
Symptoms:
401on ingest becausex-api-keyis missing403on ingest because the key does not resolve to a project
Check:
- that the project exists
- that you are sending the correct live or test key
- that your requests target the correct environment
ClickHouse connection problems
Check:
CLICKHOUSE_ADDRCLICKHOUSE_USERCLICKHOUSE_PASSWORDCLICKHOUSE_DB
If you are using the compose file, make sure the Sankofa service can resolve the
clickhouse hostname and that the health check has passed.
Browser access and CORS
If browser requests fail, review CORS_ALLOWED_ORIGINS and make sure the docs,
website, or dashboard origin is included.
Replay storage failures
Replay uploads depend on the enterprise replay plugin and the B2-compatible storage settings in the replay plugin:
B2_ENDPOINTB2_KEY_IDB2_APP_KEYB2_BUCKET_NAME