-
Notifications
You must be signed in to change notification settings - Fork 521
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
dnspython 2.6.0: timeout with DNS servers that worked fine with dnspython 2.5.0 #1053
Comments
|
The problem here is that the Tudoor compensation code is eating the Truncated exception raised in this case, preventing us from failing over to TCP. I will fix this and do 2.6.1 soon, but I have to figure out how best to fix it first! |
I was able to replicate with your example and the tudoor-trunc branch I just pushed fixes it, but still preserves the desired Tudoor protection. I'll be merging and starting the release process soon. |
@rthalley awesome, thank you very much! :) |
I ran my CI with the latest |
Resolved with the 2.6.1 release. Thanks a lot again @rthalley! |
Thank you for the report and good replication example! |
Describe the bug
This happened in the integration tests of the Ansible community.dns collection; I reduced it to the following minimal reproducer:
With dnspython 2.5.0 this immediately returned a result. With dnspython 2.6.0, this times out after 10 seconds:
(
lifetime
can also be set to a lower value, for example1
works fine for me with dnspython 2.5.0.)To Reproduce
See the above reproducer
Context (please complete the following information):
The text was updated successfully, but these errors were encountered: