Skip to content

Discover service error by Consul for apisix version 3.9  #11134

Description

@jzhao20230918

Description

Hello,

We are using Consul as the service discovery and everything was working fine for apisix v3.8. But after upgrade to v3.9, we got following errors:

2024/04/09 06:07:16 [error] 49#49: *8920 [lua] init.lua:91: nodes(): fetch nodes failed by , return default service, client: 10.0.2.59, server: _, request: "GET / HTTP/1.1", host: ""
2024/04/09 06:07:16 [error] 49#49: *8920 [lua] init.lua:548: handle_upstream(): failed to set upstream: no valid upstream node: nil, client: 10.0.2.59, server: _, request: "GET / HTTP/1.1", host: "
***"

Nothing else is changed except the apisix version. Thanks a lot.

Environment

  • APISIX version (run apisix version): 3.9
  • Operating system (run uname -a):
    Linux ip-10-0-2-59 6.2.0-1017-aws feature: supported for automatically getting the latest etcd data. #17~22.04.1-Ubuntu SMP Fri Nov 17 21:07:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
  • OpenResty / Nginx version (run openresty -V or nginx -V):
  • etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info):
    {"id":"4d193d8b-f4b4-4a8c-9aed-9da25c014839","version":"3.9.0","hostname":"ip-10-0-2-59","boot_time":1712646773,"etcd_version":"3.5.0"}
  • APISIX Dashboard version, if relevant:
  • Plugin runner version, for issues related to plugin runners:
  • LuaRocks version, for installation issues (run luarocks --version):

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status
    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions