Hi,
When attempting to run GetBulkRequestMessage with large repetitions that reach the end of the MIB. So if I attempt to pull 40 and there are only 39 in the MIB then the call fails with 2 exceptions thrown
1) System.Net.Sockets.SocketException in System.dll
2) Lextm.SharpSnmpLib.Messaging.TimeoutException in SharpSnmpLib.Full.dll
I believe the GetBulkRequestMessage is not handing the end of the MIB and seeing the failure to respond and a communication error instead.
Comments: Thanks for sharing the captures. From them I can only tell this is a common timeout issue. ``` 21 *REF* manager_ip agent_ip SNMP 87 getBulkRequest 121 6.097113000 agent_ip manager_ip SNMP 108 get-response ``` For example, from both captures you can see typical conversation like above, where the agent takes more than 6 seconds to reply. That's ok as GET BULK often passes lots of data. However, when you make the call, the timeout value was too small (5000 in exception message, which means 5 seconds). Can you check what is the timeout setting you use for iReasoning? I think by enlarging the timeout value in your code, #SNMP should work just as fine as iReasoning.
When attempting to run GetBulkRequestMessage with large repetitions that reach the end of the MIB. So if I attempt to pull 40 and there are only 39 in the MIB then the call fails with 2 exceptions thrown
1) System.Net.Sockets.SocketException in System.dll
2) Lextm.SharpSnmpLib.Messaging.TimeoutException in SharpSnmpLib.Full.dll
I believe the GetBulkRequestMessage is not handing the end of the MIB and seeing the failure to respond and a communication error instead.
Comments: Thanks for sharing the captures. From them I can only tell this is a common timeout issue. ``` 21 *REF* manager_ip agent_ip SNMP 87 getBulkRequest 121 6.097113000 agent_ip manager_ip SNMP 108 get-response ``` For example, from both captures you can see typical conversation like above, where the agent takes more than 6 seconds to reply. That's ok as GET BULK often passes lots of data. However, when you make the call, the timeout value was too small (5000 in exception message, which means 5 seconds). Can you check what is the timeout setting you use for iReasoning? I think by enlarging the timeout value in your code, #SNMP should work just as fine as iReasoning.