TradAI Troubleshooting Guide Quick diagnosis and resolution for common issues in the TradAI platform.
Quick Diagnosis Find your symptom and jump to the solution:
Guides Quick Commands Check Service Health # All services
just check-health
# Individual service
curl http://localhost:8000/api/v1/health | jq
# ECS services (AWS)
aws ecs describe-services \
--cluster tradai-${ ENVIRONMENT } \
--services tradai-backend-${ ENVIRONMENT } \
--query 'services[0].{Status:status,Running:runningCount,Desired:desiredCount}'
View Logs # Local (Docker)
docker compose logs -f backend
docker compose logs -f strategy-service
# AWS CloudWatch
aws logs tail /ecs/tradai-backend-${ ENVIRONMENT } --follow
aws logs tail /ecs/tradai-strategy-service-${ ENVIRONMENT } --follow
Check Running Tasks # Docker
docker compose ps
# AWS ECS
aws ecs list-tasks --cluster tradai-${ ENVIRONMENT }
Test Connectivity # Local services
curl http://localhost:8000/api/v1/health
curl http://localhost:8003/api/v1/health
curl http://localhost:8002/api/v1/health
# AWS (via API Gateway)
curl https://${ API_ENDPOINT } /health
When to Escalate Scenario Action Single failed request Check logs, retry Repeated failures (>3) Check service health, investigate All services affected Check infrastructure (VPC, NAT, DNS) Data inconsistency Check DynamoDB, S3, pause operations Security concern Follow Security Incidents