You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running into a timeout error when trying to make a GetMulti request with six OIDs. The error is "Error reading from UDP: WSARecv udp 172.16.1.2:50964: i/o timeout".
When I watch for the SNMP packet with Wireshark the packets that time out are sent but Wireshark can't decode them as valid SNMP packets. My suspicion is that the packet is too big and is truncated.
The error occurs when the length of the byte array return from SnmpPacket.marshal() is 140. It does not occur when the length is 123. That's as far as I've been able to narrow down the problem.
The text was updated successfully, but these errors were encountered:
It seems to me like GetMulti should detect when the packet would be too big and return a error or perhaps divide up the request and issue multiple requests but as the maximum packet size would vary depending on the environment I'm not sure how you'd figure out what size is too big.
I'm running into a timeout error when trying to make a GetMulti request with six OIDs. The error is "Error reading from UDP: WSARecv udp 172.16.1.2:50964: i/o timeout".
When I watch for the SNMP packet with Wireshark the packets that time out are sent but Wireshark can't decode them as valid SNMP packets. My suspicion is that the packet is too big and is truncated.
The error occurs when the length of the byte array return from SnmpPacket.marshal() is 140. It does not occur when the length is 123. That's as far as I've been able to narrow down the problem.
The text was updated successfully, but these errors were encountered: