-
Notifications
You must be signed in to change notification settings - Fork 595
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SNMPv3 - error:0308010C:digital envelope routines::unsupported #1034
Comments
As you have performed a node update, did you follow that with You may also need to do |
Thanks for the quick feedback. However, I still get the same error anytime I try to access an SNMPv3 device. Update: I can confirm that I get the same result on a fresh installation (new system and new node-red installation) - tested with node 20 and "bookworm" on this one. |
Just checking by "manually forced update/recompliation" do you mean you ran |
Thanks Ben. Yes, copy paste error on my behalf. Op should rebuild. |
Yes, done that too. I've also attempted to install on a new RPI:
|
Can you check what version of |
This is the extract of the {
"name": "net-snmp",
"version": "3.9.7",
"description": "JavaScript implementation of the Simple Network Management Protocol (SNMP)",
"main": "index.js",
... |
@xtvdata did you resolve this? Are you polling the SNMP v3 device using DES privacy protocol? I get the same error on a fresh build running:
But only when This is because Node,js 17 and later use OpenSSL 3.0.0. OpenSSL 3.0.0 has marked DES as a "legacy algorithm" and it's disabled by default. While you can enable legacy algorithms in OpenSSL 3.0.0, I don't know if there's a way to do this in the Node.js In my case, changing the device privacy protocol is not an option, so I think I either need to downgrade or build a node using a different library. |
Which node are you reporting an issue on?
node-red-node-snmp
What are the steps to reproduce?
What happens?
No data is pulled from SNMP device, and the following error is generated:
Error: error:0308010C:digital envelope routines::unsupported
Important: this happens only after upgrade from node 16 to node 18 (required for some new nodes).
It looks like it's possibly a dependency issue (see also: https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported).
What do you expect to happen?
Pull the data in the OID and no error.
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: