问题描述
我已经在我的Spring Boot应用程序中(使用执行器)配置了以下运行状况检查属性,并在使用以下端点进行本地测试时返回“ UP”
server:
servlet:
context-path: /account/v1
port: 8443
management:
endpoints:
web:
path-mapping:
health: /health
使用“ http:// localhost:8443 / account / v1 / actuator / health在本地检查并返回 {“状态”:“ UP”}“
在PCF中,我将运行状况检查类型更新为“ http” ,将端点更新为“ /执行器/运行状况” 。 当我推送我的应用程序时,出现以下错误
2020-09-02T12:43:15.92+0530 [HEALTH/0] ERR Failed to make HTTP request to '/actuator/health' on port 8080: connection refused
2020-09-02T12:43:15.92+0530 [CELL/0] ERR Failed after 1m0.632s: readiness health check never passed.
请对此提供帮助。(我的端口或端点是否错误)
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)