PortGate

Resources · Troubleshooting · Q&A

A server was marked offline

Offline means no heartbeat arrived for 15 minutes. The host, the cron job, or the token stopped.

Check command

sudo python3 /opt/portgate/agent.py --mode server

Copied.

The panel marks a server offline when /api/v1/heartbeat has not been accepted for 15 minutes. The agent process, the clock, or the install token can be the cause.

Send one heartbeat

sudo python3 /opt/portgate/agent.py --mode server

A heartbeat posted 200 line means the token and the network path work. If the command succeeds once and the server goes offline again, the schedule is missing. Server mode installs a cron entry. all mode uses systemd. Re-run the installer with the same mode you chose the first time.