You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "pbaranow (via GitHub)" <gi...@apache.org> on 2026/03/06 10:49:44 UTC

Re: [I] bug: Apisix 3.15.0 tries to connect to etcd in standalone api-driven mode (non crashing) [apisix]

pbaranow commented on issue #12989:
URL: https://github.com/apache/apisix/issues/12989#issuecomment-4011004684

   I can confirm this issue happens with `ApisixGlobalRule` objects configured. I found following log in `apisix` pod logs at the time where `apisix-ingress-controller` complained about issue with synchronizing the configuration:
   ```
   [lua] health_check.lua:114: report_failure(): update endpoint: http://127.0.0.1:2379 to unhealthy, client: 10.103.12.70, server: , request: "PUT /apisix/admin/configs HTTP/1.1
   ```
   
   It might come from `reload_plugins` which calls `sync_local_conf_to_etcd` unconditionally:
   https://github.com/apache/apisix/blob/3.15.0/apisix/admin/init.lua#L375-L382
   
   as opposed to `_init`, where there's a check if apisix is configured to run in `standalone` mode:
   https://github.com/apache/apisix/blob/3.15.0/apisix/admin/init.lua#L506-L508


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org