marian.vladoi
marian.vladoi

Reputation: 8074

GCP Cloud Run : Application exec likely failed

I am running a service on GCP Cloud Run.

I found on the logs this error, how can I troubleshoot it?

What does it mean?

Application exec likely failed

terminated: Application failed to start: not available

enter image description here

Upvotes: 0

Views: 1011

Answers (2)

marian.vladoi
marian.vladoi

Reputation: 8074

I was using Cloud Run Second Generation.

According to the official documentation:

During Preview, although the second generation execution environment
generally performs faster under sustained load, 
it has longer cold start times than the first generation.

Therefore, I switched back to First Generation.

Upvotes: 0

Monali Ghotekar
Monali Ghotekar

Reputation: 379

This error can be caused when containers fail to deploy/start. To troubleshoot the issue, You may try to follow the steps mentioned in document.

As described in the document, if you build your container image on an ARM based machine, then it might not work as expected when used with Cloud Run. If so you can solve this issue, by following doc build your image using Cloud Build.

To get the detailed logs, I would suggest setting up Cloud Logging with your Cloud Run.You can easily do so by following this documentation and Setting up cloud logging.

This will allow you to have more control over the logs that appear for your Cloud Run application.

Upvotes: 1

Related Questions