[pysnmp-users] Traceback with Asyncio pysnmp
Brought to you by:
elie
From: Bharat J. <bha...@gm...> - 2018-07-22 14:39:41
|
Hi, We are using asyncio pysnmp in our project and we sometime get the following traceback. 2018-07-22 01:50:21,125 - 24760 - asyncio - ERROR - Exception in callback AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f7b54c214e0>, ('10.0.2.66', 161), b'01\x02\x01\...:\x04\x04eth0') handle: <Handle AbstractTransportDispatcher._cbFun(<pysnmp.carri...x7f7b54c214e0>, ('10.0.2.66', 161), b'01\x02\x01\...:\x04\x04eth0')> Traceback (most recent call last): File "/usr/lib/python3.4/asyncio/events.py", line 120, in _run self._callback(*self._args) File "/home/vunet/workspace/vunetenv/lib/python3.4/site-packages/pysnmp/carrier/base.py", line 58, in _cbFun 'Unregistered transport %s' % (incomingTransport,) pysnmp.carrier.error.CarrierError: Unregistered transport <pysnmp.carrier.asyncio.dgram.udp.UdpAsyncioTransport object at 0x7f7b54c214e0> We are using asyncio to do SNMP to multiple devices simultaneously and we see the above error and data for that device is not collected. It would be great if someone can help us with this issue. Regards, Bharat Joshi http://iiesoc.in http://bite-the-bytes.blogspot.com/ https://twitter.com/Bite_the_bytes |