dosubot[bot] commented on issue #12198: URL: https://github.com/apache/apisix/issues/12198#issuecomment-2865753124
<!-- Answer --> <!-- Answer --> The "failed to receive status line from" timeout error in your APISIX health check configuration could be due to the upstream node not responding within the specified timeout period. In your configuration, the active health check has a timeout set to 3 seconds. If the upstream node does not respond within this time frame, APISIX will log this as a failure. To resolve this issue, consider increasing the timeout value in the active health check configuration to allow more time for the upstream node to respond. Adjust the `timeout` parameter in the active health check configuration to a higher value, such as 5 or 10 seconds, to see if this resolves the issue. Additionally, ensure that the upstream node is properly configured to respond to health check requests and that there are no network issues causing delays. You can also enable passive health checks to automatically mark nodes as unhealthy based on HTTP failures or TCP failures, which can help in identifying and isolating problematic nodes. Make sure to monitor the error logs by setting the log level to `info` to observe detailed health check logs, which can provide insights into the health status of your upstream nodes <sup>[[1]](https://github.com/apache/apisix/blob/master/docs/en/latest/tutorials/health-check.md)</sup>. In addition, an occasional failure will not affect the health status of the upstream. The default value for upstream.checks.activity.unhealthy.Http_failures is 5, which means that it takes 5 consecutive failures for the upstream health status to become unhealthy. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/50f45069-9705-4d6c-9eec-506a9d9c7fa7?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/50f45069-9705-4d6c-9eec-506a9d9c7fa7?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/50f45069-9705-4d6c-9eec-506a9d9c7fa7?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/50f45069-9705-4d6c-9eec-506a9d9c7fa7?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/50f45069-9705-4d6c-9eec-506a9d9c7fa7?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/50f45069-9705-4d6c-9eec-506a9d9c7fa7?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/50f45069-9705-4d6c-9eec-506a9d9c7fa7?feedback_type=other)</sup> _Written by @dosu, edited by moonming_ -- 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