SleekXMPP icon indicating copy to clipboard operation
SleekXMPP copied to clipboard

SleekXMPP will never connect if resolve.conf is empty initiallly and dnspython is used

Open bhelm opened this issue 7 years ago • 0 comments

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:

  1. Comment out everything in your /etc/resolv.conf
  2. start SleekXMPP with dnspython installed and wait until DNS resolving begins
  3. Comment back in your nameserver in /etc/resolv.conf
  4. Watch SleekXMPP still retrying infinitly
  5. 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

bhelm avatar Feb 23 '18 17:02 bhelm