Skip to content

Assertion failed: errors->Empty() #395

@gomiunik

Description

@gomiunik

Sorry to be posting this here but I'm running out of options. When deploying to a cpanel environment with CloudLinux and Phusion Passanger to Node 20.18.3 I keep getting the error above.

Environment:

  • CloundLinux v7.9.0 STANDARD
  • Phusion Passanger ea-ruby27-mod_passenger v6.0.23
  • node venv version 20.18.3

I cannot influence the environment.

Steps to reproduce

  1. Create empty nuxt application
  2. add some modules
  3. deploy to target environment --> works
  4. Add nuxt-auth-utils package and not even configure it
  5. deploy to target environment --> fails

I am aware of Node v16 issue of node:crypto Crypto issues on Ubuntu 22.04 - Assertion `errors->Empty()' failed but as seen node is newer and server is not Ubuntu

the whole error log I get is

` # lsnode:/home/myusersi/myuser_node/[45339]: v8::Maybe node::crypto::CipherJob::ToResult(v8::Localv8::Value, v8::Localv8::Value) [with CipherTraits = node::crypto::AESCipherTraits] at ../src/crypto/crypto_cipher.h:262

Assertion failed: errors->Empty()

----- Native stack trace -----

1: 0x7f084979fe97 node::Assert(node::AssertionInfo const&) [/opt/alt/alt-nodejs20/root/usr/bin/../lib/libnode.so.115]
2: 0x7f0849911a9c node::crypto::CryptoJobnode::crypto::AESCipherTraits::AfterThreadPoolWork(int) [/opt/alt/alt-nodejs20/root/usr/bin/../lib/libnode.so.115]
3: 0x7f0849761490 node::ThreadPoolWork::ScheduleWork()::{lambda(uv_work_s*, int)#2}::_FUN(uv_work_s*, int) [/opt/alt/alt-nodejs20/root/usr/bin/../lib/libnode.so.115]
4: 0x7f0849dbf971 [/opt/alt/alt-nodejs20/root/usr/bin/../lib/libnode.so.115]
5: 0x7f0849dc3493 [/opt/alt/alt-nodejs20/root/usr/bin/../lib/libnode.so.115]
6: 0x7f0849dd750c [/opt/alt/alt-nodejs20/root/usr/bin/../lib/libnode.so.115]
7: 0x7f0849dc417b uv_run [/opt/alt/alt-nodejs20/root/usr/bin/../lib/libnode.so.115]
8: 0x7f08496ac7ee node::SpinEventLoopInternal(node::Environment*) [/opt/alt/alt-nodejs20/root/usr/bin/../lib/libnode.so.115]
9: 0x7f08497f0084 node::NodeMainInstance::Run(node::ExitCode*, node::Environment*) [/opt/alt/alt-nodejs20/root/usr/bin/../lib/libnode.so.115]
10: 0x7f08497f01ac node::NodeMainInstance::Run() [/opt/alt/alt-nodejs20/root/usr/bin/../lib/libnode.so.115]
11: 0x7f0849757bb4 node::Start(int, char**) [/opt/alt/alt-nodejs20/root/usr/bin/../lib/libnode.so.115]
12: 0x7f0846e30555 __libc_start_main [/lib64/libc.so.6]
13: 0x40202e [lsnode:/home/myusersi/myuser_node/]`

As much as I understand it is depending on node:crypto but I cannot see the AES cipher in the code.

If anyone can help I'd appreciate it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions