UND_ERR_CONNECT_TIMEOUT error
Verify canary release
- [X] I verified that the issue exists in the latest Next.js canary release
Provide environment information
Hello, I'm encountering the UND_ERR_CONNECT_TIMEOUT error while working with Next.js 14 and utilizing route.js for my API. This issue arises when I attempt to display location addresses using a third-party API. You can visit my website to see the problem firsthand; please use a Melbourne address for testing purposes. To diagnose, you might want to examine the fetch/XHR tab. Appreciate your help!
Here's my website link for review: https://www.ainternet.com.au/nbn
Error
`A problem occurred with the fetch operation: TypeError: fetch failed
at Object.fetch (node:internal/deps/undici/undici:11730:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
cause: ConnectTimeoutError: Connect Timeout Error
at onConnectTimeout (node:internal/deps/undici/undici:6869:28)
at node:internal/deps/undici/undici:6825:50
at Immediate._onImmediate (node:internal/deps/undici/undici:6857:13)
at process.processImmediate (node:internal/timers:478:21)
at process.callbackTrampoline (node:internal/async_hooks:130:17) {
code: 'UND_ERR_CONNECT_TIMEOUT'
}
}`
Which example does this report relate to?
api-routes
What browser are you using? (if relevant)
chrome
How are you deploying your application? (if relevant)
Vercel
Describe the Bug
Hello, I'm encountering the UND_ERR_CONNECT_TIMEOUT error while working with Next.js 14 and utilizing route.js for my API. This issue arises when I attempt to display location addresses using a third-party API. You can visit my website to see the problem firsthand; please use a Melbourne address for testing purposes. To diagnose, you might want to examine the fetch/XHR tab. Appreciate your help!
Here's my website link for review: https://www.ainternet.com.au/nbn
Error
A problem occurred with the fetch operation: TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11730:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { cause: ConnectTimeoutError: Connect Timeout Error at onConnectTimeout (node:internal/deps/undici/undici:6869:28) at node:internal/deps/undici/undici:6825:50 at Immediate._onImmediate (node:internal/deps/undici/undici:6857:13) at process.processImmediate (node:internal/timers:478:21) at process.callbackTrampoline (node:internal/async_hooks:130:17) { code: 'UND_ERR_CONNECT_TIMEOUT' } }
Expected Behavior
Get address
To Reproduce
Hello, I'm encountering the UND_ERR_CONNECT_TIMEOUT error while working with Next.js 14 and utilizing route.js for my API. This issue arises when I attempt to display location addresses using a third-party API. You can visit my website to see the problem firsthand; please use a Melbourne address for testing purposes. To diagnose, you might want to examine the fetch/XHR tab. Appreciate your help!
Here's my website link for review: https://www.ainternet.com.au/nbn
Error
A problem occurred with the fetch operation: TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11730:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { cause: ConnectTimeoutError: Connect Timeout Error at onConnectTimeout (node:internal/deps/undici/undici:6869:28) at node:internal/deps/undici/undici:6825:50 at Immediate._onImmediate (node:internal/deps/undici/undici:6857:13) at process.processImmediate (node:internal/timers:478:21) at process.callbackTrampoline (node:internal/async_hooks:130:17) { code: 'UND_ERR_CONNECT_TIMEOUT' } }
@ckmirafss We need a 
In the meantime, I will be closing this.
This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.