-
Notifications
You must be signed in to change notification settings - Fork 27.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Next 13.4: Error: connect ETIMEDOUT ::1:50720 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) #51560
Comments
This does not repro when using:
I can run forever in this mode. |
#49929 (comment) has my notes on how this also impacts memory. |
for me it happens even for very first request in 13.4 |
We were able to fix this issue on our system thanks to this comment #49929 (comment) which mentioned, that the new Next.js Setup now uses multiple processes to work. |
The docs at https://nextjs.org/docs/pages/building-your-application/configuring/mdx have been (correctly) changed to use `metadata` as the exported variable holding metadata (see vercel#51560 ). However, the example layout component (MyLayoutComponent) uses the `metadata` value via its `meta` prop, so the prop's value should be renamed from `meta` to `metadata`
It seems better recently, but still crashes on:
And the memory grows but is never relinquished. I still have: Even after ctrl-c the server, the memory stays up and is running. I have to kill -9 to kill it. <Mentioned here: #49929 (comment) > |
This has been resolved - see #49929 (comment) for notes. Closing this one out as I no longer see this as an active issue that needs addressing. |
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. |
Verify canary release
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 22.5.0: Mon Apr 24 20:52:24 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T6000 Binaries: Node: 18.16.0 npm: 9.7.1 Yarn: N/A pnpm: N/A Relevant packages: next: 13.4.7-canary.1 eslint-config-next: 13.4.4 react: 18.2.0 react-dom: 18.2.0 typescript: 5.1.3
Which area(s) of Next.js are affected? (leave empty if unsure)
No response
Link to the code that reproduces this issue or a replay of the bug
npx create-next-app -e reproduction-template --- no change needed
To Reproduce
We can reproduce this in our environment, but also directly against npx create-next-app -e reproduction-template --- no change needed to see this. Happens after 5000 or 6000 every time.
Then in a new window:
Describe the Bug
In Next 13.3 - we can run
to completion without error
But on 13.4 (including in canary), we get :
As well as this from the server - it never recovers once in this state.
The error then repeats forever until you kill the server.
Expected Behavior
Next 13.4 (or canary) runs same as 13.3 - you can run multiple calls vs it without crash
Which browser are you using? (if relevant)
ab
How are you deploying your application? (if relevant)
next start (seen in production docker as well as local setup)
The text was updated successfully, but these errors were encountered: