1024-zzw opened a new issue, #7571: URL: https://github.com/apache/apisix/issues/7571
### Description 1.首先通过dashboard界面创建了Apisix路由;并且通过Apisix-admin接口以及在etcd中均可以查询到相关路由信息。但是通过 Apisix的域名去访问这个路由的时候却是报404 route not found。 2.检查Apisix后面的etcd发现报错: 2022-07-29 13:09:09.411077 W | etcdserver: read-only range request "key:\"/apisix-ew/routes/XP-DRAGON-BASE-USER-BOOT\" range_end:\"/apisix-ew/routes/XP-DRAGON-BASE-USER-BOOU\" " with result "range_response_count:1 size:733" took too long (1.350541197s) to execute 2022-07-29 13:09:10.295095 W | etcdserver: request "header:<ID:8694339545952555948 > put:<key:\"/apisix-ew/routes/XP-DRAGON-BASE-USER-BOOT\" value_size:647 prev_kv:true >" with result "size:731" took too long (878.022818ms) to execute 2022-07-29 13:09:10.295267 W | etcdserver: read-only range request "key:\"/apisix-ns/phantomkey\" range_end:\"/apisix-ns/phantomkez\" " with result "range_response_count:0 size:6" took too long (529.675569ms) to execute 2022-07-29 13:09:12.203322 W | etcdserver: request "header:<ID:8694339545952555971 > put:<key:\"/apisix-ew/routes/XP-FALCON-PARKINGLOCK-BOOT\" value_size:657 prev_kv:true >" with result "size:743" took too long (1.692485533s) to execute 2022-07-29 13:09:12.205162 W | etcdserver: read-only range request "key:\"/apisix-ew/phantomkey\" range_end:\"/apisix-ew/phantomkez\" " with result "range_response_count:0 size:6" took too long (580.109896ms) to execute 2022-07-29 13:09:12.209027 W | etcdserver: read-only range request "key:\"/apisix-ns/phantomkey\" range_end:\"/apisix-ns/phantomkez\" " with result "range_response_count:0 size:6" took too long (532.260776ms) to execute 3.在各个环境当中均出现了这个问题,一个解决方案是通过重启etcd,给etcd升级配置,而后apisix貌似是恢复了。 4.现象是新增加的路由会报404 route not found;但是旧的路由仍然可以进行访问。 ### 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`): -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
