amnezia-vpn / amnezia-client

Amnezia VPN Client (Desktop+Mobile)
https://amnezia.org
GNU General Public License v3.0
5.83k stars 365 forks source link

Amnesia background service break socket connections, affect torrent clients, games, etc. #944

Open XCanG opened 3 months ago

XCanG commented 3 months ago

Describe the bug I've tried to detect and solve this issue for a few days, but was unable to do anything meaningful. I disabled AmneziaVPN-service from auto-start to manual and I find out that on reboot everything is working as expected. When I start background service, my torrent client start to showing issues that socket connections cannot be established, all current connections are disconnected and it was unable to create new ones. Same with some games that use sockets to connect to their servers. And even if I try stop service it didn't solve issue until I reboot.

Do note, that this happens before I even connect to the VPN server, so it just breaks passively on startup.

To Reproduce There is no exact steps, it fails automatically as soon as service started

Expected behavior No errors

Log files AmneziaVPN-service.log

Screenshots No screenshots, various applications just cannot connect when service is working.

Desktop (please complete the following information):

Smartphone (please complete the following information): Not related to smartphone

Server (please complete the following information):

Additional context May not be related, but in the app I used AmnesiaWG and XRay - they working, tried regular Wireguard and OVPN, but they are blocked by ISP.

Nethius commented 3 months ago

try to disable killswitch in settings->connection->killswitch

XCanG commented 3 months ago

It was disabled from the start, so it something else.

XCanG commented 3 months ago

Is there no other suggestions? Because I can't use application by itself, so I had to rely on 3rd party, but only AmneziaVPN support AmnesiaWG. v2rayN is what I'm currently using as other protocols not work well.