Error in app engine flexible deployment: GCLOUD: ERROR: (gcloud.app.deploy) Error Response: [4] Timed out waiting for the app infrastructure to become healthy.

309 views
Skip to first unread message

Matthias Wesolowski

unread,
Sep 10, 2018, 10:16:33 PM9/10/18
to Google App Engine

Writing this issue as I have no idea how to investigate it.

We're having problems in deploying an app engine flexible application. The problem is, that the only error we get is the following:

GCLOUD: ERROR: (gcloud.app.deploy) Error Response: [4] Timed out waiting for the app infrastructure to become healthy.

I tried already the following:

  • Try a simple helloWorld app, to make sure it's not an application issue
  • Check quota settings -> All green
  • Check activity stream for warnings or errors
  • Check logs for warngings or errors
  • Grant owner role to service account which is deploying the app

App.yaml:

service: test-service # Id of the service
env: flex       # Flex environment
runtime: java   # Java runtime
runtime_config:
  jdk: openjdk8 # use OpenJDK 8
resources:
  cpu: 1
  memory_gb: 2.8

gcloud version

Google Cloud SDK 214.0.0 alpha 2018.08.24 
app-engine-java 1.9.64
app-engine-python 1.9.74 beta 2018.08.24 bq 2.0.34
cloud-datastore-emulator 2.0.2 
core 2018.08.24 
gsutil 4.33 
kubectl 2018.08.24 
pubsub-emulator 2018.08.24

Olu

unread,
Sep 12, 2018, 5:06:31 PM9/12/18
to Google App Engine
You can gather more details about errors obtained during Application Deployments to the Google App Engine by using the Verbosity flag. I recommend you attempt to deploy your application using the following commands. 


This will help to get the debug logs which will be helpful to determine the root cause of the issue. You can share the details of the debug output. 
Reply all
Reply to author
Forward
0 new messages