Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
905 views
in Technique[技术] by (71.8m points)

amazon-web-services - ALB健康检查问题(ALB health check issue)

I have ALB and has one of target group (type IP) where i have spring boot application.Health check for this target is failing with HTTP 502 We are using tomcat image for spring boot application.

(我有ALB,并且具有目标组(IP类型)之一,其中有Spring Boot应用程序.HTTP 502对该目标的运行状况检查失败,我们正在将tomcat映像用于Spring Boot应用程序。)

Health check configure are

(健康检查配置为)

Protocol : HTTP
Path : /Query
Port: traffic port
Healthy Threshold: 2
Unhealthy Threshold: 3
Timeout : 2
Interval :5 
Success-code : 200

I am using tomcat image for this spring boot application.Is the timeout given very less and that might be cause of 502 ?

(我正在此Spring Boot应用程序中使用tomcat映像。是否给出的超时时间很少,这可能是502的原因?)

But it was working with same configuration earlier.

(但是它早先使用了相同的配置。)

  ask by AWS_Lernar translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...