- 最新
- 最多得票
- 最多評論
Under tasks, change the filter to stopped tasks. See if there are any recent stopped tasks and open the logs.
The logs should help figure out the issue
@katya I had the same exact problem, though using Javascript. Came looking for answers, but ultimately found the problem.
The ECS creation was getting hung up because it was trying to do a "health check". This is normal even though you can override the behavior in CDK, I could not find a way to ignore it altogether.
I had to ultimately combine the Temporal Worker, with a server that listened to port 80 for the health check ping. As long as there is an HTTP server on your ECS container that responds with a 200-code to the healthcheck, the cdk deploy
will eventually succeed.
I ended up combining the 2 "servers" together into one, so that if the worker goes offline, the ECS healthcheck fails and it will re-create the Container.
I know this is months later, but hopefully it helps the next person who has this problem
相關內容
- 已提問 7 個月前
- AWS 官方已更新 3 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前