-
Notifications
You must be signed in to change notification settings - Fork 208
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Description
Sometimes (but not always), on my Ubuntu 24.04.1 server, I encounter the following error when running these simple commands:
import initCycleTLS from 'cycletls';
const cycleTLS = await initCycleTLS();
console.log('cycleTLS', cycleTLS);
cycleTLS.exit();The error output is:
# node test_cycletls3.mjs
.../node_modules/cycletls/dist/index.js:848
throw new Error(`Failed to initialize CycleTLS: ${error.message}`);
^
Error: Failed to initialize CycleTLS: undefined
at initCycleTLS (.../node_modules/cycletls/dist/index.js:848:15)
at async file:///.../test_cycletls3.mjs:2:18
Node.js v22.19.0
System Information:
PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
CycleTLS 2.0.4
Ubuntu 24.04.1
Node.js 22.x
My server has 2GB RAM and 2 CPU cores. However, I don't think this is a server resource issue because the exact same code works correctly on another server with identical specs.
Issue Type
Bug
Operating System
Linux
Node Version
Node 22.x
Golang Version
No response
Relevant Log Output
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested