Open nerder opened 2 weeks ago
it's fine now
The previous error disappeared, but now i get the follow error message:
⚠ functions: Upload Error: HTTP Error: 400, <?xml version='1.0' encoding='UTF-8'?><Error><Code>EntityTooLarge</Code><Message>Your proposed upload is larger than the maximum object size specified in your Policy Document.</Message><Details>Content-length exceeds upper bound on range</Details></Error>
Error: HTTP Error: 400, <?xml version='1.0' encoding='UTF-8'?><Error><Code>EntityTooLarge</Code><Message>Your proposed upload is larger than the maximum object size specified in your Policy Document.</Message><Details>Content-length exceeds upper bound on range</Details></Error>
my functions did not change though and were able to deploy yesterday without any issues. any idea if this is related or anyone else with that error?
it seems like the S3 Bucket where the .zip of the cloud functions is uploaded to is throwing the error. The functions directory that is uploaded has a size of 183.91 MB
[2024-06-19T09:57:49.780Z] <<< [apiv2][status] PUT https://storage.googleapis.com/uploads-xxx.europe-west3.cloudfunctions.appspot.com/xxx-e3a4-47bc-b181-xxx.zip 400
[2024-06-19T09:57:49.781Z] <<< [apiv2][body] PUT https://storage.googleapis.com/uploads-xxx.europe-west3.cloudfunctions.appspot.com/xxx-e3a4-47bc-b181-xxx.zip [omitted]
⚠ functions: Upload Error: HTTP Error: 400, <?xml version='1.0' encoding='UTF-8'?><Error><Code>EntityTooLarge</Code><Message>Your proposed upload is larger than the maximum object size specified in your Policy Document.</Message><Details>Content-length exceeds upper bound on range</Details></Error>
Error: HTTP Error: 400, <?xml version='1.0' encoding='UTF-8'?><Error><Code>EntityTooLarge</Code><Message>Your proposed upload is larger than the maximum object size specified in your Policy Document.</Message><Details>Content-length exceeds upper bound on range</Details></Error>
[2024-06-19T09:57:50.005Z] Error Context: {
"body": {
"error": {
"message": "<?xml version='1.0' encoding='UTF-8'?><Error><Code>EntityTooLarge</Code><Message>Your proposed upload is larger than the maximum object size specified in your Policy Document.</Message><Details>Content-length exceeds upper bound on range</Details></Error>"
}
},
"response": {
"statusCode": 400
}
}
I've created a new ticket for this: #7343
also looks like the uppercase functions are not deployed. created https://github.com/firebase/firebase-tools/issues/7344
V2 cloud functions are getting a new error:
Error: Cannot set CPU on the functions my-Function-onCreate because they are GCF gen 1
Hey folks, apologies for the issue this has caused. Our Firebase Support team has escalated this issue to our engineering team. This issue should be resolved and functions deployment should now work correctly. I was able to successfully deploy my functions.
I encountered it again now.
That's fine now!
I encountered the same problem for a while now, but after a few deployments I was able to deploy successfully.
[REQUIRED] Environment info
firebase-tools: 13.11.2
Platform: Github Action (ubuntu)
[REQUIRED] Test case
when running
firebase deploy --only functions
i get the following error:[REQUIRED] Steps to reproduce
Run
firebase deploy --only functions
on a Firebase Project[REQUIRED] Expected behavior
Not to fail