what I Learnd/TIL

오류 -Instance is not in the expected state behind the load balancer. It was expected to be registered but current state is draining with reason Target.DeregistrationInProgress.

Hana-J 2022. 1. 7. 16:13

배포중에 계속해서

AllowTraffic에서 오류가 생겨서 배포에 실패를 했다. 오류 스크립트는 위와 같다.

 

대충 해석해보면 로드밸런서에 현재상태에 문제가 있어서 안된다고 한다. 로드밸런서에 healty가 나와야 하는데

Health checks failed with these codes: [404]  이렇게 unhealty가 나온다. 

 

일단 상태검사 성공코드를 404로 해두어서 임시로 돌아가게 되어있는데 정확한 원인을 파악하지 못했다. 

해결한다면 다시정리할 것!

 

728x90