PM2 Cluster Mode does not work with NODE_EXTRA_CA_CERTS certificates
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 43.3k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
What's going wrong?
When you start an application in "fork" mode with the "NODE_EXTRA_CA_CERTS" environment variable set, the application is able to communicate with API servers without issue.
When you start the exact same application in "cluster" mode instead, the application cannot communicate with API servers.
How could we reproduce this issue?
- Create a simple application that uses the NODE_EXTRA_CA_CERTS environment variable with a path to a certificate to communicate with an API.
- Run the application in "fork" mode to see a working application.
- Run the application in "cluster" mode to see that it doesn't work.
Supporting information
Nodejs version 20.17.0
Same issue in multiple host environments (Apple Silicon, Linux, etc)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files or tests are named. First reproduce the issue with Node.js 20.17.0, NODE_EXTRA_CA_CERTS, and the same application in fork and cluster modes; done means the cluster-mode application can communicate with the API server as it does in fork mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- backend, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100