apisix
apisix copied to clipboard
request help: when i run ip-restriction single test,always appears below errors
Issue description
when i run ip-restriction single test,always appears below errors。 [error] 14511#329621: *2310 [lua] config_etcd.lua:600: failed to fetch data from etcd: closed, etcd key: /apisix/upstreams, context: ngx.timer"
Environment
Request help without environment information will be ignored or closed.
- apisix version (cmd:
2.8): - OS (cmd:
MAC-OS):
Hi @shoulda could you show your etcd's status and how you configure etcd in apisix. As the error suggests, etcd seems unhealthy
Issue description
when i run ip-restriction single test,always appears below errors。 [error] 14511#329621: *2310 [lua] config_etcd.lua:600: failed to fetch data from etcd: closed, etcd key: /apisix/upstreams, context: ngx.timer"
Environment
Request help without environment information will be ignored or closed.
- apisix version (cmd:
2.8):- OS (cmd:
MAC-OS):
It's my understanding that this is a generic error and is not caused by this plugin, so we may focus on inspecting why this error occurres.
Hi @shoulda could you show your etcd's status and how you configure etcd in apisix. As the error suggests, etcd seems unhealthy
I use the config-defaul.yaml file, dont hava special config
Issue description
when i run ip-restriction single test,always appears below errors。 [error] 14511#329621: *2310 [lua] config_etcd.lua:600: failed to fetch data from etcd: closed, etcd key: /apisix/upstreams, context: ngx.timer"
Environment
Request help without environment information will be ignored or closed.
- apisix version (cmd:
2.8):- OS (cmd:
MAC-OS):It's my understanding that this is a generic error and is not caused by this plugin, so we may focus on inspecting why this error occurres.
It's OK when i run the ip-restriction single test in apisix2.5
ip-restriction single test
what it is?
ip-restriction single test
what it is?
就是跑ip-restriction插件的单测😄
On the master branch, I execute make deps nstall the latest dependencies.
Turn on etcd, and use prove -Itest-nginx/lib -r t/plugin/ip-restriction.t to run test, it works well.
I was run apisix2.8, does you run the test on the apisix 2.8 works well?
yes, my etcd version is 3.4.13
This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.