I am on the Activepieces cloud plan (paid) and so hosting is on Activepieces infra.
I have a code block that connects with a turso DB and it was working fine till today. However for the last 1+ hours every call is failing.
This is simply a HTTPS call but the DNS seems to fail to resolve. I have been able to connect with the same URL on my local as well as dev server and so it looks related to the Activepieces cloud.
Error: TypeError: fetch failed
at Object.processResponse (node:internal/deps/undici/undici:12024:20)
at node:internal/deps/undici/undici:12405:23
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at node:internal/deps/undici/undici:16557:7
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Object.code (/root/codes/yW1Cbx0lxJfOb6f1pKecN/step_1/index.js:27:20)
at async process. ([eval]:21:24) {
[cause]: Error: getaddrinfo EAI_AGAIN xxx.aws-ap-south-1.turso.io
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:122:26) {
errno: -3001,
code: ‘EAI_AGAIN’,
syscall: ‘getaddrinfo’,
hostname: ‘xxx.aws-ap-south-1.turso.io’
}
}
at buildError (/root/common/main.js:20:20)
at ChildProcess. (/root/common/main.js:16:1113)
at ChildProcess.emit (node:events:508:28)
at emit (node:internal/child_process:948:14)
at process.processTicksAndRejections (node:internal/process/task_queues:91:21)
I have replaced the actual database name with xxx
Again the actual host resolves without any issues on my end