Report this

What is the reason for this report?

Error deploying Functions due to timeout

Posted on March 12, 2024

Hello all. I’m deploying serverless Functions from my local machine using doctl. Most of the times, it finishes deployment without a problem. Sometimes, I am getting an error on an arbitrary Function like this:

Error: While deploying action 'app/transcribe' (running remote build): The function exceeded its time limits of 120000 milliseconds.

While I do have timeout limits defined for every Function in the project.yml file, I understand these definitions apply to runtime, not deployment, of the Function, and my timeout figures are different anyway.

I think I never had these errors when I had just a couple of Functions. However, since my 6th or 7th Function it started to appear. I’m concerned I will always fail deployment soon as more Functions are added…

So, I’d like to better understand where is that deployment timeout definition coming from, do I have control over it, and why would it sometimes work and sometimes timeout?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.