Setup Issues
Setup Wizard Fails to Start
Problem:python setup.py crashes or shows dependency errors.
Solution:
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.Get Correct JWT Secret
- Go to Supabase Dashboard → Project Settings → API
- Scroll to “JWT Settings”
- Copy the JWT Secret exactly (including any special characters)
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.Agent Execution Fails
Problem: Agents fail to execute with “Daytona connection error.” Solution: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: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: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
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: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:Check Supabase Storage
Supabase Dashboard → Storage → PoliciesEnsure storage policies allow authenticated uploads.
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
| Error | Cause | Solution |
|---|---|---|
alg value is not allowed | JWT secret mismatch | Re-enter exact JWT secret from Supabase |
connection refused | Service not running | Start services with python start.py |
OOMKilled | Out of memory | Increase memory limits or scale horizontally |
CrashLoopBackOff | Pod keeps crashing | Check logs with kubectl logs |
502 Bad Gateway | Backend unreachable | Verify backend is running and accessible |
Database connection failed | Wrong DATABASE_URL | Check connection string format |
API key invalid | Wrong/expired API key | Update API key in configuration |
Rate limit exceeded | Too many API calls | Upgrade LLM provider plan or add fallbacks |
For detailed troubleshooting of specific deployment types, see the EKS Operations Guide.