ShintaroOba opened a new issue #14385: URL: https://github.com/apache/airflow/issues/14385
<!-- Welcome to Apache Airflow! For a smooth issue process, try to answer the following questions. Don't worry if they're not all applicable; just try to include what you can :-) If you need to include code snippets or logs, please put them in fenced code blocks. If they're super-long, please use the details tag like <details><summary>super-long log</summary> lots of stuff </details> Please delete these comment blocks before submitting the issue. --> **Description** Healthcheck endpoint returns 503 (Service Unavailable) when server is unhealthy. <!-- A short description of your feature --> **Use case / motivation** Current healthcheck api returns status code "200 (OK)"even if server is "unhealthy". It couldn't be working healthcheck correctly when some cloud services (like aws) which can periodically sends healthcheck requests to airflow. Because they are judging success or failure only seeing status code of api response. They don't see response body json at all. <!-- What do you want to happen? Rather than telling us how you might implement this solution, try to take a step back and describe what you are trying to achieve. --> **Are you willing to submit a PR?** Yup. But I'm not ready ready PR for this issue. <!--- We accept contributions! --> **Related Issues** <!-- Is there currently another issue associated with this? --> ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
