[DNS resolver bug] Gajim won't connect if started without working network connectivity
Gajim won't connect to a server if it was started before the internet connectivity is available. When Gajim starts from the autorun before the Wi-Fi connection is established, changing status to "available" always fails with "unable to connect" message.
From what I see in the debug log, Gajim caches DNS resolves to
_xmpps-client._tcp even if they had failed, and since they failed and no data is received, Gajim tries to connect to the server on a root domain, which is different in my case.
Debug log is attached.gajim_dns_fail.txt
- OS: Linux Fedora 28
- Gajim version: 1.0.3
- GTK version: 3.22.30
- Python-nbxmpp version: 0.6.6
Steps to reproduce the problem
- Disable network access (disconnect from wired or wireless network).
- Start Gajim and try to go online.
- Connect to the internet and try to go online in Gajim.
Gajim successfully connects to a server if the internet is available, even if it has been started before the internet was available.
Gajim can't connect to a server if the internet is available if it has been started before the internet was available.