Troubleshooting
Docker Port Conflicts
Section titled “Docker Port Conflicts”If services fail to start because ports are already in use:
# Check what's using the portlsof -i :4000
# Stop conflicting services and retrypnpm run setup:localMissing .env File
Section titled “Missing .env File”If you see configuration errors during local development:
cp .env.example .env.localThen edit .env.local with your credentials using <YOUR_TOKEN> placeholders.
SQS Timeouts (Local Dev)
Section titled “SQS Timeouts (Local Dev)”When running locally without LocalStack, SQS operations will time out. The pipeline uses in-process queues in development mode. Ensure NODE_ENV is not set to production when running locally.
Redis Connection
Section titled “Redis Connection”If the worker fails to connect to Redis:
- Verify Docker is running:
docker ps - Check Redis is healthy:
docker compose ps redis - Ensure
REDIS_URLis set correctly in your.envfile
CDK Bootstrap
Section titled “CDK Bootstrap”If pnpm cdk deploy fails with a bootstrap error:
cd packages/cdkpnpm cdk bootstrapThis is a one-time operation per AWS account and region.
Token Placeholders
Section titled “Token Placeholders”Always use safe placeholders in configuration files:
| Placeholder | Usage |
|---|---|
<YOUR_TOKEN> |
LLM API keys, bot tokens, signing secrets |
<SLACK_BOT_TOKEN> |
Slack Bot User OAuth token (starts with xoxb-) |
<TEAMS_WEBHOOK_URL> |
Teams webhook URLs |
Never commit real credentials to the repository.
Further Help
Section titled “Further Help”- AWS Deployment Guide — full AWS deployment reference
- Ops Runbook — operational procedures and recovery
- Open an Issue