apisix icon indicating copy to clipboard operation
apisix copied to clipboard

bug: no healthy etcd endpoint available

Open ipanocloud opened this issue 1 year ago • 6 comments

Current Behavior

APIsix successfully connects to etcd.

Expected Behavior

No response

Error Logs

`

  • 2023/06/15 18:02:21 [error] 43#43: *54 [lua] server-info.lua:167: failed to fetch etcd version: http://apisix-etcd.apisix-sit.svc.cluster.local:2379: timeout, context: ngx.timer
  • 2023/06/15 18:02:22 [error] 44#44: *33 [lua] config_etcd.lua:568: no healthy etcd endpoint available, next retry after 2s, context: ngx.timer
  • 2023/06/15 18:02:22 [error] 44#44: *32 [lua] config_etcd.lua:568: no healthy etcd endpoint available, next retry after 2s, context: ngx.timer
  • 2023/06/15 18:02:22 [error] 44#44: *37 [lua] config_etcd.lua:568: no healthy etcd endpoint available, next retry after 2s, context: ngx.timer

`

Steps to Reproduce

  1. restart apisix
  2. The error log indicates a failure in connecting to etcd.

Environment

  • APISIX version (run apisix version): 2.15.0
  • 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): 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):

ipanocloud avatar Jun 15 '23 12:06 ipanocloud