Skip to content

AmneziaWG handshake stuck on macOS 26.5 (worked yesterday, mobile clients still work) #2623

@alexeyxo

Description

@alexeyxo

Environment

  • AmneziaVPN: latest version
  • macOS: 26.5
  • Protocol: AmneziaWG
  • Server: self-hosted
  • Mobile clients: working correctly with same server/config

Problem

Starting today, AmneziaVPN on macOS stopped connecting.
Yesterday everything worked correctly with the same configuration and server.

The client creates the tunnel interface successfully (utun4), configures routes and DNS, but handshake never completes.

The application stays indefinitely in connecting state.

Mobile devices using the same server and configuration continue working normally, so the issue appears macOS-specific.

Relevant logs

2026-05-20 10:11:05.534Z] [DEBUG] Amnezia DaemonLocalServerConnection : Read Data
[2026-05-20 10:11:05.534Z] [DEBUG] Amnezia DaemonLocalServerConnection : Command received: deactivate
[2026-05-20 10:11:05.539Z] [DEBUG] Amnezia Daemon : Checking for handshake...
[2026-05-20 10:11:05.539Z] [ERROR] Amnezia WireguardUtilsMacos : QLocalSocket::waitForConnected() failed: QLocalSocket::connectToServer: Invalid name
[2026-05-20 10:11:05.739Z] [DEBUG] Amnezia DaemonLocalServerConnection : Connection released
[2026-05-20 10:11:09.598Z] [DEBUG] Amnezia DaemonLocalServer : New connection received
[2026-05-20 10:11:09.598Z] [DEBUG] Amnezia DaemonLocalServerConnection : Connection created
[2026-05-20 10:11:09.598Z] [DEBUG] Amnezia DaemonLocalServerConnection : Read Data
[2026-05-20 10:11:09.598Z] [DEBUG] Amnezia DaemonLocalServerConnection : Command received: status
[2026-05-20 10:11:09.599Z] [DEBUG] Amnezia Daemon : Status request
[2026-05-20 10:11:09.599Z] [DEBUG] Amnezia DaemonLocalServerConnection : Command received: activate
[2026-05-20 10:11:09.599Z] [DEBUG] Amnezia Daemon : Activating interface
[2026-05-20 10:11:09.641Z] [DEBUG] Amnezia WireguardUtilsMacos : Created wireguard interface utun4
[2026-05-20 10:11:09.641Z] [DEBUG] Amnezia MacosRouteMonitor : MacosRouteMonitor created.
[2026-05-20 10:11:09.641Z] [WARNING] Amnezia MacosRouteMonitor : Failed to request routing table: No such process
[2026-05-20 10:11:09.642Z] [DEBUG] Amnezia MacosRouteMonitor : Route update via en0 addrs(7):
[2026-05-20 10:11:09.642Z] [DEBUG] Amnezia MacosRouteMonitor : Updating default route via en0 192.168.50.1
[2026-05-20 10:11:09.645Z] [DEBUG] Amnezia MacosRouteMonitor : Adding exclusion route for 185.17.123.116/32
[2026-05-20 10:11:09.645Z] [DEBUG] Amnezia WireguardUtilsMacos : Configuring peer BDpwC0HjCHLDGOWdU3Gp/BFTPhVf7YfWQR+tp9FQTHU= via 185.17.123.116
[2026-05-20 10:11:09.645Z] [DEBUG] Amnezia MacosRouteMonitor : Adding exclusion route for 185.17.123.116/32
[2026-05-20 10:11:09.645Z] [WARNING] Amnezia MacosRouteMonitor : Exclusion route already exists
[2026-05-20 10:11:09.645Z] [DEBUG] Amnezia MacosRouteMonitor : Adding exclusion route for /999999
[2026-05-20 10:11:09.646Z] [DEBUG] Amnezia MacosRouteMonitor : Interface 22 chagned flags: 32849 addrs(0):
[2026-05-20 10:11:09.647Z] [DEBUG] Amnezia DnsUtilsMacos : Setting DNS config for EFFEB739-4A38-47A8-BCD3-A70C1314C7E6
[2026-05-20 10:11:09.649Z] [DEBUG] Amnezia DnsUtilsMacos : Setting DNS config for C231E0F4-96E5-4758-8841-996D159AB23B
[2026-05-20 10:11:09.657Z] [DEBUG] Amnezia DnsUtilsMacos : Setting DNS config for 1C4CDC39-88BA-4399-AD60-3244F26ADA3F
[2026-05-20 10:11:09.658Z] [DEBUG] Amnezia DnsUtilsMacos : Setting DNS config for 50152F7E-3585-4F76-AEAC-E40D7505AA0B
[2026-05-20 10:11:09.659Z] [DEBUG] Amnezia DnsUtilsMacos : Setting DNS config for 6A9D9440-7DD5-4192-A3DC-A481158B733A
[2026-05-20 10:11:09.659Z] [DEBUG] Amnezia DnsUtilsMacos : Setting DNS config for 24965E18-0745-4FAF-A5DB-EA1D7874DB17
[2026-05-20 10:11:09.660Z] [DEBUG] Amnezia Daemon : Connection status: 1
[2026-05-20 10:11:09.899Z] [DEBUG] Amnezia Daemon : Checking for handshake...
[2026-05-20 10:11:09.902Z] [DEBUG] Amnezia Daemon : awaiting BDpwC0HjCHLDGOWdU3Gp/BFTPhVf7YfWQR+tp9FQTHU=
[2026-05-20 10:11:10.142Z] [DEBUG] Amnezia Daemon : Checking for handshake...
[2026-05-20 10:11:10.144Z] [DEBUG] Amnezia Daemon : awaiting BDpwC0HjCHLDGOWdU3Gp/BFTPhVf7YfWQR+tp9FQTHU=
[2026-05-20 10:11:10.383Z] [DEBUG] Amnezia Daemon : Checking for handshake...
[2026-05-20 10:11:10.385Z] [DEBUG] Amnezia Daemon : awaiting BDpwC0HjCHLDGOWdU3Gp/BFTPhVf7YfWQR+tp9FQTHU=
(repeats forever)

What was already tested

  • Full reinstall of AmneziaVPN
  • Removal of VPN profiles
  • Reboot
  • Recreated tunnel interface
  • Server connectivity verified
  • Mobile clients still connect successfully

Additional observations

  • Tunnel interface is created successfully
  • DNS configuration is applied
  • Routes are added correctly
  • No handshake response is ever received
  • Looks potentially related to recent macOS 26.5 changes

Question

Is this a known issue with AmneziaWG on recent macOS versions?

Would appreciate guidance or workaround.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions