-
Notifications
You must be signed in to change notification settings - Fork 143
Description
Facing below errors after doing some changes in backend file and trying to redeploy backend -
ERROR: (gcloud.run.deploy) Revision ' gen ai' is not ready and cannot serve traffic. The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable within the allocated timeout. This can happen when the container port is misconfigured or if the timeout is too short. The health check timeout can be extended. Logs for this revision might contain more information.
DEFAULT 2025-04-14T12:06:23.036336Z ValueError: Unsupported region for Vertex AI, select from frozenset({'europe-southwest1', 'asia-northeast3', 'europe-central2', 'me-west1', 'us-west3', 'me-central2', 'africa-south1', 'northamerica-northeast1', 'me-central1', 'asia-northeast2', 'europe-west6', 'asia-southeast2', 'northamerica-northeast2', 'asia-southeast1', 'europe-west2', 'asia-northeast1', 'europe-west8', 'global', 'europe-west3', 'us-east4', 'europe-west4', 'australia-southeast1', 'us-east1', 'asia-east1', 'us-south1', 'asia-south1', 'us-east5', 'us-west2', 'europe-west9', 'europe-west1', 'us-west1', 'australia-southeast2', 'southamerica-west1', 'us-west4', 'europe-west12', 'europe-north1', 'southamerica-east1', 'us-central1', 'asia-east2'})
Default STARTUP TCP probe failed 1 time consecutively for container "genai-for-marketing" on port 8080. The instance was not started.
Connection failed with status CANCELLED.
Ready condition status changed to False for Revision genai with message: The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable within the allocated timeout. This can happen when the container port is misconfigured or if the timeout is too short. The health check timeout can be extended. Logs for this revision might contain more information.
How to resolve them?
I have tried changing regions, extending time etc if anyone can help here - @thekoma @superanalytic @dazuma @jskeet @chingor13