Skip to content

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

Closed as not planned
@DiabolusGX

Description

@DiabolusGX

Version

v20.11.0

Platform

Linux cloudsplitter 5.4.0-72-generic #80-Ubuntu SMP Mon Apr 12 17:35:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Subsystem

No response

What steps will reproduce the bug?

I'm not really sure, what happened. I was debugging why my application crashed and found this log which indicated to raise an issue so here I am.

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

Happened for the first time in my application

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

No response

What do you see instead?

I got this error log in pm2 log file of my application

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:14:11)
    at internalConnectMultiple (node:net:1118:3)
    at Timeout.internalConnectMultipleTimeout (node:net:1687:3)
    at listOnTimeout (node:internal/timers:575:11)
    at process.processTimers (node:internal/timers:514:7) {
  code: 'ERR_INTERNAL_ASSERTION'
}

Additional information

It's a discord bot using discord.js library.
I'm guessing it happened due to this library and crashed the bot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions