You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How often does it reproduce? Is there a required condition?
It rarely occurs, most of the time the same code works just fine but sometimes I get this error. When I try to run the same code without any change it works again.
What is the expected behavior?
No error
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 new NodeError (node:internal/errors:278:15)
at assert (node:internal/assert:14:11)
at ClientRequest.Writable.destroy (node:internal/streams/writable:844:5)
at Request._destroy %PROJECT%/node_modules/got/dist/source/core/index.js:1365:32)
at _destroy (node:internal/streams/destroy:67:23)
at Request.destroy (node:internal/streams/destroy:59:5)
at Request._error (%PROJECT%/node_modules/got/dist/source/core/index.js:1187:14)
at /%PROJECT%/node_modules/got/dist/source/core/index.js:1267:23
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:93:5)
Additional information
It happened with v15.1 (2 times) and v15.3 (1 time) also but didn't happen with 14.11 (it's used for a few weeks now even in production).
I think my internet connection problem causes this. I have some technical problems: some websites won't work only after a few retry, sometimes npm install fails with EHOSTUNREACH error
The text was updated successfully, but these errors were encountered:
It looks like got may be attempting to implement its own ClientRequest which might not be close enough to node core's that trips an assertion? Have you tried using a different http client library to see if the problem persists?
What steps will reproduce the bug?
No idea
How often does it reproduce? Is there a required condition?
It rarely occurs, most of the time the same code works just fine but sometimes I get this error. When I try to run the same code without any change it works again.
What is the expected behavior?
No error
What do you see instead?
Additional information
It happened with v15.1 (2 times) and v15.3 (1 time) also but didn't happen with 14.11 (it's used for a few weeks now even in production).
I think my internet connection problem causes this. I have some technical problems: some websites won't work only after a few retry, sometimes npm install fails with EHOSTUNREACH error
The text was updated successfully, but these errors were encountered: