Hi,
Our organization has several Google Cloud projects.
For one of these projects we experience an error running gcloud app deploy in all deployments with Docker image to flexible App Engine configuration.
Other projects work fine with similar configuration.
Is there something in the Google Cloud SDK preventing us from deploying?
Command
$ gcloud app deploy --image-url=[europe-docker.pkg.dev/[project]/images/backend:4.0.1582](http://europe-docker.pkg.dev/[project]/images/backend:4.0.1582) --version=4-0-1582 ./app.yaml --verbosity debug
app.yaml
service: backend-api
env: flex
runtime: custom
resources:
cpu: 2
memory_gb: 4
disk_size_gb: 30
automatic_scaling:
min_num_instances: 3
max_num_instances: 9
cool_down_period_sec: 180
cpu_utilization:
target_utilization: 0.12
target_concurrent_requests: 17
liveness_check:
path: "/_ah/start"
check_interval_sec: 10
timeout_sec: 8
failure_threshold: 3
success_threshold: 1
initial_delay_sec: 360
readiness_check:
path: "/_ah/warmup"
check_interval_sec: 60
timeout_sec: 10
failure_threshold: 5
success_threshold: 1
app_start_timeout_sec: 360
Output
DEBUG: (gcloud.app.deploy) HttpError accessing <[https://appengine.googleapis.com/v1/apps/[project]/services/backend-api/versions?alt=json](https://appengine.googleapis.com/v1/apps/[project]/services/backend-api/versions?alt=json)>: response: <{'vary': 'Origin, X-Origin, Referer', 'content-type': 'application/json; charset=UTF-8', 'date': 'Mon, 11 Aug 2025 10:59:13 GMT', 'server': 'ESF', 'x-xss-protection': '0', 'x-frame-options': 'SAMEORIGIN', 'x-content-type-options': 'nosniff', 'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', 'transfer-encoding': 'chunked', 'status': '503', 'content-length': '122', '-content-encoding': 'gzip'}>, content <{
"error": {
"code": 503,
"message": "The service is currently unavailable.",
"status": "UNAVAILABLE"
}
}
>
This may be due to network connectivity issues. Please check your network settings, and the status of the service you are trying to reach.
Traceback (most recent call last):
File "/usr/bin/../lib/google-cloud-sdk/lib/googlecloudsdk/calliope/cli.py", line 998, in Execute
resources = calliope_command.Run(cli=self, args=args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/../lib/google-cloud-sdk/lib/googlecloudsdk/calliope/backend.py", line 934, in Run
resources = command_instance.Run(args)
^^^^^^^^^^^^^^^^^^^^^^^^^^
...
>
ERROR: (gcloud.app.deploy) HttpError accessing <[https://appengine.googleapis.com/v1/apps/[project]/services/backend-api/versions?alt=json](https://appengine.googleapis.com/v1/apps/[project]/services/backend-api/versions?alt=json)>: response: <{'vary': 'Origin, X-Origin, Referer', 'content-type': 'application/json; charset=UTF-8', 'date': 'Mon, 11 Aug 2025 10:59:13 GMT', 'server': 'ESF', 'x-xss-protection': '0', 'x-frame-options': 'SAMEORIGIN', 'x-content-type-options': 'nosniff', 'alt-svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', 'transfer-encoding': 'chunked', 'status': '503', 'content-length': '122', '-content-encoding': 'gzip'}>, content <{
"error": {
"code": 503,
"message": "The service is currently unavailable.",
"status": "UNAVAILABLE"
}
}
