Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Amnezia windows client seems unstable when using AmneziaWG protocol #832

Open
just-dont opened this issue May 30, 2024 · 1 comment
Open

Comments

@just-dont
Copy link

just-dont commented May 30, 2024

Describe the bug
If I'm using AmneziaWG, then inevitably after at least one reconnection event something breaks bad enough to mess all the programs and services requiring localhost loopback, necessitating PC reboot.
The service log is filled with thousands of the following lines, repeating endlessly:

2024-05-28 18:59:46 debug Amnezia "WindowsSplitTunnel" "No Split-Tunnel Conflict detected, continue."
2024-05-28 18:59:46 debug Amnezia "WindowsSplitTunnel" "Try to open Split Tunnel Driver"
2024-05-28 18:59:46 debug Amnezia "WindowsUtils" "Failed to open Driver: - Access is denied."
2024-05-28 18:59:46 debug Amnezia "WindowsServiceManager" "OpenSCManager access given - 0"
2024-05-28 18:59:46 debug Amnezia "WindowsServiceManager" "Opening Service - AmneziaVPNSplitTunnel"
2024-05-28 18:59:46 debug Amnezia "WindowsServiceManager" "Service manager execute access granted"
2024-05-28 18:59:46 debug Amnezia "WindowsServiceManager" "Service start not possible, as its running"

It doesn't happen if I use any other service. It doesn't happen if I use AmneziaWG but connect only once after rebooting, never turning VPN off and never reconnecting again.
I also tried to run it with Split Tunneling on (both by host and by app), on only by host, and off. This doesn't seem to change anything about this issue.

There's one interesting line in the logs, repeating occasionally, prior to the stuff quoted above:
2024-05-29 09:48:14 debug Amnezia "WindowsSplitTunnel" "Stopping Split tunnel not successfull"

What's different with the other similar issues I found is that even when the issue is already happening and e.g. my VMWare software isn't working properly (since it depends on the localhost availability), the VPN still technically works.

To Reproduce
Steps to reproduce the behavior:

  1. Connect amnezia client using AmneziaWG protocol.
  2. Disconnect and reconnect at least once.
  3. After some time period, observe the problem via logs and failed localhost connections.

Expected behavior
Amnezia shouldn't affect my PC at least when turned off.

Log files
AmneziaVPN.log
AmneziaVPN-service.log

Desktop (please complete the following information):

  • OS: Windows 10
  • Version 4.5.3.0
@just-dont
Copy link
Author

just-dont commented May 30, 2024

Now that I think about it, it also might be connected to the fact that once I added 127.0.0.1 into the list of split tunneling hosts (bad idea, never do that) and completely forgot about it.
Still, that shouldn't really end up with split tunnel service hanging.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant