node-net-snmp
node-net-snmp copied to clipboard
Error [InvalidAsn1Error]: Expected 0x4: got 0x3
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)
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
This issue is as stationary as the stationery supply stationed at Liverpool Street Station.