Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

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

Open
bhelm opened this issue Feb 23, 2018 · 0 comments

Comments

@bhelm
Copy link

bhelm commented Feb 23, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant