......
[wgcloud-agent]2024/12/25 11:32:49 daemonUtil.go:102: 防篡改校验失败: 1
......
[wgcloud-agent]2024/12/26 00:00:03 commonFuncs.go:259: 防篡改校验错误次数大于10次,不再上报数据: 16
......
......
[wgcloud-agent]2024/12/02 10:44:21 WgcloudAgent.go:89: 主机监控信息上报server开始
[wgcloud-agent]2024/12/02 10:44:23 WgcloudAgent.go:93: 主机监控信息上报server错误: Post "http://192.168.1.2:9999/agentGo/minTask": dial tcp 192.168.1.2:9999: connectex: No connection could be made because the target machine actively refused it.
[wgcloud-agent]2024/12/02 10:44:23 WgcloudAgent.go:56: runtime error: invalid memory address or nil pointer dereference
[wgcloud-agent]2024/12/02 10:44:25 WgcloudAgent.go:152: 主机监控Ext信息上报server错误: Post "http://192.168.1.2:9999/agentGo/minTaskHostExt": dial tcp 192.168.1.2:9999: connectex: No connection could be made because the target machine actively refused it.
[wgcloud-agent]2024/12/02 10:44:25 WgcloudAgent.go:111: runtime error: invalid memory address or nil pointer dereference
......
ping [server主机IP]
来测试网络连通性......
[wgcloud-agent]2024/12/02 10:48:05 WgcloudAgent.go:89: 主机监控信息上报server开始
[wgcloud-agent]2024/12/02 10:48:25 WgcloudAgent.go:93: 主机监控信息上报server错误: Post "http://192.168.1.2:9999/agentGo/minTask": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
[wgcloud-agent]2024/12/02 10:48:25 WgcloudAgent.go:56: runtime error: invalid memory address or nil pointer dereference
[wgcloud-agent]2024/12/02 10:48:45 WgcloudAgent.go:152: 主机监控Ext信息上报server错误: Post "http://192.168.1.2:9999/agentGo/minTaskHostExt": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
[wgcloud-agent]2024/12/02 10:48:45 WgcloudAgent.go:111: runtime error: invalid memory address or nil pointer dereference
......
telnet [server主机IP] 9999
来测试端口的连通性ps -ef | grep wgcloud
)......
2024-12-25 02:29:10.113 [http-nio-9999-exec-4] ERROR com.wgcloud.util.RestUtil - 请求守护进程信息错误
org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://192.168.1.2:9997": Connect to 192.168.1.2:9997 [/192.168.1.2] failed: Connection refused: connect; nested exception is org.apache.http.conn.HttpHostConnectException: Connect to 192.168.1.2:9997 [/192.168.1.2] failed: Connection refused: connect
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:791)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:717)
at org.springframework.web.client.RestTemplate.getForEntity(RestTemplate.java:367)
at com.wgcloud.util.RestUtil.get(RestUtil.java:247)
at com.wgcloud.controller.LicenseController.getDaemon(LicenseController.java:122)
at sun.reflect.GeneratedMethodAccessor199.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
......
http://localhost:9997
的话,那就可以不改