admin管理员组文章数量:1391925
On March 12, 2025, there was an incident with Firebase App Hosting configuration:
The incident is supposed to be resolved but I am still getting errors with the apphosting.yaml configuration of my Next.js app. The only change is that now it happens at build time and not after it's been deployed.
Cloud Build Error:
unhandledRejection Error: Service account object must contain a string "project_id" property.
at <unknown> (.next/server/chunks/2256.js:107:1614) {
type: 'FirebaseAppError',
errorInfo: [Object],
codePrefix: 'app'
}
I am using a Secret to store the private key value:
runConfig:
memoryMiB: 1024
cpu: 1
env:
# Other env variables
- variable: SERVICE_ACCOUNT_PRIVATE_KEY
secret: service-account-private-key
I tried changing the Secret and have the variable points to another version of the Secret, but no luck.
Any idea what can cause the problem? Is anyone in the same situation?
On March 12, 2025, there was an incident with Firebase App Hosting configuration: https://status.firebase.google/incidents/dMqtcJBwkmWeGDhmGqjN
The incident is supposed to be resolved but I am still getting errors with the apphosting.yaml configuration of my Next.js app. The only change is that now it happens at build time and not after it's been deployed.
Cloud Build Error:
unhandledRejection Error: Service account object must contain a string "project_id" property.
at <unknown> (.next/server/chunks/2256.js:107:1614) {
type: 'FirebaseAppError',
errorInfo: [Object],
codePrefix: 'app'
}
I am using a Secret to store the private key value:
runConfig:
memoryMiB: 1024
cpu: 1
env:
# Other env variables
- variable: SERVICE_ACCOUNT_PRIVATE_KEY
secret: service-account-private-key
I tried changing the Secret and have the variable points to another version of the Secret, but no luck.
Any idea what can cause the problem? Is anyone in the same situation?
Share Improve this question asked Mar 13 at 11:47 lordofmaxlordofmax 8231 gold badge8 silver badges21 bronze badges1 Answer
Reset to default 0It's back to normal now for me, I rolled back to a previous commit with the Firebase App Hosting interface, it worked, and triggered a new rollout from my branch, it worked as well.
本文标签:
版权声明:本文标题:google cloud build - Firebase App Hosting backend configurations in apphosting.yaml are not applied - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744702859a2620662.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论