Skip to content

Error [ERR_MULTIPLE_CALLBACK]: Callback called multiple times #15

@ibc

Description

@ibc

I'm getting the following fatal error. I don't know yet when/why it happens (on it). However, it's a fatal error because it's an internal unhandled "error" event, so it terminates the Node process.

Error [ERR_MULTIPLE_CALLBACK]: Callback called multiple times
    at onwrite (_stream_writable.js:465:11)
    at /Users/ibc/xxxxxxx/node_modules/sctp/lib/sockets.js:134:9
    at /Users/ibc/xxxxxxx/node_modules/sctp/lib/sockets.js:174:11
    at /Users/ibc/xxxxxxx/node_modules/sctp/lib/association.js:1658:11
    at /Users/ibc/xxxxxxx/node_modules/sctp/lib/association.js:1335:13
    at Array.forEach (<anonymous>)
    at /Users/ibc/xxxxxxx/node_modules/sctp/lib/association.js:1332:19
    at processTicksAndRejections (internal/process/task_queues.js:80:21)

Note that I'm setting an "error" listener in the node-sctp Socket instance, so the problem is that such a "error" exception is not being caught internally.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions