Current Behavior
register route and service into etcd, the changes not been watched and got 404
Expected Behavior
apisix watch the changes in time, the url should not be 404
Error Logs
I have create route/service 4 times, delete the instance and redo
only 1 time got an error log. another 3 times got no error log(still 404)
2023/08/02 08:28:44 [error] 1051#1051: *44434 upstream timed out (110: Connection timed out) while reading upstream, client: unix:, server: , request: "POST /v3/watch HTTP/1.1", upstream: "http://10.1.1.1:2379/v3/watch", host: "127.0.0.1"
apisix reload
2023/08/02 08:49:43 [warn] 38#38: *19 [lua] config_etcd.lua:168: main etcd watcher started, revision=437733, context: ngx.timer
2023/08/02 08:49:43 [warn] 41#41: *36 [lua] config_etcd.lua:168: main etcd watcher started, revision=437733, context: ngx.timer
....
# do reload
2023/08/02 09:05:05 [notice] 770#770: signal process started
2023/08/02 09:05:05 [emerg] 773#773: bind() to 0.0.0.0:6008 failed (98: Address already in use)
2023/08/02 09:05:05 [warn] 771#771: *24136 [lua] config_etcd.lua:168: main etcd watcher started, revision=437755, context: ngx.timer
Steps to Reproduce
- upgrade apisix from 3.2.1 to 3.2.2
- register the service and route
- apisix-dashboard can see the route and service
- apisix admin api can fetch the route and service
- call the url, 404
- do
apisix reload, call the url, 200;
- downgrade to apisix 3.2.1, do 2-5, call the url, 200;
got an error log
maybe this feature cause the error: #9456
Environment
- APISIX version (run
apisix version): 3.2.2
- Operating system (run
uname -a):
- OpenResty / Nginx version (run
openresty -V or nginx -V): nginx version: openresty/1.21.4.1
- etcd version, if relevant (run
curl http://127.0.0.1:9090/v1/server_info): 2.5.4
- APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run
luarocks --version):
Current Behavior
register route and service into etcd, the changes not been watched and got 404
Expected Behavior
apisix watch the changes in time, the url should not be 404
Error Logs
I have create route/service 4 times, delete the instance and redo
only 1 time got an error log. another 3 times got no error log(still 404)
apisix reloadSteps to Reproduce
apisix reload, call the url, 200;got an error log
maybe this feature cause the error: #9456
Environment
apisix version): 3.2.2uname -a):openresty -Vornginx -V): nginx version: openresty/1.21.4.1curl http://127.0.0.1:9090/v1/server_info): 2.5.4luarocks --version):