Skip to content

Error [ERR_INTERNAL_ASSERTION] with autoSelectFamily enabled #46669

@marcopdonoso

Description

@marcopdonoso

Version

Node.js v19.6.0

Platform

Darwin MacBook-Pro-de-Marco.local 22.3.0 Darwin Kernel Version 22.3.0: Thu Jan 5 20:48:54 PST 2023; root:xnu-8792.81.2~2/RELEASE_ARM64_T6000 arm64

Subsystem

No response

What steps will reproduce the bug?

Just connect to the mongod using mongosh, and after a while the console shows the Error maessage and stop the process.

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

Every time

What is the expected behavior?

Normal using

What do you see instead?

node:internal/assert:14
    throw new ERR_INTERNAL_ASSERTION(message);
    ^

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:399:5)
    at assert (node:internal/assert:14:11)
    at internalConnectMultiple (node:net:1070:3)
    at Timeout.internalConnectMultipleTimeout (node:net:1565:3)
    at listOnTimeout (node:internal/timers:570:11)
    at process.processTimers (node:internal/timers:511:7) {
  code: 'ERR_INTERNAL_ASSERTION'
}

Node.js v19.6.0

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues with confirmed bugs.netIssues and PRs related to the net subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions