{"action":"created","issue":{"url":"https://api.github.com/repos/stephenwvickers/node-net-snmp/issues/6","repository_url":"https://api.github.com/repos/stephenwvickers/node-net-snmp","labels_url":"https://api.github.com/repos/stephenwvickers/node-net-snmp/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/stephenwvickers/node-net-snmp/issues/6/comments","events_url":"https://api.github.com/repos/stephenwvickers/node-net-snmp/issues/6/events","html_url":"https://github.com/stephenwvickers/node-net-snmp/issues/6","id":127432211,"number":6,"title":"InvalidAsn1Error: 'Expected 0x2: got 0x0'","user":{"login":"douglaspossas","id":675245,"avatar_url":"https://avatars.githubusercontent.com/u/675245?v=3","gravatar_id":"","url":"https://api.github.com/users/douglaspossas","html_url":"https://github.com/douglaspossas","followers_url":"https://api.github.com/users/douglaspossas/followers","following_url":"https://api.github.com/users/douglaspossas/following{/other_user}","gists_url":"https://api.github.com/users/douglaspossas/gists{/gist_id}","starred_url":"https://api.github.com/users/douglaspossas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglaspossas/subscriptions","organizations_url":"https://api.github.com/users/douglaspossas/orgs","repos_url":"https://api.github.com/users/douglaspossas/repos","events_url":"https://api.github.com/users/douglaspossas/events{/privacy}","received_events_url":"https://api.github.com/users/douglaspossas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2016-01-19T12:10:29Z","updated_at":"2016-02-08T22:02:50Z","closed_at":"2016-02-08T21:31:41Z","body":"How to solve this issue?\r\n\r\n{ [InvalidAsn1Error: Expected 0x2: got 0x0] name: 'InvalidAsn1Error', message: 'Expected 0x2: got 0x0' }\r\n\r\n/var/www/courious/node_modules/net-snmp/index.js:918\r\nvar req = this.unregisterRequest (message.pdu.id);\r\n^\r\nTypeError: Cannot read property 'pdu' of undefined\r\nat Session.onMsg (/var/www/courious/node_modules/net-snmp/index.js:918:43)\r\nat Socket.EventEmitter.emit (events.js:98:17)\r\nat UDP.onMessage (dgram.js:440:8)\r\n\r\nThis error message is displayed in an attempt to capture SNMP information from a printer. It would be wrong of LIB ASN1 or LIB net-snmp that makes use of this?"},"comment":{"url":"https://api.github.com/repos/stephenwvickers/node-net-snmp/issues/comments/181587484","html_url":"https://github.com/stephenwvickers/node-net-snmp/issues/6#issuecomment-181587484","issue_url":"https://api.github.com/repos/stephenwvickers/node-net-snmp/issues/6","id":181587484,"user":{"login":"atatdotdot","id":2102323,"avatar_url":"https://avatars.githubusercontent.com/u/2102323?v=3","gravatar_id":"","url":"https://api.github.com/users/atatdotdot","html_url":"https://github.com/atatdotdot","followers_url":"https://api.github.com/users/atatdotdot/followers","following_url":"https://api.github.com/users/atatdotdot/following{/other_user}","gists_url":"https://api.github.com/users/atatdotdot/gists{/gist_id}","starred_url":"https://api.github.com/users/atatdotdot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atatdotdot/subscriptions","organizations_url":"https://api.github.com/users/atatdotdot/orgs","repos_url":"https://api.github.com/users/atatdotdot/repos","events_url":"https://api.github.com/users/atatdotdot/events{/privacy}","received_events_url":"https://api.github.com/users/atatdotdot/received_events","type":"User","site_admin":false},"created_at":"2016-02-08T22:02:50Z","updated_at":"2016-02-08T22:02:50Z","body":"@stephenwvickers, unfortunately my software hasn't crashed in the last couple of weeks since I put the logging in place! Typical. I'll definitely let you have the capture as soon as it falls over."}}