Comments (13)
检查并调整了server和agent的时钟,确认一致后还是不行,agent仍然提示无可用网络
from elkeid.
Agent配置和证书更新了吗?
from elkeid.
from elkeid.
生成证书时改elkeid.com这个域名了吗?如果修改了,也需要对应修改Agent中的Host。
from elkeid.
telnet 一下 priLB中的端口和地址,看看通不通。
from elkeid.
没有修改域名。telnet之后sd_host的8088端口显示connected to sd_host。
from elkeid.
from elkeid.
先别配置sd 把agent_center的 IP和端口填写到 priLB里面 再试试看
from elkeid.
发一下product.go文件吧
from elkeid.
product.go这个应该是没问题的,你看一下:
连个地址和端口在agent端都可以telnet通
package connection
import _ "embed"
//go:embed client.key
var ClientKey []byte
//go:embed client.crt
var ClientCert []byte
//go:embed ca.crt
var CaCert []byte
func init() {
sd["sd"] = "10.1.112.95:8088"
priLB["ac"] = "10.1.112.26:6751"
//这里"elkeid.com"需要与生成证书时使用的域名一致,如果生成时不是默认配置需要在这里一起修改
setDialOptions(CaCert, ClientKey, ClientCert, "elkeid.com")
}
from elkeid.
发一下product.go文件吧
我仔细看了一下,应该是跟go语言有关,您看一下相关代码:
goroutine 10 [running]:
go.uber.org/zap/zapcore.(*CheckedEntry).Write(0xc0003600c0, 0x0, 0x0, 0x0)
/root/go/pkg/mod/go.uber.org/[email protected]/zapcore/entry.go:234 +0x58d
go.uber.org/zap.(*SugaredLogger).log(0xc0000103e8, 0x4, 0x0, 0x0, 0xc000409fc0, 0x1, 0x1, 0x0, 0x0, 0x0)
/root/go/pkg/mod/go.uber.org/[email protected]/sugar.go:234 +0xf6
go.uber.org/zap.(*SugaredLogger).Panic(...)
/root/go/pkg/mod/go.uber.org/[email protected]/sugar.go:123
github.com/bytedance/Elkeid/agent/transport.Run()
/root/Elkeid/agent/transport/client.go:30 +0x488
created by main.main
/root/Elkeid/agent/main.go:75 +0xc05
from elkeid.
和这个无关,import只影响编译的依赖。
https://github.com/bytedance/Elkeid/blob/main/agent/test/main.go
替换证书,修改地址,编译,然后执行,看有无报错。
from elkeid.
重新clone了项目,重新build了server,然后将agent-center的conf目录中生成的证书复制到test目录下,在test目录下编译执行同样报no network。。。将新证书替换agent/transport/connection中的三个证书,agent目录下编译执行,依旧报错。。。
from elkeid.
Related Issues (20)
- 关于代码的一些疑问 HOT 2
- 有没有大哥测试过社区版的性能呀,能承载多少个Agent HOT 2
- RASP运行时类型没有python,怎么添加 HOT 2
- Elkeid运行的时候是如何判断不影响正常业务的? HOT 2
- 扫描引擎增加对压缩包的支持 HOT 2
- 请教一下,多台服务端,怎么通过lb实现负载均衡呀
- AC首页显示存储服务不可用如何排查 HOT 1
- rasp jvm版本支持问题 HOT 1
- tlinux24 docker批量编译部分ko编译失败 HOT 3
- 集群导入出现异常the server has asked for the client to provide credentials
- Bug: Possible Channel Blocking Operation
- KO运行异常或丢失的信息未上报或展示 HOT 1
- 安装kafka时报错 HOT 1
- 执行病毒扫描过程中进度一直是0 HOT 2
- 怎么理解 agent 和 server/agent_center 下面的grpc.proto 风格不一样 HOT 2
- LKM驱动中rename或link后新路径获取异常
- agent采集不到执行的命令
- agent安装部署下载改为https HOT 2
- 什么时候能支持多一点系统呢
- docker部署报错
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elkeid.