Cause: The agent cannot connect to the backend server to register.
Quick Checks:
- β
Backend is running and listening (default:
8096) - β
BACKEND_URLis reachable and correct (e.g.http://localhost:8096) - β
Required env vars:
BACKEND_URL,PIPELINE_NAME,STARTED_BY - β
Agent host can reach backend (try
curl) - β Check agent and backend logs for detailed errors
Tip: Use journalctl -u <agent-service> if running as a systemd service.
Cause: Port 3421 is already in use by another process on the system.
Fix:
- β Ensure no other service (like nginx or apache) is occupying port 3421
- β
Use
sudo lsof -i :3421orsudo netstat -tulpn | grep :3421to identify the process