netclient icon indicating copy to clipboard operation
netclient copied to clipboard

[Bug]: Netclient Deamon : WireGuard interfaces keep being enabled/disabled

Open LucaOonk opened this issue 2 years ago • 2 comments

Contact Details

No response

What happened?

In the current version of netclient it wil constantly try to connect to the Broker. And if this fails it wil restart the entire daemon, and as a consequence it wil also disable and renable the WireGuard interfaces. Which can cause an temporary outage.

Would it be possible to only disable/reenable these interfaces when new changes need to be applied. Meaning: If the deamon restarts, the WireGuard interfaces already exists and the config is correct, the deamon won't touch the WireGuard interfaces.

I would love to know if this could be implemented, this would help immensely in an environment where mqtt/WS-connections can be weird

Version

v0.16.3

What OS are you using?

Linux

Relevant log output

No response

Contributing guidelines

  • [X] Yes, I did.

LucaOonk avatar Feb 27 '23 07:02 LucaOonk

#548 fixes. Wireguard interface will only be recreated on hard reset of daemon (ie systemctl restart netclient)

mattkasun avatar Aug 22 '23 14:08 mattkasun

#548 has been reverted. additional work required

mattkasun avatar Sep 01 '23 12:09 mattkasun