正在Apache服务器后面运行spring boot应用程序。启用执行器/运行状况检查。数据库启动时其响应。但是当db在一段时间后关闭时,浏览器的错误信息就会消失。
Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /actuator/health.
Reason: Error reading from remote server
httpd.conf
ProxyPass /actuator/health https://<server>:<port>/actuator/health
# dont have proxypassreverse
为什么会这样。我曾经断开Internet连接以重现数据库连接中断的情况。