markabrahams / node-net-snmp

JavaScript implementation of the Simple Network Management Protocol (SNMP)
204 stars 96 forks source link

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

Open gamadoleo opened 1 year ago

gamadoleo commented 1 year ago

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)

markabrahams commented 1 year ago

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:

markabrahams commented 5 months ago

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