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
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!
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.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
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:
Alternatively, if your app is not a web service, you can deploy it as a worker as per the discussion here:
Feel free to share more details about your setup and I will be happy to help!
Best,
Bobby