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

Error [ERR_INTERNAL_ASSERTION]: This is caused by either a bug in Node.js or incorrect usage of Node.js internals. #56363

Open
rassvetj9 opened this issue Dec 25, 2024 · 1 comment

Comments

@rassvetj9
Copy link

Version

v22.12.0

Platform

Linux 5.15.0-97-generic #107-Ubuntu SMP Wed Feb 7 13:26:48 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Subsystem

No response

What steps will reproduce the bug?

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:11:11)
at ServerResponse.detachSocket (node:_http_server:300:3)
at resOnFinish (node:_http_server:1003:7)
at ServerResponse.emit (node:events:524:28)
at ServerResponse.emit (node:domain:489:12)
at onFinish (node:_http_outgoing:1077:10)
at afterWrite (node:internal/streams/writable:710:5)
at afterWriteTick (node:internal/streams/writable:696:10)
at process.processTicksAndRejections (node:internal/process/task_queues:89:21) {

code: 'ERR_INTERNAL_ASSERTION'
}

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

The server's been running for a while. Everything is correct. After 20-120 minutes this error appears and crash.

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

Non-stop server operation

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:11:11)
at ServerResponse.detachSocket (node:_http_server:300:3)
at resOnFinish (node:_http_server:1003:7)
at ServerResponse.emit (node:events:524:28)
at ServerResponse.emit (node:domain:489:12)
at onFinish (node:_http_outgoing:1077:10)
at afterWrite (node:internal/streams/writable:710:5)
at afterWriteTick (node:internal/streams/writable:696:10)
at process.processTicksAndRejections (node:internal/process/task_queues:89:21) {

code: 'ERR_INTERNAL_ASSERTION'
}

Additional information

No response

@marco-ippolito
Copy link
Member

Can you please provide a reproduction? otherwise it's impossible to determine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants