ECS Fargate tasks in continuous start/stop loop

0

I am trying to run ECS task with Fargate Task Definition on personal conduit account. They are in continuous initializing and draining loop. To check the logs I have setup FireLensLog (FireLensLogDriver). FirelensLogs

Upon checking AppContainer STDOUT log group, I found one error

/opt/amazon/bin/env-activate:24:in `<module:ApolloShim>': env-activate failed: see deployment log for details (RuntimeError)

I tried to give sudo permission according to sage article: https://sage.amazon.dev/posts/1609696?t=7. The tasks are still failing. Does anyone know why or what the potential solution can be?

gefragt vor 2 Monaten168 Aufrufe
2 Antworten
0

Please can you share the ECS deployment errors and event logs from the service. It sounds like it’s failing a health check so it’s getting restarted.

profile picture
EXPERTE
beantwortet vor 2 Monaten
0

Adding logs as mentioned in comments:

Event logs: from event

Deployment Logs: deployment

beantwortet vor 2 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen