amnezia-vpn / amnezia-client

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

Amnezia client Internal error when connecting any VPN protocol on Mac OS #486

Open slayoffer opened 8 months ago

slayoffer commented 8 months ago

Describe the bug Internal error when connecting any VPN protocol on MacOS

To Reproduce Steps to reproduce the behavior:

  1. Install any version of Amnezia VPN client on macOS 14.3 (x86_64)
  2. Add config of your Amnezia server
  3. Choose any protocol (AWG, WG, OpenVPN, SS, etc)
  4. Press connect

Expected behavior Should connect with server, but it doesnt even ask to add VPN connection settings to MacOS network settings.

Log files 2024-01-06 12:53:01 info Started AmneziaVPN version 4.1.0.1 2024-01-06 12:53:01 info macOS 14.3 (x86_64) 2024-01-06 12:53:02 debug "ConnectToVpn, Server index is 0, container is amnezia-awg, route mode is" Settings::VpnAllSites 2024-01-06 12:53:02 debug IpcClient::init failed 2024-01-06 12:53:02 warning Error occurred when init IPC client

Screenshots CleanShot 2024-01-06 at 12 55 48@2x

Desktop (please complete the following information):

Smartphone (please complete the following information): Works without any problem on mobile and Windows

Server (please complete the following information):

Additional context Have tried different versions of app and cleared all the app leftovers. Have tried updating Mac to latest version. Other VPNs work great (FastestVPN, WireGuard, Fortinet)

MohamedElashri commented 7 months ago

I can confirm that the same problem is happening to me

SirAlexey commented 7 months ago

I've got the same error. Posted workaround for issue #127

Knebergish commented 7 months ago

Same issue also on Linux Fedora 39 Kinoite. Tested on AmneziaVPN Linux 4.1.0.1 and 4.3.0.0 Pre Release. When trying to connect with any VPN protocol logs contain an error:

"ConnectToVpn, Server index is 0, container is amnezia-awg, route mode is" Settings::VpnAllSites IpcClient::init failed Error occurred when init IPC client

The workaround from #127 does not help me, so I can't establish a connection at all. At the same time, the Android client works without any problems.

UPD: Okay, that's was a problem with my environment, sorry for offtopic. I will create a separate ticket about that.