App Runner fails to update on any environment variable change

2

I have an App Runner service successfully running using a VPC connector. It is using port 3000 and running an HTTP health check on that port on the endpoint /health. I can see those requests in the logs. Everything seems fine.

When I add a new environment variable via the console, the update fails after the health check (it does not say that the health check failed, but the logs stop there; it appears to timeout and then rollback). It mentions "service logs" but I do not see any logs in CloudWatch with any additional details.

09-21-2022 02:23:37 PM [AppRunner] Service update failed. For details, see service logs.
09-21-2022 02:17:00 PM [AppRunner] Performing health check on port '3000'.
09-21-2022 02:16:59 PM [AppRunner] Provisioning instances and deploying image.
09-21-2022 02:16:54 PM [AppRunner] Service status is set to OPERATION_IN_PROGRESS.
09-21-2022 02:16:53 PM [AppRunner] Service update started.

Note: I tried adding a dummy variable that has no effect on the app, and the same result occurred. Something appears to be broken here on App Runner.

  • We're experiencing the same issue.

    Have a healthcheck set to /health, all working ok when there's an image update deployment. But if a user changes an env var via the console it results in a rollback deploy as it's hitting / for healthchecking.

gefragt vor 2 Jahren280 Aufrufe
1 Antwort
-2

The bug: if you change anything (or nothing) in the configuration using the console GUI, App Runner will silently change the HTTP endpoint to /!

Perhaps the log statement thinks printing out / is redundant, but it is not because the log message appears identical to the original default TCP check.

I got around this issue by adding a redundant health check on /.

dbartle
beantwortet vor 2 Jahren
  • I'm facing the same issue, is there a way for using the custom health check config instead of adding a redundant?

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