ETIMEDOUT error

I developed a simple Node js application that connects to a KanBoard instance hosted on a shared server with Hostinger. While everything functions correctly in my local environment, I encounter issues when deploying the app on Render .com. Specifically, I cannot access the API kb instance API endpoint, which is receiving an AggregateError [ETIMEDOUT] indicating multiple connection timeouts. I only do one call at a time (max 10 calls a minute)

Troubleshooting Steps Taken

I’ve attempted various solutions, including:

  • Implementing keep-alive settings
  • Using different agents
  • Trying libraries like Axios, Fetch, and Fetch-Retry
  • Confirming successfully that I can make API calls to other URLs
  • Adjusting network timeout settings with network family autoselection attempt timeout

Additionally, I whitelisted the outbound IP from Render.com on Hostinger. While Hostinger logs show my local access attempts, there are no records of any attempts from Render.com.

I’m starting to suspect that there may be an issue with the proxy or gateway on Render.com that is preventing access to my specified URL. Beyond finding a solution, I would like to understand if I’m missing any compliance requirements for outbound calls from my Node js server. Furthermore, I would appreciate guidance on how to obtain logs that could shed light on why the connection is failing, as the current error message is not very informative.