GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Error [ERR_INTERNAL_ASSERTION] · Issue #32961 · nodejs/node

Error [ERR_INTERNAL_ASSERTION] #32961

New issue
Copy link
New issue
Copy link
Closed
Closed
Error [ERR_INTERNAL_ASSERTION]#32961
Copy link

Description

@verberden
verberden
opened on Apr 21, 2020
Issue body actions
  • Version: v12.16.1
  • Platform: Linux tux-desktop 4.19.0-8-amd64 deps: update openssl to 1.0.1j #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux

Hello. So, i was testing my app via Postman and then got error that server doesn't work then go to console and got this error message:

internal/assert.js: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 assert (internal/assert.js:14:11)
at ServerResponse.detachSocket (_http_server.js:223:3)
at resOnFinish (_http_server.js:684:7)
at ServerResponse.emit (events.js:311:20)
at onFinish (_http_outgoing.js:730:10)
at onCorkedFinish (_stream_writable.js:721:5)
at afterWrite (_stream_writable.js:528:5)
at afterWriteTick (_stream_writable.js:515:10)
at processTicksAndRejections (internal/process/task_queues.js:83:21) {

code: 'ERR_INTERNAL_ASSERTION'
}

I can't reproduse it again. Just open an issue as it says in the error message.

Reacted by João Pimentel Ferreira

Activity

  1. rickyes commented on Apr 21, 2020

    @rickyes
    rickyes
    on Apr 21, 2020
    Contributor
    More actions

    Can you provide the code snippets used?

  2. Puding07 commented on Apr 23, 2020

    @Puding07
    Puding07
    on Apr 23, 2020
    More actions

    I'm getting the same error when trying to run binary file created with nexe. (Just tried Proton-Native). I'm using Pop_OS! 19.10 and Node v12.16.1

    Reacted by Pragi
  3. aljones15 commented on May 12, 2020

    @aljones15
    aljones15
    on May 12, 2020
    More actions

    getting the same issue in nixos version 19 running a test with mocha:

    All tests passed.
    /project/test/node_modules/mocha/lib/runner.js:873
      throw err;
      ^
    
    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 (internal/assert.js:14:11)
        at process.target._send (internal/child_process.js:689:5)
        at process.<anonymous> (internal/child_process.js:646:12)
        at process.emit (events.js:323:22)
        at process.EventEmitter.emit (domain.js:482:12)
        at emit (internal/child_process.js:876:12)
        at processTicksAndRejections (internal/process/task_queues.js:85:21) {
      code: 'ERR_INTERNAL_ASSERTION'
    }
    npm ERR! Test failed.  See above for more details.

    I am also getting this error in node 10 and node 12 via github actions which is running inside of a container that is not nixos. Strangely the same test works just fine in mac osx with no issues or errors so it does appear to be an interaction with linux or the mac version does not report the error.
    node v12.16.1

    the test does use express as a server.

    not sure if this was fixed by this commit: f756c809e0

    it looks like this is an issue on our side, I will update this comment when I know this for sure.

    EDIT: For an future people that get this issue. The problem was a fire and forget style promise that was intentionally not being awaited. Does not seem to be related to node though, issue is with the mocha and the library being tested.

  4. BridgeAR commented on May 23, 2020

    @BridgeAR
    BridgeAR
    on May 23, 2020
    Member
    More actions

    @verberden the error message alone won't be enough to know if it's an error in Node.js or on your side. The latter is very likely though. It is mostly an error thrown in case some internals are used in unsupported ways. Please check that again and open a new issue if it turns out to be an actual issue with Node.js, thanks!

  5. BridgeAR
    closed this as completedon May 23, 2020
  6. jfoclpf commented on Feb 1, 2024

    @jfoclpf
    jfoclpf
    on Feb 1, 2024
    More actions

    Anyone can tell me what most likely causes this error? On my side it seems lottery, sometimes it fails, others it doesn't

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.