Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dpvs 1.96版本 dpvs-agent 创建RS ockopt DPVSAGENT_VS_ADD_DESTS Read sockmsg failed Error=EOF #941

Open
fishyu-mushroom opened this issue Mar 8, 2024 · 1 comment
Assignees

Comments

@fishyu-mushroom
Copy link

创建vip正常
curl -iv -X PUT "http://127.0.0.1:8182/v2/vs/192.168.137.205-80-tcp/rs" -H "Content-type:application/json" -d "{"Items":[{"ip":"192.168.137.20
8", "port":80, "weight":1}]}"

创建RS报错
curl -iv -X PUT "http://127.0.0.1:8182/v2/vs/192.168.137.205-80-tcp/rs" -H "Content-type:application/json" -d "{"Items":[{"ip":"192.168.137.20
8", "port":80, "weight":1}]}"
报错内容:
Sockopt DPVSAGENT_VS_ADD_DESTS Read sockmsg failed Error=EOF

image
@yuguanxiang
Copy link

编译dpvs之前,需要打开CONFIG_DPVS_AGENT宏

修改config.mk
export CONFIG_DPVS_AGENT=y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants