Agent Startup/Online Troubleshooting Process
- Directly execute
/opt/nezha/agent/nezha-agent -s DashboardIP or non-CDN domain:RPCPort -p AgentKey -dto check if the logs indicate timeouts due to DNS or poor network conditions. - Use
nc -v Domain/IP RPCPortortelnet Domain/IP RPCPortto check for network issues, inspect the inbound and outbound firewalls of the local machine and the panel server. If you cannot determine the issue, you can use the port checking tool provided by https://port.ping.pe/. - If the above steps indicate no issues but the Agent still does not go online correctly, try disabling SELinux. How to disable SELinux?