Agent Startup/Online Troubleshooting Process
- Directly execute
/opt/nezha/agent/nezha-agent -s DashboardIP or non-CDN domain:RPCPort -p AgentKey -d
to check if the logs indicate timeouts due to DNS or poor network conditions. - Use
nc -v Domain/IP RPCPort
ortelnet Domain/IP RPCPort
to 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?