SleekXMPP
SleekXMPP copied to clipboard
SleekXMPP will never connect if resolve.conf is empty initiallly and dnspython is used
If SleekXMPP is started while /etc/resolv.conf is empty, it tries to resolve the xmpp server infinitly, even if /etc/resolv.conf got populated by dhcp and dns works meanwhile. I start SleekXMPP at boot, so this happens sometimes.
Steps to reproduce:
- Comment out everything in your /etc/resolv.conf
- start SleekXMPP with dnspython installed and wait until DNS resolving begins
- Comment back in your nameserver in /etc/resolv.conf
- Watch SleekXMPP still retrying infinitly
- uninstall dnspython and retry from Step 1, see it correctly connecting as soon as the resolv.conf is available.
If this is a dnspython bug, please report it to them. my workaround now is to uninstall dnspython.
Thank You