Setup Issues
Setup Wizard Fails to Start
Problem:python setup.py crashes or shows dependency errors.
Solution:
1
Check Python Version
2
Install Dependencies
3
Try Alternative Command
Docker Not Running
Problem: Setup wizard reports “Docker is not running.” Solution:Invalid Supabase Credentials
Problem: Setup completes but authentication fails with “alg value is not allowed.” Solution: The JWT secret doesn’t match exactly.1
Get Correct JWT Secret
- Go to Supabase Dashboard → Project Settings → API
- Scroll to “JWT Settings”
- Copy the JWT Secret exactly (including any special characters)
2
Update Configuration
3
Restart Services
Database Connection Fails
Problem: Backend logs show “could not connect to database.” Solution:- Wrong password in connection string
- Using Session pooler instead of Transaction pooler (should use port 6543)
- IP restrictions in Supabase (check Project Settings → Database → Network Restrictions)
Service Startup Issues
Services Don’t Start
Problem:python start.py shows services as stopped.
Solution:
- Docker Setup
- Manual Setup
Port Already in Use
Problem: “Address already in use” error for ports 3000 or 8000. Solution:Redis Connection Failed
Problem: Backend can’t connect to Redis. Solution:Runtime Issues
Frontend Shows 502 Bad Gateway
Problem: Frontend loads but shows “502 Bad Gateway” errors. Solution: Backend is not running or not reachable.1
Check Backend Status
2
Check Backend Logs
3
Verify Configuration
Check
apps/frontend/.env.local:Agent Execution Fails
Problem: Agents fail to execute with “Daytona connection error.” Solution:1
Verify Daytona API Key
2
Test Daytona Connection
3
Check Daytona Quota
Visit app.daytona.io and check your usage limits.
LLM API Errors
Problem: Agents return “LLM API error” or rate limit errors. Solution:- Rate Limits
- Invalid API Key
- Wrong Model Selected
You’ve hit API rate limits.
- Check your LLM provider dashboard for limits
- Upgrade to higher tier plan
- Add additional LLM providers as fallbacks
Memory Issues
Problem: Backend crashes with “killed” or out-of-memory errors. Solution:- Docker
- System
Increase Docker memory limits:Edit Restart:
docker-compose.yaml:Deployment Issues
ECS Task Fails to Start
Problem: ECS tasks fail health checks and restart continuously. Solution:1
Check Task Logs
AWS Console → ECS → Cluster → Service → LogsOr via CLI:
2
Verify Secrets
Ensure AWS Secrets Manager has all required environment variables:
3
Check Task Definition
Verify CPU/memory limits are sufficient:
- Minimum: 2048 CPU (2 vCPU), 4096 MB
- Recommended: 4096 CPU (4 vCPU), 8192 MB
EKS Pod CrashLoopBackOff
Problem: Kubernetes pods keep restarting. Solution:- Missing environment variables (sync secrets)
- Insufficient memory (OOMKilled)
- Database connection issues
- Bad container image (rollback)
Load Balancer Health Check Fails
Problem: ALB shows unhealthy targets. Solution:1
Test Health Endpoint
2
Check Health Check Config
ALB Target Group settings:
- Path:
/v1/health-docker - Port: 8000
- Interval: 30 seconds
- Timeout: 5 seconds
- Healthy threshold: 2
- Unhealthy threshold: 3
3
Verify Security Groups
Ensure ALB can reach backend on port 8000:
- Backend security group allows inbound on 8000 from ALB
- ALB security group allows outbound to backend
Performance Issues
Slow Response Times
Problem: Agents take a long time to respond. Causes & Solutions:Cold Start Delays
Cold Start Delays
First request after deployment is slower.Solution: Increase minimum replicas or keep services warm with health checks.
LLM Provider Latency
LLM Provider Latency
Some LLM providers are slower than others.Solution:
- Use faster models (e.g., Claude Haiku, GPT-4o-mini)
- Switch to providers with better latency in your region
- Enable streaming for real-time responses
Database Queries
Database Queries
Slow Supabase queries.Solution:
- Check Supabase performance metrics
- Add database indexes
- Upgrade Supabase plan for more resources
Insufficient Resources
Insufficient Resources
Backend running out of CPU/memory.Solution:
High Memory Usage
Problem: Backend memory usage grows over time. Solution:1
Monitor Memory
2
Enable Auto-Scaling
For Kubernetes:For Docker Compose:
3
Increase Memory Limits
Temporarily increase limits while investigating:Docker Compose:Kubernetes:
Data Issues
Lost Conversations
Problem: Chat history disappears. Solution: Check Supabase connection and data:- Supabase project paused (free tier inactivity)
- Database connection issues
- User authentication issues
File Upload Failures
Problem: Can’t upload files to agents. Solution:1
Check Supabase Storage
Supabase Dashboard → Storage → PoliciesEnsure storage policies allow authenticated uploads.
2
Check File Size Limits
Default limits:
- Supabase: 50MB per file
- Backend: Configurable in environment
3
Verify CORS Settings
Supabase Dashboard → Storage → SettingsAdd your frontend URL to allowed origins.
Debugging Tools
Logs
- Docker Compose
- Manual Setup
- Kubernetes
Health Checks
Database Inspection
Getting Help
If you’re still stuck:Discord Community
Get real-time help from the community
GitHub Issues
Report bugs and request features
Documentation
Review setup and configuration guides
GitHub Discussions
Ask questions and share solutions
Common Error Messages
For detailed troubleshooting of specific deployment types, see the EKS Operations Guide.