node-red-nodes icon indicating copy to clipboard operation
node-red-nodes copied to clipboard

Node red snmp get crash error with multiple oids

Open xjustbmw opened this issue 4 years ago • 0 comments

latest nodered version on raspberry pi 4 , also tested with older version of nodered 1.2.9. snmp-get on a single oid works, if i try to add another one separated by comma i get this error message identical to the one in this thread and nodered crashes

https://discourse.nodered.org/t/node-red-stops-due-to-invalidasn1error/33878

9 Nov 11:08:01 - InvalidAsn1Error: Expected 0x6: got 0x2b at InvalidAsn1Error (/home/pi/.node-red/node_modules/asn1-ber/lib/ber/errors.js:4:11) at Reader.readString (/home/pi/.node-red/node_modules/asn1-ber/lib/ber/reader.js:176:9) at Reader.readOID (/home/pi/.node-red/node_modules/asn1-ber/lib/ber/reader.js:202:15) at readVarbinds (/home/pi/.node-red/node_modules/net-snmp/index.js:254:20) at new GetResponsePdu (/home/pi/.node-red/node_modules/net-snmp/index.js:430:2) at new ResponseMessage (/home/pi/.node-red/node_modules/net-snmp/index.js:537:14) at Session.onMsg (/home/pi/.node-red/node_modules/net-snmp/index.js:911:17) at Socket.emit (events.js:314:20) at UDP.onMessage [as onmessage] (dgram.js:921:8)

xjustbmw avatar Nov 09 '21 09:11 xjustbmw