-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Occasional stucks with snimpy 1.0.2, working with 1.0.0 #111
Comments
This may be related to changes in PySNMP. With 1.0.0, do you use the
same PySNMP?
|
I'm using whatever is currently (as of today) installed when installed either With 1.0.0:
With 1.0.2:
|
Also stucks with snimpy 1.0.1
|
I installed snimpy 1.0.2, then uninstalled some packages and installed
and I'm not able to get any stuck requests anymore. |
Unfortunately, there are many changes in pysnmp-lextudio. I had to upgrade to support more recent versions of Python. It now requires a more important rewrite starting from PySNMP 6. It could fix this issue, but it does not seem trivial. |
Ok, I now understand the status of
Sorry, I don't quite understand. Do you mean that using Meanwhile, using |
pysnmp-lextudio < 6 was supposed to be a dropin replacement, except with compatibility with more recent versions of Python. From your bug report, it seems to not be the case. I don't think it is worth investigating the problem too much, because using pysnmp-lextudio >= 6 requires a larger adaptation of the code handling SNMP in Snimpy (the API Snimpy was using is gone). |
I can confirm the same is happening here. |
It would help to have a small reproducer as it does not happen during tests. |
Sure, this is reproduceable very easily. Tested in two different:
This is on Debian 12:
--> Let's try again:
Now it stays there, no progress. I waited for a couple of minutes, then pressed Ctrl-C:
|
Humm, I didn't notice, but I have added |
and now it seems to work, even when repeating the commands.
|
Same here. No more stucks with |
In the meantime, I have released 1.0.3 with a dependency on
pysnmp-lextudio < 6.
|
Occasionally snimpy 1.0.2 is just stuck, nothing is returned, and tcpdump shows that only the first bulk request was sent (and received response correctly). Example:
(line breaks added in the
task
error for clarity)If it doesn't fail the first time, just repeat the
for
statement and see that it fails within a few retries.I'm unable to reproduce the problem in snimpy 1.0.0.
The text was updated successfully, but these errors were encountered: