Device not Connecting
Symptom: Device remains in “Released” or “Disconnected” status after running the installer.
Diagnostic Steps:
Check service status: Run systemctl status greengrass-lite.target — if the service is not running, the installer may not have completed successfully.
Check internet access: Run ping 8.8.8.8 and nslookup iot.us-east-1.amazonaws.com — DNS resolution must work.
Check port 8883: Run openssl s_client -connect iot-endpoint:8883 — MQTT over TLS requires port 8883 outbound. Corporate firewalls often block this.
Check logs: Run journalctl -u greengrass* --since "5 minutes ago" — look for connection refused, certificate errors, or timeout messages.
Check bundle integrity: Ensure the zip was not corrupted during transfer. Re-download and re-transfer if unsure.
Common Causes:
| Cause | Solution |
|---|---|
| Firewall blocking port 8883 | Allow outbound TCP on port 8883 to *.iot.*.amazonaws.com |
| Wrong bundle used (different device) | Download the correct bundle for THIS specific device |
| Clock skew on device | Sync time: sudo timedatectl set-ntp true |
| Installer ran as wrong user | Run installer as root or with sudo |
| Bundle already used (reinstall) | Clean up first: stop service, remove /var/lib/greengrass, then re-run |