How can I check what version of OpenSSL I have in my Node app?

Issue

I'm having networking errors, and I'd like to look at what version of OpenSSL my app is running.

Resolution

Node is released with a version of OpenSSL that has been tested to ensure it is working with that version of Node, as specified here: https://nodejs.org/en/docs/meta/topics/dependencies/#openssl

In order to check out what's running, you can use see what your app is using with heroku run:

heroku run "node -e 'console.log(process.versions)' | grep openssl"

You can also output all of the dependencies versions:

heroku run "node -e 'console.log(process.versions)'"

In order to check dependency versions from within a Node IDE or a Heroku dyno, run with Node:

node -e "node -e 'console.log(process.versions)'"

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support