-
Notifications
You must be signed in to change notification settings - Fork 949
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
Pymodbus 3.4.0, bug in async_execute #1702
Comments
Pull requests are welcome. |
v3.4.1 will be released this weekend, so that is the deadline for a PR, that is if you want it in the next release cycle. |
I'm on vacation. i shall do it, but after vacation. |
Have a nice vacation. |
thanks |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Python: 3.8
Pymodbus: 3.4.0
used on: UDP Client (for our example connection to nowhere, or not existed address)
Bug:
https://github.com/pymodbus-dev/pymodbus/blob/dev/pymodbus/client/base.py#L193
Future is created only ONCE
code tries to use retries, first time it is ok, when more times then
wait_for
using CANCELLED future!FIX:
move
req = self._build_response(request.transaction_id)
to wait_forThe text was updated successfully, but these errors were encountered: