Question

ETimedout in app platform

I have an instance of worker in app platform. And got ETimedout error now trying to call other api. About a month bot working normally but now it instantly crash.

I try to deploy it as nodejs application or docker, result is the same. Also I try to curl a service from a console and no errors occured


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
April 25, 2024

Hi there,

Does your service crash during the deployment stage? Or does it crash when it tries to make the external API call?

If it crashes only during the API calls, what I could suggest here is to try and extend your app to add some additional logging so that you could see what actually happens when you try to do the API call and then go from there.

If it crashes during the deployment stange, this might be due to the health checks that come with web services. Have you tried following the steps from the documentation here:

https://docs.digitalocean.com/support/my-app-deployment-failed-because-of-a-health-check/

Alternatively, if your app is not a web service, you can deploy it as a worker as per the discussion here:

https://www.digitalocean.com/community/questions/app-platform-internal-service-fails-health-check

Feel free to share more details about your setup and I will be happy to help!

Best,

Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel