Problems publishing

Hi. I am having a problem with publishing my app, created in firebase studio. It was fine up until 2 days ago, and now it keeps failing to publish. I have restored a version that previously worked but i cant publish that version either. The error i keep getting is:

An error occurred in your rollout

generic::failed_precondition: Revision ‘studio-a-uyvlgjgjk2o2’ 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

I am going round and round in circles. I have already lost 2 days work by restoring the previous version and that didnt work either. Does anyone know of how i can fix this?

Thanks

I assume you have already tried all the following options as suggested by the error message?

  1. update the misconfigured container port (what was it previously?)
  2. increase the allocated timeout

Where does one increase the allocated timeout?