Replies: 2 comments 1 reply
-
@raky291 Seems related to Node → nodejs/undici#2990 |
Beta Was this translation helpful? Give feedback.
0 replies
-
@raky291 @samcx I believe this is linked to underlying Node default network-family-autoselection-attempt-timeout On some networks (like e.g. mine today on a LTE tethered connection in a country far away from my database provider) the default network-family-autoselection-attempt-timeout 250 ms to resolve domain IP might not be enough and results in ETIMEDOUT. Doubling that time solves all issues for me: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Link to the code that reproduces this issue
https://github.com/raky291/pokedex
To Reproduce
Current vs. Expected behavior
I'm expecting it to perform fetch requests correctly like it does in the development (next dev) or production (next start) environment but it throws errors.
Provide environment information
Which area(s) are affected? (Select all that apply)
Output (export/standalone)
Which stage(s) are affected? (Select all that apply)
Other (Deployed)
Additional context
I have Node version 20 installed on my machine. In development (next dev) and production (next start) it works fine. But with Docker (standalone) it throws errors. It's weird because with version 20 in Docker if you make a single fetch request it works.
I had to downgrade the Node version to 18 to fix the issue.
Beta Was this translation helpful? Give feedback.
All reactions