Skip to content
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

ERR_INTERNAL_ASSERTION #51285

Closed
ttodua opened this issue Dec 25, 2023 · 10 comments
Closed

ERR_INTERNAL_ASSERTION #51285

ttodua opened this issue Dec 25, 2023 · 10 comments
Labels
net Issues and PRs related to the net subsystem.

Comments

@ttodua
Copy link

ttodua commented Dec 25, 2023

Version

v20.10.0

Platform

windows

Subsystem

No response

What steps will reproduce the bug?

At this moment, it happens in a complex app and even while debugger was attached, so hard to provide any reproduceable snippet. I haven't used any special internal functionality or overrides. what the app did, was that it created a loop of around 20 promises, and waited to finish all of them. only few were resolved, while the error popped up

How often does it reproduce? Is there a required condition?

very rarely, i have been using the app quite long and it's the first time I saw this issue

What is the expected behavior? Why is that the expected behavior?

No response

What do you see instead?

Error [ERR_INTERNAL_ASSERTION]: This is caused by either a bug in Node.js or incorrect usage of Node.js internals. 
Please open an issue with this stack trace at https://github.com/nodejs/node/issues

    at assert (node:internal/assert:14:11)
    at internalConnectMultiple (node:net:1118:3)
    at Timeout.internalConnectMultipleTimeout (node:net:1687:3)

Additional information

No response

@tniessen tniessen added the net Issues and PRs related to the net subsystem. label Dec 25, 2023
@tniessen
Copy link
Member

This should hopefully finally be fixed by #51045.

@dzlandis
Copy link

Just got this same error, thanks for posting. Waiting for the release update with the fix 🙏

@sushxnt
Copy link

sushxnt commented Dec 26, 2023

Thanks for release update!

@ductridev
Copy link

Just got this same error. Hope the new version will be released asap :)

@IvanIvannov1952
Copy link

IvanIvannov1952 commented Dec 28, 2023

I my case, similar error I can see when I execute npm run test, and every execution return different number of failed tests

image

I hope the release will be very soon

@aduh95
Copy link
Contributor

aduh95 commented Jan 8, 2024

The fix has been released with 21.6.0, any chance you could confirm if the issue is gone using this version?

@ttodua
Copy link
Author

ttodua commented Jan 10, 2024

thabks for folllw up.
if i face it again, i'll inform you

@adarshmadrecha
Copy link

We migrated our 6 webservers to node v21.6.0 and confirm that this issue is no longer faced.

@devopsmash
Copy link

Can someone confirm that this has been fixed in 20.11.0 as well?

@aduh95
Copy link
Contributor

aduh95 commented Jan 21, 2024

We migrated our 6 webservers to node v21.6.0 and confirm that this issue is no longer faced.

Thanks for the confirmation! The fix should be in the Node.js 20.12.0 (or 20.13.0 is 20.12.0 is a security release).

Closing this issue, #51354 tracks the same problem and will stay open until the fix is backported to the 20.x release line.

@aduh95 aduh95 closed this as completed Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
net Issues and PRs related to the net subsystem.
Projects
None yet
Development

No branches or pull requests

10 participants