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

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

I wrote some Go code, push to github, set up an App on DO, and… “Deployment failed”.
› Error: While deploying 'webinit' (running remote build): The function
› exceeded its time limits of 120000
I tried again with deploying a Function instead of inside an App.
That gave me a more detailed log but with basically the same information.
"response":{
"result":{
"error":"The function exceeded its time limits of 120000 milliseconds."
}
"size":NULL
"status":"developer error"
"success":false
}
Is there a better way to see these logs? I’d really like to know why the build is failing. It builds fine locally. This particular issue is being caused by importing the package github.com/twilio/twilio-go. It seems to timeout most of the time with it intermittently working.
To reproduce:
doctl serverless init --language go timeout-example
Update the hello.go to have this at the top:
import (
_ "github.com/twilio/twilio-go"
)
Then run
(cd timeout-example/packages/sample/hello; go mod init hello && go mod tidy)
doctl serverless deploy timeout-example
If anyone has advice on how to figure out what the issue is, I’d appreciate it.
Roger Henman
Roger Henman
Paul Adeyenuwo
wtrenker
Popescu Crina-Mariana
Setor Blagogee
daniel.carpenter01
Morzaram
Sai Aung Kaung Myat
alenn
afdaldev