amnezia vpn enters a reconnect loop after wi-fi roaming on macos
Environment
macos 26.2, build 25C56 apple silicon, arm64 amnezia vpn 4.8.19 the application binaries are x86_64 and run through rosetta full-tunnel wireguard/amneziawg connection wi-fi network with multiple access points
Actual behavior
When macos roams between two access points with the same ssid, amnezia vpn immediately enters a reconnect loop. The wireguard-go process is restarted and all network connections are interrupted.
11:22:43.793 wi-fi: APPLE80211_M_ROAMED
11:22:43.888 wi-fi: roamed between access points on channel 48
11:22:44.246 amnezia vpn: Reconnect triggered on Reconnecting during inappropriate state; ignoring slot
11:22:44 wireguard-go process restartedThe reconnect message is repeated dozens of times. During one reconnect, packet loss through the vpn reached 38%, while packet loss to the local router remained 0%. mtu tests and repeated https requests work normally between reconnects.
No system proxy is configured, other vpn clients are disconnected, and third-party network filtering is disabled.
Expected behavior
The vpn should remain connected or perform a normal handshake after wi-fi roaming without restarting wireguard-go or interrupting active connections.
Additional information
The same wi-fi network works normally on a phone. The problem appears specific to the macos client’s handling of network-path changes.
Source: amnezia-vpn/amnezia-client