Appearance
Troubleshooting
Common issues and how to resolve them.
Gateway Not Connecting
Symptom: Gateway status shows "Disconnected" in the dashboard header.
Causes and fixes:
Gateway container not running
bashdocker compose ps gateway # If not running: docker compose up -d gatewayGateway token mismatch Verify
GATEWAY_TOKENin.envmatches what the gateway expects:bashgrep GATEWAY_TOKEN .env docker compose logs gateway | grep "token"AI model API key invalid The gateway connects to your AI provider on startup. If the API key is wrong:
bashdocker compose logs gateway | grep -i "error\|auth\|key"Fix the
MODEL_API_KEYin.envand restart:docker compose restart gatewayPort conflict Check if port 18789 is in use:
bashss -tlnp | grep 18789
Agent Not Responding
Symptom: You click Execute but nothing happens, or the task stays in "In Progress" indefinitely.
Check gateway connection — the gateway must be connected (see above)
Check agent status — the agent should show as "Online"
bashdocker compose logs backend | grep "agent" | tail -20Check for errors — look at both backend and gateway logs:
bashdocker compose logs backend --tail 50 docker compose logs gateway --tail 50AI provider rate limit — your provider may be throttling requests. Check the gateway logs for rate limit errors.
Restart the gateway:
bashdocker compose restart gateway
Cannot Log In
Symptom: Login page returns "Invalid credentials" even with correct password.
Check email format — use the exact email from setup (case-sensitive)
Reset password via CLI:
bashhelix reset-password admin@company.comCheck backend is running:
bashdocker compose ps backend curl http://localhost:8000/api/healthCheck database connection:
bashdocker compose logs backend | grep -i "database\|postgres\|connection"
Database Connection Errors
Symptom: Backend logs show database connection errors.
Check PostgreSQL is running:
bashdocker compose ps db docker compose logs db --tail 20Verify DATABASE_URL:
bashgrep DATABASE_URL .envFormat:
postgresql+asyncpg://user:password@db:5432/helix_mcCheck disk space — PostgreSQL needs free disk:
bashdf -hRestart database:
bashdocker compose restart db # Wait for it to be healthy, then restart backend docker compose restart backend
Migration Errors
Symptom: Backend fails to start with Alembic migration errors.
Check current migration state:
bashdocker compose exec backend alembic currentRun pending migrations:
bashdocker compose exec backend alembic upgrade headIf migrations are corrupted, restore from backup:
bashhelix restore backups/latest-backup.sql.gz
SSL Certificate Issues
Symptom: Browser shows SSL errors or certificate warnings.
Check Caddy logs:
bashdocker compose logs caddy --tail 50DNS not pointing to server — verify your domain points to your server's IP:
bashdig +short your-domain.comPort 80/443 blocked — Let's Encrypt needs port 80 for validation:
bashsudo ufw status # Ensure ports 80 and 443 are allowedForce certificate renewal:
bashdocker compose restart caddy
Frontend Not Loading
Symptom: Blank page or "Cannot connect" error.
Check frontend container:
bashdocker compose ps frontend docker compose logs frontend --tail 20API URL mismatch —
NEXT_PUBLIC_API_URLmust be accessible from the browser:bashgrep NEXT_PUBLIC_API_URL .envIf changed, rebuild:
docker compose up -d --build frontendCORS error — check browser console for CORS errors:
bashgrep CORS_ORIGINS .env # Must include the frontend's URL
High Memory Usage
Symptom: Server is slow or services are being killed.
Check memory usage:
bashdocker stats --no-stream free -hReduce memory — if running on a small server:
- Set
LOG_LEVEL=warningto reduce log volume - Consider using a smaller AI model
- Set
Check for runaway processes:
bashtop -o %MEM
Telegram Bot Not Working
See the Telegram troubleshooting section.
Getting Help
If none of these solutions work:
Collect diagnostics:
bashhelix health > health-report.txt docker compose logs > docker-logs.txt 2>&1Check the logs for specific error messages:
bashdocker compose logs --tail 200 2>&1 | grep -i errorContact support at helixnode.tech with your health report and logs.
Log Locations Quick Reference
| Log | Command |
|---|---|
| All services | docker compose logs |
| Backend | docker compose logs backend |
| Frontend | docker compose logs frontend |
| Gateway | docker compose logs gateway |
| Database | docker compose logs db |
| Redis | docker compose logs redis |
| Caddy | docker compose logs caddy |
| Systemd | journalctl -u helix-mission-control |