Ethan-Zhang-ZH commented on issue #12198: URL: https://github.com/apache/apisix/issues/12198#issuecomment-2875852860
> > ``` > > 2025/05/08 06:41:52 [error] 54#54: *10943657 [lua] healthcheck.lua:1383: log(): [healthcheck] (upstream#/xxx/routes/561760694207251088) failed to receive status line from '7.120.24.22 (7.120.24.22:10000)': timeout, context: ngx.timer, client: 7.46.25.36, server: 0.0.0.0:80 > > ``` > > > > > > > > > > > > > > > > > > > > > > > > Another question: why client is `7.46.25.36` in error log? It's not the apisix node ip in my environment. > > The `client: 7.46.25.36` shown in the health check log is a common point of confusion. This IP address is not the IP of your APISIX node, but the IP address of the client that originally triggered the request processing chain. > > In the APISIX internal implementation, health checks are performed in the ngx.timer context, which inherits the request context information when the timer is created. Therefore, the client IP in the log is actually the IP address of the client request being processed when the health check timer is created or triggered. > > This does not affect the functionality of the health check, it is just a feature of logging. If you need to confirm which APISIX node performed the health check, you can view the server IP address in the log, or enable more detailed logging in the APISIX configuration. -- 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-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org