apisix icon indicating copy to clipboard operation
apisix copied to clipboard

bug: apisix 3.9.1 does not support apisix-seed for service discovery

Open bwangll opened this issue 1 year ago • 1 comments

Current Behavior

error日志中直接报错服务发现 nacos未init

Expected Behavior

apisix服务发现不应该受限于自身配置

Error Logs

[error] 4141#4141: *1791018 [lua] init.lua:548: handle_upstream(): failed to set upstream: discovery nacos is uninitialized

Steps to Reproduce

1.使用apisix配置服务发现为nacos 2.使用apisix-seed做服务发现控制平面 3.上游信息同步后。进行路由访问,被apisix拒绝。因为没有在apisix中配置nacos

Environment

  • APISIX version (run apisix version):
  • Operating system (run uname -a):
  • OpenResty / Nginx version (run openresty -V or nginx -V):
  • etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info):
  • APISIX Dashboard version, if relevant:
  • Plugin runner version, for issues related to plugin runners:
  • LuaRocks version, for installation issues (run luarocks --version):

bwangll avatar Jun 26 '24 12:06 bwangll

Can you provide the full configuration information?

Baoyuantop avatar May 27 '25 07:05 Baoyuantop