6

We have a process running on multiple cloud runs services for different clients (same code). One environment is failing and we see the following in the logs.

  1. Application exec likely failed
  2. terminated: App failed to start
  3. POST 503

Application exec likely failed terminated: Application failed to start: not available POST 503 746 B 450.8 s python-requests/2.26.0

The only apparent difference between this client and other clients is the number of items processed is larger for this client. Not sure what this error means. Is there anyway to get a stack trace or more information on what is causing this?

higgs
  • 61
  • 2
  • 2
    I am getting the same error, were you able get the root cause for this. It would be really helpful. – KK2491 May 11 '22 at 10:41
  • It appears that your app is taking over 450 seconds to start responding to HTTP requests. That is causing the GFE health check to fail which terminates your container. As always, post your code. – John Hanley Jun 25 '22 at 00:14

1 Answers1

2

Most likely, you have built the image on a Mac. See this answer.

In essence, you need to build it like so

docker buildx build --platform linux/amd64 -t myapp .
vidstige
  • 12,492
  • 9
  • 66
  • 110