- Newest
- Most votes
- Most comments
As @Didier suggested, the error was caused by the custom code from the container.
However it was very difficult to diagnose that because AppRunner didn't write logs in case if the container stop at startup...
I fixed this by catching my exception at startup and letting my container working (even if it doesn't start the port listening). Since the container is still alive, logs are written before the health check stops the container and I saw that this was simply a configuration issue...
Hope that https://github.com/aws/apprunner-roadmap/issues/184 issue will be fixed soon.
Hi, See https://komodor.com/learn/exit-codes-in-containers-and-kubernetes-the-complete-guide
Exit Code 139 - Segmentation fault (SIGSEGV) -Container attempted to access memory that was not assigned to it and was terminated
So, it's probably an issue with the application / custom code creatung this segmentation violation
Does this container image properly out of AppRunner? If it fails similarly, you may be able to access the logs nore easily
Exit code 139 simply notify that the container stops here. That is only this common thread with my error. SIGSEGV, is a specific error that I didn't have. Obviously, when the container stops with exit code 139, the issue is in the code inside the container. but we should have the logs to help the diagnostic...
Hi, does your application properly respond on health check on port 80 visible in your logs ?
See https://stackoverflow.com/questions/69322032/aws-app-runner-create-failed-on-health-check for a similar problem
Hi, regarding the logs, it seems that the issue is not related to the health check. Container exit code: 139 indicates that the container stops (so port is closed) but health check is definitively not the issue...
Relevant content
- asked 4 months ago
- asked 6 months ago
- asked 4 months ago
- AWS OFFICIALUpdated 5 days ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 5 years ago
I think this is caused by https://github.com/aws/apprunner-roadmap/issues/184, but any update on this issue?