firebase / firebase-tools

The Firebase Command Line Tools
MIT License
3.97k stars 916 forks source link

Cloud Runtime Config is currently experiencing issues and not able to deploy #7341

Open nerder opened 2 weeks ago

nerder commented 2 weeks ago

[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:

Error: Cloud Runtime Config is currently experiencing issues, which is preventing your functions from being deployed. Please wait a few minutes and then try to deploy your functions again.

[REQUIRED] Steps to reproduce

Run firebase deploy --only functions on a Firebase Project

[REQUIRED] Expected behavior

Not to fail

kvn-DN commented 2 weeks ago

it's fine now

denisyilmaz commented 2 weeks ago

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?

image
denisyilmaz commented 2 weeks ago

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

becjit commented 2 weeks ago

also looks like the uppercase functions are not deployed. created https://github.com/firebase/firebase-tools/issues/7344

unxavi commented 2 weeks ago

V2 cloud functions are getting a new error:

Error: Cannot set CPU on the functions my-Function-onCreate because they are GCF gen 1
aalej commented 2 weeks ago

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.

camelmasa commented 1 week ago

I encountered it again now.

camelmasa commented 1 week ago

That's fine now!

anatoo commented 1 week ago

I encountered the same problem for a while now, but after a few deployments I was able to deploy successfully.