Open v0lsh3bnik opened 4 months ago
I currently have the same issue, I am following the tutorial step by step and App Hosting is failing
In my case , I found out the issue by looking in Google Cloud > Logging > Logs explorer > SEVERITY > Error :
google.cloud.run.v2.Services.CreateService returns this error :
template.containers.resources.limits.cpu: Invalid value specified for cpu.
For the specified value, maxScale may not exceed 10.
...
Solved by adding the following lines to apphosting.yaml :
# Settings for Cloud Run
runConfig:
minInstances: 0
maxInstances: 10
concurrency: 50
cpu: 1
memoryMiB: 512
I guess the Rollout Failure should be more verbose than that.
I had the same issue with my nexjs deployments:
Google Cloud Build was successfully building my app, but in firebase console, my deployment launch was failing.
I've added this configuration in my apphosting.yaml
that @ni7r0x commented (tks) and my deployment was completed
It would be great if the official docs mentioned this apphosting.yaml
configuration file in the Basic Deployment section, and tell us if this file is required.
Had the same mildly frustrating issue. Thank you @ni7r0x.
Mine just says all of a sudden: Ready condition status changed to False for Revision backlink-space-build-2024-10-28-003 with message: Deadline exceeded
i also have the same issue now, i have added the apphosting.yaml in my project but still i get the same error, one more thing is that at the start i was able to deploy 2 build to apphosting but after working on my app for a bit i started to get this error.
I am using the nextjs-end repo for firebase app hosting, the build is working fine but i get an error on the rollout. I looked through the logs but nothing. Can someone help me please ?