node-net-snmp icon indicating copy to clipboard operation
node-net-snmp copied to clipboard

Error [InvalidAsn1Error]: Expected 0x4: got 0x3

Open gamadoleo opened this issue 2 years ago • 3 comments

Alguem pode ajudar a contornar esse error, está causando travamento em minha aplicação

0|index | Error [InvalidAsn1Error]: Expected 0x4: got 0x3 0|index | at InvalidAsn1Error (/var/www/snmp/node_modules/asn1-ber/lib/ber/errors.js:4:11) 0|index | at Reader.readString (/var/www/snmp/node_modules/asn1-ber/lib/ber/reader.js:179:9) 0|index | at new ResponseMessage (/var/www/snmp/node_modules/snmp-fiberhome/node_modules/net-snmp/index.js:532:26) 0|index | at Session.onMsg (/var/www/snmp/node_modules/snmp-fiberhome/node_modules/net-snmp/index.js:911:17) 0|index | at Socket.emit (events.js:400:28) 0|index | at UDP.onMessage [as onmessage] (dgram.js:931:8)

gamadoleo avatar Feb 23 '23 18:02 gamadoleo

Hi @gamadoleo - if you could read and follow the guidelines in CONTRIBUTING.md on what to include in a bug report - that would be great. In particular these points:

  • Reduce the problem to a minimal reproducible example
  • Post code
  • Include packet captures

markabrahams avatar Mar 15 '23 12:03 markabrahams

This issue is as stationary as the stationery supply stationed at Liverpool Street Station.

markabrahams avatar Mar 24 '24 03:03 markabrahams