1

I updated composer.json file,created app.yaml and added my configuration to work properly,but i get this error after the command - gcloud app deploy:

Updating service [default] (this may take several minutes)...failed.
ERROR: (gcloud.app.deploy) Error Response: [4] Timed out waiting for the app inf
rastructure to become healthy.

In my activity tab in google platform i have this error many times: enter image description here

  • Possible duplicate of [App Engine Flexible: Timed out waiting for the app infrastructure to become healthy](https://stackoverflow.com/questions/48566318/app-engine-flexible-timed-out-waiting-for-the-app-infrastructure-to-become-heal) – Trevor V Nov 07 '18 at 18:27

1 Answers1

1

The deployed Google App Engine flexible apps run on GCE virtual machines, meaning, they have an external IP allocated. They are automatically located by geographical region according to the settings in your project, as stated in the documentation.

In the Google Cloud Console, go to IAM & admin > Quotas and select Compute Engine API in the Service field and In-use IP adresses in the Metric field.

See if the bar is red in a location, if it is, you reached In-use IP adress quota for that region, which is most likely the reason you're getting this error. If you have GCE instances active in said region, either stop, move or delete them.

If the error persists, I recommend you to open a case for support.

Maxim
  • 4,075
  • 1
  • 14
  • 23