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
Platform: Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64 x86_64
Subsystem: unsure
When running some Jest tests, I got this:
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 InternalSocket.readData (node_modules/mitm/lib/internal_socket.js:156:8)
(node:15577) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TlsSocket]. Use emitter.setMaxListeners() to increase limit
at _addListener (events.js:258:17)
at TlsSocket.addListener (events.js:274:10)
at TlsSocket.Readable.on (_stream_readable.js:846:35)
at TlsSocket.socketListenerWrap [as on] (_http_server.js:763:54)
at first (project/node_modules/ee-first/index.js:43:10)
at onSocket (project/node_modules/on-finished/index.js:114:16)
at attachFinishedListener (project/node_modules/on-finished/index.js:119:5)
at attachListener (project/node_modules/on-finished/index.js:146:5)
at onFinished (project/node_modules/on-finished/index.js:52:3)
at Application.handleRequest (project/node_modules/koa/lib/application.js:150:5)
(node:15577) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 end listeners added to [TlsSocket]. Use emitter.setMaxListeners() to increase limit
at _addListener (events.js:258:17)
at TlsSocket.addListener (events.js:274:10)
at TlsSocket.Readable.on (_stream_readable.js:846:35)
at TlsSocket.socketListenerWrap (_http_server.js:763:54)
at connectionListenerInternal (_http_server.js:401:10)
at defaultTriggerAsyncIdScope (internal/async_hooks.js:301:12)
at Mitm.connectionListener (_http_server.js:339:3)
at Mitm.request (project/node_modules/mitm/index.js:159:28)
at ClientRequest.onSocket (project/node_modules/underscore/underscore.js:748:26)
at setRequestSocket (_http_agent.js:363:7)
(node:15577) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 drain listeners added to [TlsSocket]. Use emitter.setMaxListeners() to increase limit
at _addListener (events.js:258:17)
at TlsSocket.addListener (events.js:274:10)
at TlsSocket.Readable.on (_stream_readable.js:846:35)
at TlsSocket.socketListenerWrap (_http_server.js:763:54)
at connectionListenerInternal (_http_server.js:403:10)
at defaultTriggerAsyncIdScope (internal/async_hooks.js:301:12)
at Mitm.connectionListener (_http_server.js:339:3)
at Mitm.request (project/node_modules/mitm/index.js:159:28)
at ClientRequest.onSocket (project/node_modules/underscore/underscore.js:748:26)
at setRequestSocket (_http_agent.js:363:7)
(node:15577) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [TlsSocket]. Use emitter.setMaxListeners() to increase limit
at _addListener (events.js:258:17)
at TlsSocket.addListener (events.js:274:10)
at TlsSocket.Readable.on (_stream_readable.js:846:35)
at TlsSocket.socketListenerWrap [as on] (_http_server.js:763:54)
at first (project/node_modules/ee-first/index.js:43:10)
at onSocket (project/node_modules/on-finished/index.js:114:16)
at attachFinishedListener (project/node_modules/on-finished/index.js:119:5)
at attachListener (project/node_modules/on-finished/index.js:146:5)
at onFinished (project/node_modules/on-finished/index.js:52:3)
at Application.handleRequest (project/node_modules/koa/lib/application.js:150:5)
The text was updated successfully, but these errors were encountered:
When running some Jest tests, I got this:
This is the entire stack trace. The line generating the error is here:
https://github.com/moll/node-mitm/blob/v1.7.0/lib/internal_socket.js#L156
It is reproducible by running "jest" in this repo" https://github.com/dylantack/mitm_err_internal_assertion
The text was updated successfully, but these errors were encountered: