Resources · Troubleshooting · Q&A
Heartbeat says the dashboard name does not resolve
The agent is still calling the previous dashboard URL. A new tunnel hostname does not replace the one already saved in config.json unless you pass --url again.
Check command
python3 /opt/portgate/agent.py --mode server
Copied.
The heartbeat error Name does not resolve means the hostname in /opt/portgate/config.json does not exist in DNS. A new Cloudflare tunnel URL does not update an agent that already has api_url set unless the installer is given --url again.
Check the saved URL
python3 -c 'import json; print(json.load(open("/opt/portgate/config.json"))["api_url"])'
Point it at the current dashboard
curl -fsSL "https://YOUR-DASHBOARD/downloads/install.sh" | sh -s -- --token YOUR_TOKEN --mode server --url "https://YOUR-DASHBOARD"
Use the same mode you installed the first time. Create a new server token if the old one was pasted into a chat or a shell history you do not control.