hanc00l / nemo_go

Nemo是用来进行自动化信息收集的一个简单平台,通过集成常用的信息收集工具和技术,实现对内网及互联网资产信息的自动收集,提高隐患排查和渗透测试的工作效率。
Apache License 2.0
1.66k stars 247 forks source link

求助贴 #104

Closed SiYuan-Rao closed 1 year ago

SiYuan-Rao commented 1 year ago

求助帖: worker容器查看日志: {"file":"daemon.go","func":"comm.StartWorkerDaemon","level":"error","msg":"deamon keep alive fail","time":"2023-07-16 22:10:45"} {"file":"daemon.go","func":"comm.StartWorkerDaemon","level":"error","msg":"deamon keep alive fail","time":"2023-07-16 22:10:46"} {"file":"daemon.go","func":"comm.StartWorkerDaemon","level":"error","msg":"deamon keep alive fail","time":"2023-07-16 22:10:46"} {"file":"daemon.go","func":"comm.StartWorkerDaemon","level":"error","msg":"deamon keep alive fail","time":"2023-07-16 22:10:46"} {"file":"keepalive.go","func":"comm.DoKeepAlive","level":"error","msg":"keep alive fail:invalid token","time":"2023-07-16 22:10:46"} {"file":"main.go","func":"main.keepAlive","level":"error","msg":"keep alive fail","time":"2023-07-16 22:10:46"} {"file":"daemon.go","func":"comm.StartWorkerDaemon","level":"error","msg":"deamon keep alive fail","time":"2023-07-16 22:10:46"} {"file":"daemon.go","func":"comm.StartWorkerDaemon","level":"error","msg":"deamon keep alive fail","time":"2023-07-16 22:10:47"} {"file":"daemon.go","func":"comm.StartWorkerDaemon","level":"error","msg":"deamon keep alive fail","time":"2023-07-16 22:10:47"} {"file":"daemon.go","func":"comm.StartWorkerDaemon","level":"error","msg":"deamon keep alive fail","time":"2023-07-16 22:10:47"} {"file":"keepalive.go","func":"comm.DoKeepAlive","level":"error","msg":"keep alive fail:invalid token","time":"2023-07-16 22:10:47"} {"file":"main.go","func":"main.keepAlive","level":"error","msg":"keep alive fail","time":"2023-07-16 22:10:47"} {"file":"daemon.go","func":"comm.StartWorkerDaemon","level":"error","msg":"deamon keep alive fail","time":"2023-07-16 22:10:47"} {"file":"daemon.go","func":"comm.StartWorkerDaemon","level":"error","msg":"deamon keep alive fail","time":"2023-07-16 22:10:48"} {"file":"daemon.go","func":"comm.StartWorkerDaemon","level":"error","msg":"deamon keep alive fail","time":"2023-07-16 22:10:48"} {"file":"daemon.go","func":"comm.StartWorkerDaemon","level":"error","msg":"deamon keep alive fail","time":"2023-07-16 22:10:48"} {"file":"keepalive.go","func":"comm.DoKeepAlive","level":"error","msg":"keep alive fail:invalid token","time":"2023-07-16 22:10:48"} {"file":"main.go","func":"main.keepAlive","level":"error","msg":"keep alive fail","time":"2023-07-16 22:10:48"} {"file":"daemon.go","func":"comm.StartWorkerDaemon","level":"error","msg":"deamon keep alive fail","time":"2023-07-16 22:10:48"} {"file":"daemon.go","func":"comm.StartWorkerDaemon","level":"error","msg":"deamon keep alive fail","time":"2023-07-16 22:10:49"} {"file":"daemon.go","func":"comm.StartWorkerDaemon","level":"error","msg":"deamon keep alive fail","time":"2023-07-16 22:10:49"} {"file":"daemon.go","func":"comm.StartWorkerDaemon","level":"error","msg":"deamon keep alive fail","time":"2023-07-16 22:10:49"}

SiYuan-Rao commented 1 year ago

worker.yml配置如下: rpc: host: 119.x.x.x port: 5001 authKey: uQ9jC8rI5pY6rR3kV9tY fileSync: host: 119.x.x.x port: 5002 authKey: uQ9jC8rI5pY6rR3kV9tY rabbitmq: host: 119.x.x.x port: 5672 username: Sxxxxxx password: uQ9jC8rI5pY6rR3kV9tY

hanc00l commented 1 year ago

从日志上看,应该是worker与server的的rpc通信失败,请检查一下server 119.x.x.x的5001端口是否开放、authKey是否一致。

SiYuan-Rao commented 1 year ago

解决了,谢谢大佬。server 容器里的配置没改过来,我手动改过来后重启就好了。