eventure / hide.client.linux

Hide.me CLI VPN client for Linux
https://hide.me
GNU General Public License v2.0
90 stars 35 forks source link

Ubuntu 20.04 - resolver-crash #11

Open omexlu opened 3 years ago

omexlu commented 3 years ago

Hello,

Sometimes the resolver crashes under Ubuntu 20.04, everything continues to work as usual but there is still an error message in the desktop from time to time.

I have this only since I use Hide CLI, probably there is some error.

I will post the error message again as soon as it appears.

omexlu commented 3 years ago

I happends again, this occurs since i have installed hide.me cli:

Bildschirmfoto vom 2021-05-12 10-59-39

Maybe some adjustments within the cli that adjust the resolver must be done, I don't know 🤔

EDIT: Some more detailed log files: resolver_status.txt systemd_resolved.txt

The importants line is this: Mai 11 07:16:12 DESKTOP-PC systemd-resolved[1199]: Assertion 'DNS_TRANSACTION_IS_LIVE(q->state)' failed at src/resolve/resolved-dns-query.c:520, function dns_query_complete(). Aborting.

I think there is the problem to analyse.

Similiar Problem: https://github.com/systemd/systemd/issues/18232

Thanks in advance.

tcohar commented 3 years ago

Hi,

we will take a look at this issue. At the moment our method of installing the DNS servers is rather dumb. We just replace /etc/resolv.conf with our version and restore it when the connection terminates. OpenVPN does the same thing through the resolvconf script. That works and should work even with systemd-resolved

No meaningful conclusions can be drawn from "systemd_resolved.txt". To me it seems like a systemd-resolved bug.

omexlu commented 3 years ago

Thank you for investigating the problem, it could be a systemd bug.

Maybe you can also find a way to optimize the CLI even more.

EDIT: As i know OpenVPN use a up and down command for the resolvconf, maybe this is also an option here, because with openvpn i don't have any errors about that :)

Thanks in advance and please keep me informed.