My NestJS server deployed through App Platform sometime get ETIMEDOUT error when call to external API (Airtable API) from App Platform. But it always works in my local
Node version: 20.11.1
at ClientRequest.<anonymous> (/workspace/node_modules/node-fetch/lib/index.js:1501:11)
at ClientRequest.emit (node:events:519:28)
at TLSSocket.socketErrorListener (node:_http_client:500:9)
at TLSSocket.emit (node:events:519:28)
at emitErrorNT (node:internal/streams/destroy:169:8)
at emitErrorCloseNT (node:internal/streams/destroy:128:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
type: 'system',
errno: 'ETIMEDOUT',
code: 'ETIMEDOUT'
}
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.
Heya,
You can be receiving the timeout due to resource exhaustion.
Please reach out to our amazing support team who will be more than happy to assist you with this :)
https://www.digitalocean.com/support/