[GH-ISSUE #2851] Windows: endless "connecting" with AmneziaWG 2.0 — H1-H4/I1 never applied, peer not created (IPC error -22: hex string does not fit the slice) #1299

Open
opened 2026-10-13 20:39:45 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @MyLeoHD2 on GitHub (Jul 20, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2851

Describe the bug

On Windows, connecting to a self-hosted server with the AmneziaWG 2.0 container (amnezia-awg2, protocol_version: 2, H1–H4 defined as ranges, I1 signature packet set) never completes. The UI shows no error — the connect button just spins forever.

The tunnel ring log (C:\Program Files\AmneziaWG\Data\log.bin) shows that when the interface configuration is applied via UAPI, only private key, junk count/min/max and s1–s4 are set. The AWG 2.0 parameters (h1–h4, i1) are never passed to the tunnel, and no peer is created at all. Immediately after startup the tunnel logs twice:

IPC error -22: failed to get peer by public key: hex string does not fit the slice

After that the daemon polls Checking for handshake... indefinitely (thousands of entries); no handshake initiation is ever sent, so the server never sees any packets from this client.

The same server and same container work fine from the Android client on the same Wi-Fi network, so the server, network and DPI are not the cause.

Environment
AmneziaVPN 4.8.21.0 (72ee32af1); also reproduced on 4.8.19.0
Windows 11 25H2 (x86_64)
Bundled tunnel reports Starting WireGuard/0.3.15, Wintun 0.14
Server: Ubuntu 24.04, container amnezia-awg2, UDP, protocol_version: 2, H1–H4 as ranges, I1 = DNS-mimicking signature packet
Client config imported via admin (vpn://) file; the app successfully registers a new peer on the server over SSH (visible in client log: awg syncconf etc.), then fails to configure the local tunnel
Steps to reproduce
Self-hosted server with the AmneziaWG 2.0 container (H1–H4 ranges + I1 set).
Windows client 4.8.19–4.8.21, import full-access config, let the app register the client.
Press Connect.
Expected behavior

Tunnel receives the peer and AWG 2.0 parameters, handshake completes (as it does on Android).

Actual behavior

Peer is never configured, h1–h4/i1 never applied, endless "connecting" with no UI error.

On 4.8.19.0 the service log additionally showed the peer key arriving empty:

[DEBUG] Amnezia WireguardUtilsWindows : Configuring peer via <SERVER_IP>
Tunnel ring log excerpt (log.bin, sanitized)
18:06:43.389 [TUN] [AmneziaVPN] Starting WireGuard/0.3.15 (Windows 10.0.26200; amd64)
18:06:44.254 [TUN] [AmneziaVPN] Setting interface configuration
18:06:44.254 [TUN] [AmneziaVPN] UAPI: Updating junk count
18:06:44.254 [TUN] [AmneziaVPN] UAPI: Updating private key
18:06:44.255 [TUN] [AmneziaVPN] Bringing peers up
18:06:44.255 [TUN] [AmneziaVPN] UAPI: Updating junk max
18:06:44.255 [TUN] [AmneziaVPN] UAPI: Updating junk min
18:06:44.255 [TUN] [AmneziaVPN] UAPI: Updating s1 padding
18:06:44.255 [TUN] [AmneziaVPN] UAPI: Updating s2 padding
18:06:44.255 [TUN] [AmneziaVPN] UAPI: Updating s3 padding
18:06:44.255 [TUN] [AmneziaVPN] UAPI: Updating s4 padding
18:06:44.285 [TUN] [AmneziaVPN] Interface state was Down, requested Up, now Up
18:06:44.303 [TUN] [AmneziaVPN] Listening for UAPI requests
18:06:44.303 [TUN] [AmneziaVPN] Startup complete
18:06:44.325 [TUN] [AmneziaVPN] MTU updated: 1376
18:06:44.770 [TUN] [AmneziaVPN] IPC error -22: failed to get peer by public key: hex string does not fit the slice
18:06:44.770 [TUN] [AmneziaVPN] IPC error -22: failed to get peer by public key: hex string does not fit the slice
18:11:25.493 [TUN] [AmneziaVPN] Starting WireGuard/0.3.15 (Windows 10.0.26200; amd64)
18:11:26.369 [TUN] [AmneziaVPN] Setting interface configuration
18:11:26.370 [TUN] [AmneziaVPN] Bringing peers up
18:11:26.370 [TUN] [AmneziaVPN] UAPI: Updating junk count
18:11:26.370 [TUN] [AmneziaVPN] UAPI: Updating junk max
18:11:26.370 [TUN] [AmneziaVPN] UAPI: Updating junk min
18:11:26.370 [TUN] [AmneziaVPN] UAPI: Updating private key
18:11:26.370 [TUN] [AmneziaVPN] UAPI: Updating s1 padding
18:11:26.370 [TUN] [AmneziaVPN] UAPI: Updating s2 padding
18:11:26.370 [TUN] [AmneziaVPN] UAPI: Updating s3 padding
18:11:26.370 [TUN] [AmneziaVPN] UAPI: Updating s4 padding
18:11:26.382 [TUN] [AmneziaVPN] Interface state was Down, requested Up, now Up
18:11:26.392 [TUN] [AmneziaVPN] MTU updated: 1376
18:11:26.394 [TUN] [AmneziaVPN] Listening for UAPI requests
18:11:26.394 [TUN] [AmneziaVPN] Startup complete
18:11:26.646 [TUN] [AmneziaVPN] IPC error -22: failed to get peer by public key: hex string does not fit the slice
18:11:26.646 [TUN] [AmneziaVPN] IPC error -22: failed to get peer by public key: hex string does not fit the slice
Service log excerpt (sanitized; ~321 "Checking for handshake" lines omitted)
[2026-07-20 18:06:43.031Z] [DEBUG] Amnezia WindowsTunnelService : Starting the tunnel service
[2026-07-20 18:06:43.031Z] [DEBUG] Amnezia WindowsCommons : Failed to find WireGuard Tunnel log file
[2026-07-20 18:06:43.291Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:43.544Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:43.795Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:44.048Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:44.360Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:44.443Z] [DEBUG] Amnezia WindowsTunnelService : The tunnel service is up and running
[2026-07-20 18:06:44.578Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:44.766Z] [DEBUG] Amnezia WireguardUtilsWindows : Configuring peer <PUBKEY_PREFIX> via <SERVER_IP>
[2026-07-20 18:06:44.816Z] [DEBUG] Amnezia Daemon : Connection status: 1
[2026-07-20 18:06:44.844Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:45.322Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:45.322Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:45.576Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:45.833Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:46.082Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:46.347Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:46.588Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:46.840Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:47.092Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:47.345Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:47.596Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:47.857Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:48.098Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:48.349Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:48.603Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:48.853Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:49.106Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:49.373Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:49.626Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:49.880Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:50.142Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:50.409Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:50.660Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:50.914Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:51.167Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:51.421Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:51.660Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
[2026-07-20 18:06:51.925Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified
Workaround

Installing a plain WireGuard container on the same server and connecting through it works immediately, which further isolates the issue to the AWG 2.0 config handoff on Windows.

Originally created by @MyLeoHD2 on GitHub (Jul 20, 2026). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2851 Describe the bug On Windows, connecting to a self-hosted server with the AmneziaWG 2.0 container (amnezia-awg2, protocol_version: 2, H1–H4 defined as ranges, I1 signature packet set) never completes. The UI shows no error — the connect button just spins forever. The tunnel ring log (C:\Program Files\AmneziaWG\Data\log.bin) shows that when the interface configuration is applied via UAPI, only private key, junk count/min/max and s1–s4 are set. The AWG 2.0 parameters (h1–h4, i1) are never passed to the tunnel, and no peer is created at all. Immediately after startup the tunnel logs twice: IPC error -22: failed to get peer by public key: hex string does not fit the slice After that the daemon polls Checking for handshake... indefinitely (thousands of entries); no handshake initiation is ever sent, so the server never sees any packets from this client. The same server and same container work fine from the Android client on the same Wi-Fi network, so the server, network and DPI are not the cause. Environment AmneziaVPN 4.8.21.0 (72ee32af1); also reproduced on 4.8.19.0 Windows 11 25H2 (x86_64) Bundled tunnel reports Starting WireGuard/0.3.15, Wintun 0.14 Server: Ubuntu 24.04, container amnezia-awg2, UDP, protocol_version: 2, H1–H4 as ranges, I1 = DNS-mimicking signature packet Client config imported via admin (vpn://) file; the app successfully registers a new peer on the server over SSH (visible in client log: awg syncconf etc.), then fails to configure the local tunnel Steps to reproduce Self-hosted server with the AmneziaWG 2.0 container (H1–H4 ranges + I1 set). Windows client 4.8.19–4.8.21, import full-access config, let the app register the client. Press Connect. Expected behavior Tunnel receives the peer and AWG 2.0 parameters, handshake completes (as it does on Android). Actual behavior Peer is never configured, h1–h4/i1 never applied, endless "connecting" with no UI error. On 4.8.19.0 the service log additionally showed the peer key arriving empty: [DEBUG] Amnezia WireguardUtilsWindows : Configuring peer via <SERVER_IP> Tunnel ring log excerpt (log.bin, sanitized) 18:06:43.389 [TUN] [AmneziaVPN] Starting WireGuard/0.3.15 (Windows 10.0.26200; amd64) 18:06:44.254 [TUN] [AmneziaVPN] Setting interface configuration 18:06:44.254 [TUN] [AmneziaVPN] UAPI: Updating junk count 18:06:44.254 [TUN] [AmneziaVPN] UAPI: Updating private key 18:06:44.255 [TUN] [AmneziaVPN] Bringing peers up 18:06:44.255 [TUN] [AmneziaVPN] UAPI: Updating junk max 18:06:44.255 [TUN] [AmneziaVPN] UAPI: Updating junk min 18:06:44.255 [TUN] [AmneziaVPN] UAPI: Updating s1 padding 18:06:44.255 [TUN] [AmneziaVPN] UAPI: Updating s2 padding 18:06:44.255 [TUN] [AmneziaVPN] UAPI: Updating s3 padding 18:06:44.255 [TUN] [AmneziaVPN] UAPI: Updating s4 padding 18:06:44.285 [TUN] [AmneziaVPN] Interface state was Down, requested Up, now Up 18:06:44.303 [TUN] [AmneziaVPN] Listening for UAPI requests 18:06:44.303 [TUN] [AmneziaVPN] Startup complete 18:06:44.325 [TUN] [AmneziaVPN] MTU updated: 1376 18:06:44.770 [TUN] [AmneziaVPN] IPC error -22: failed to get peer by public key: hex string does not fit the slice 18:06:44.770 [TUN] [AmneziaVPN] IPC error -22: failed to get peer by public key: hex string does not fit the slice 18:11:25.493 [TUN] [AmneziaVPN] Starting WireGuard/0.3.15 (Windows 10.0.26200; amd64) 18:11:26.369 [TUN] [AmneziaVPN] Setting interface configuration 18:11:26.370 [TUN] [AmneziaVPN] Bringing peers up 18:11:26.370 [TUN] [AmneziaVPN] UAPI: Updating junk count 18:11:26.370 [TUN] [AmneziaVPN] UAPI: Updating junk max 18:11:26.370 [TUN] [AmneziaVPN] UAPI: Updating junk min 18:11:26.370 [TUN] [AmneziaVPN] UAPI: Updating private key 18:11:26.370 [TUN] [AmneziaVPN] UAPI: Updating s1 padding 18:11:26.370 [TUN] [AmneziaVPN] UAPI: Updating s2 padding 18:11:26.370 [TUN] [AmneziaVPN] UAPI: Updating s3 padding 18:11:26.370 [TUN] [AmneziaVPN] UAPI: Updating s4 padding 18:11:26.382 [TUN] [AmneziaVPN] Interface state was Down, requested Up, now Up 18:11:26.392 [TUN] [AmneziaVPN] MTU updated: 1376 18:11:26.394 [TUN] [AmneziaVPN] Listening for UAPI requests 18:11:26.394 [TUN] [AmneziaVPN] Startup complete 18:11:26.646 [TUN] [AmneziaVPN] IPC error -22: failed to get peer by public key: hex string does not fit the slice 18:11:26.646 [TUN] [AmneziaVPN] IPC error -22: failed to get peer by public key: hex string does not fit the slice Service log excerpt (sanitized; ~321 "Checking for handshake" lines omitted) [2026-07-20 18:06:43.031Z] [DEBUG] Amnezia WindowsTunnelService : Starting the tunnel service [2026-07-20 18:06:43.031Z] [DEBUG] Amnezia WindowsCommons : Failed to find WireGuard Tunnel log file [2026-07-20 18:06:43.291Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:43.544Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:43.795Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:44.048Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:44.360Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:44.443Z] [DEBUG] Amnezia WindowsTunnelService : The tunnel service is up and running [2026-07-20 18:06:44.578Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:44.766Z] [DEBUG] Amnezia WireguardUtilsWindows : Configuring peer <PUBKEY_PREFIX> via <SERVER_IP> [2026-07-20 18:06:44.816Z] [DEBUG] Amnezia Daemon : Connection status: 1 [2026-07-20 18:06:44.844Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:45.322Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:45.322Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:45.576Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:45.833Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:46.082Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:46.347Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:46.588Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:46.840Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:47.092Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:47.345Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:47.596Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:47.857Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:48.098Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:48.349Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:48.603Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:48.853Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:49.106Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:49.373Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:49.626Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:49.880Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:50.142Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:50.409Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:50.660Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:50.914Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:51.167Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:51.421Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:51.660Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified [2026-07-20 18:06:51.925Z] [WARNING] Amnezia : QFSFileEngine::open: No file name specified Workaround Installing a plain WireGuard container on the same server and connecting through it works immediately, which further isolates the issue to the AWG 2.0 config handoff on Windows.
Author
Owner

@Antiever commented on GitHub (Aug 29, 2026):

I noticed similar spam in the debug logs after installing the client.

1	21:36:52.552	4288	AmneziaVPN.exe	QSystemTrayIcon::setVisible: No Icon set
2	21:36:52.577	4464	AmneziaVPN-service.exe	LocalServer new connection
3	21:36:52.578	4288	AmneziaVPN.exe	Logger::setServiceLogsEnabled(): Logs transitioned to be  disabled
4	21:36:52.580	4288	AmneziaVPN.exe	Updated website URL: "https://storage.googleapis.com/amnezia/amnezia.org"
5	21:36:55.043	4288	AmneziaVPN.exe	Started AmneziaVPN version 5.0.1.5 7d4f3e0f5
6	21:36:55.043	4288	AmneziaVPN.exe	Windows 10 Version 21H2 (x86_64)
7	21:36:55.447	4288	AmneziaVPN.exe	CryptoUtils::decryptAes256Cbc EVP_DecryptFinal_ex failed: "error:1C80006B:Provider routines::wrong final block length"
8	21:36:55.447	4288	AmneziaVPN.exe	failed to decrypt the data
9	21:37:04.091	4288	AmneziaVPN.exe	SecureQSettings::getSecTag Error: "Password entry not found"
10	21:37:04.136	4288	AmneziaVPN.exe	SecureQSettings::getSecTag Error: "Password entry not found"
11	21:37:04.140	4288	AmneziaVPN.exe	Updated website URL: "https://storage.googleapis.com/amnezia/amnezia.org"
12	21:37:08.517	4288	AmneziaVPN.exe	"Trying to connect to VPN, server id is 1614d6d3-698a-4d61-808a-2737cb732e1b, container is amnezia-awg, route mode is" amnezia::route_mode_ns::VpnAllExceptSites
13	21:37:08.517	4464	AmneziaVPN-service.exe	LocalServer new connection
14	21:37:08.533	4288	AmneziaVPN.exe	"Site split tunneling is enabled, route mode is 0"
15	21:37:08.533	4288	AmneziaVPN.exe	"App split tunneling is enabled, route mode is 2"
16	21:37:08.533	4464	AmneziaVPN-service.exe	Getting Current Internet Adapter that routes to "xxx.xx.xx.xx"
17	21:37:08.533	4464	AmneziaVPN-service.exe	Internet Adapter: "ethernet_32769"
18	21:37:08.570	4392	AmneziaVPN-service.exe	Started as console application
19	21:37:08.789	4464	AmneziaVPN-service.exe	QFSFileEngine::open: No file name specified
20	21:37:09.050	4464	AmneziaVPN-service.exe	QFSFileEngine::open: No file name specified
21	21:37:09.315	4464	AmneziaVPN-service.exe	QFSFileEngine::open: No file name specified
22	21:37:09.567	4464	AmneziaVPN-service.exe	QFSFileEngine::open: No file name specified
23	21:37:09.839	4464	AmneziaVPN-service.exe	QFSFileEngine::open: No file name specified
24	21:37:10.101	4464	AmneziaVPN-service.exe	QFSFileEngine::open: No file name specified
25	21:37:10.367	4464	AmneziaVPN-service.exe	QFSFileEngine::open: No file name specified
26	21:37:10.612	4464	AmneziaVPN-service.exe	QFSFileEngine::open: No file name specified
27	21:37:10.876	4464	AmneziaVPN-service.exe	QFSFileEngine::open: No file name specified
28	21:37:11.139	4464	AmneziaVPN-service.exe	QFSFileEngine::open: No file name specified
29	21:37:11.140	4288	AmneziaVPN.exe	VpnProtocol::setConnectionState "Подключено"
30	21:37:11.141	4288	AmneziaVPN.exe	Connection state: 'Подключено'
31	21:37:11.144	4288	AmneziaVPN.exe	VpnConnection::onConnectionStateChanged: Successfully flushed DNS
32	21:37:11.396	4464	AmneziaVPN-service.exe	QFSFileEngine::open: No file name specified
33	21:37:11.646	4464	AmneziaVPN-service.exe	QFSFileEngine::open: No file name specified
34	21:37:11.902	4464	AmneziaVPN-service.exe	QFSFileEngine::open: No file name specified
35	21:37:12.168	4464	AmneziaVPN-service.exe	QFSFileEngine::open: No file name specified
36	21:37:12.419	4464	AmneziaVPN-service.exe	QFSFileEngine::open: No file name specified
37	21:37:12.684	4464	AmneziaVPN-service.exe	QFSFileEngine::open: No file name specified
38	21:37:12.936	4464	AmneziaVPN-service.exe	QFSFileEngine::open: No file name specified
39	21:37:13.202	4464	AmneziaVPN-service.exe	QFSFileEngine::open: No file name specified
40	21:37:13.466	4464	AmneziaVPN-service.exe	QFSFileEngine::open: No file name specified
41	21:37:13.731	4464	AmneziaVPN-service.exe	QFSFileEngine::open: No file name specified
42	21:37:13.981	4464	AmneziaVPN-service.exe	QFSFileEngine::open: No file name specified
43	21:37:14.247	4464	AmneziaVPN-service.exe	QFSFileEngine::open: No file name specified
...

After installation, every time you connect - in the background, this message appears in the log endlessly.
An easy way to stop spam (the method I use):

  1. Disconnect
44	21:37:14.262	4288	AmneziaVPN.exe	VpnProtocol::setConnectionState "Отключено"
45	21:37:14.262	4288	AmneziaVPN.exe	Connection state: 'Отключено'
46	21:37:14.262	4288	AmneziaVPN.exe	VpnProtocol::setConnectionState "Отключено"
47	21:37:14.497	4464	AmneziaVPN-service.exe	QFSFileEngine::open: No file name specified
48	21:37:14.763	4464	AmneziaVPN-service.exe	QFSFileEngine::open: No file name specified
49	21:37:15.029	4464	AmneziaVPN-service.exe	QFSFileEngine::open: No file name specified
50	21:37:15.279	4288	AmneziaVPN.exe	VpnConnection::onConnectionStateChanged: Successfully flushed DNS
51	21:37:15.279	4288	AmneziaVPN.exe	VpnConnection::onConnectionStateChanged: Successfully cleared saved routes
52	21:37:15.279	4288	AmneziaVPN.exe	VpnProtocol::setConnectionState "Отключено"

  1. Forcefully terminate both processes AmneziaVPN-service.exe
    This fixes the problem, and the next time you click "Connect," the spam messages will disappear.

Now when I connect everything is fine.

53	21:37:31.967	4392	AmneziaVPN-service.exe	<process started at 21:37:08.547 has terminated with exit code 1>
54	21:37:31.967	4464	AmneziaVPN-service.exe	<process started at 21:36:48.672 has terminated with exit code 1>
55	21:37:33.998	1992	AmneziaVPN-service.exe	Started as system service
56	21:37:34.209	1992	AmneziaVPN-service.exe	LocalServer new connection
57	21:37:34.209	1992	AmneziaVPN-service.exe	LocalServer new connection
58	21:37:41.977	4288	AmneziaVPN.exe	"Trying to connect to VPN, server id is 1614d6d3-698a-4d61-808a-2737cb732e1b, container is amnezia-awg, route mode is" amnezia::route_mode_ns::VpnAllExceptSites
59	21:37:41.977	4288	AmneziaVPN.exe	"Site split tunneling is enabled, route mode is 0"
60	21:37:41.992	4288	AmneziaVPN.exe	"App split tunneling is enabled, route mode is 2"
61	21:37:41.992	1992	AmneziaVPN-service.exe	Getting Current Internet Adapter that routes to "xxx.xx.xx.xx"
62	21:37:41.992	1992	AmneziaVPN-service.exe	Internet Adapter: "ethernet_32769"
63	21:37:42.023	3296	AmneziaVPN-service.exe	Started as console application
64	21:37:44.080	4288	AmneziaVPN.exe	VpnProtocol::setConnectionState "Подключено"
65	21:37:44.092	4288	AmneziaVPN.exe	Connection state: 'Подключено'
66	21:37:44.093	4288	AmneziaVPN.exe	VpnConnection::onConnectionStateChanged: Successfully flushed DNS

<!-- gh-comment-id:5464253149 --> @Antiever commented on GitHub (Aug 29, 2026): I noticed similar spam in the debug logs after installing the client. ``` 1 21:36:52.552 4288 AmneziaVPN.exe QSystemTrayIcon::setVisible: No Icon set 2 21:36:52.577 4464 AmneziaVPN-service.exe LocalServer new connection 3 21:36:52.578 4288 AmneziaVPN.exe Logger::setServiceLogsEnabled(): Logs transitioned to be disabled 4 21:36:52.580 4288 AmneziaVPN.exe Updated website URL: "https://storage.googleapis.com/amnezia/amnezia.org" 5 21:36:55.043 4288 AmneziaVPN.exe Started AmneziaVPN version 5.0.1.5 7d4f3e0f5 6 21:36:55.043 4288 AmneziaVPN.exe Windows 10 Version 21H2 (x86_64) 7 21:36:55.447 4288 AmneziaVPN.exe CryptoUtils::decryptAes256Cbc EVP_DecryptFinal_ex failed: "error:1C80006B:Provider routines::wrong final block length" 8 21:36:55.447 4288 AmneziaVPN.exe failed to decrypt the data 9 21:37:04.091 4288 AmneziaVPN.exe SecureQSettings::getSecTag Error: "Password entry not found" 10 21:37:04.136 4288 AmneziaVPN.exe SecureQSettings::getSecTag Error: "Password entry not found" 11 21:37:04.140 4288 AmneziaVPN.exe Updated website URL: "https://storage.googleapis.com/amnezia/amnezia.org" 12 21:37:08.517 4288 AmneziaVPN.exe "Trying to connect to VPN, server id is 1614d6d3-698a-4d61-808a-2737cb732e1b, container is amnezia-awg, route mode is" amnezia::route_mode_ns::VpnAllExceptSites 13 21:37:08.517 4464 AmneziaVPN-service.exe LocalServer new connection 14 21:37:08.533 4288 AmneziaVPN.exe "Site split tunneling is enabled, route mode is 0" 15 21:37:08.533 4288 AmneziaVPN.exe "App split tunneling is enabled, route mode is 2" 16 21:37:08.533 4464 AmneziaVPN-service.exe Getting Current Internet Adapter that routes to "xxx.xx.xx.xx" 17 21:37:08.533 4464 AmneziaVPN-service.exe Internet Adapter: "ethernet_32769" 18 21:37:08.570 4392 AmneziaVPN-service.exe Started as console application 19 21:37:08.789 4464 AmneziaVPN-service.exe QFSFileEngine::open: No file name specified 20 21:37:09.050 4464 AmneziaVPN-service.exe QFSFileEngine::open: No file name specified 21 21:37:09.315 4464 AmneziaVPN-service.exe QFSFileEngine::open: No file name specified 22 21:37:09.567 4464 AmneziaVPN-service.exe QFSFileEngine::open: No file name specified 23 21:37:09.839 4464 AmneziaVPN-service.exe QFSFileEngine::open: No file name specified 24 21:37:10.101 4464 AmneziaVPN-service.exe QFSFileEngine::open: No file name specified 25 21:37:10.367 4464 AmneziaVPN-service.exe QFSFileEngine::open: No file name specified 26 21:37:10.612 4464 AmneziaVPN-service.exe QFSFileEngine::open: No file name specified 27 21:37:10.876 4464 AmneziaVPN-service.exe QFSFileEngine::open: No file name specified 28 21:37:11.139 4464 AmneziaVPN-service.exe QFSFileEngine::open: No file name specified 29 21:37:11.140 4288 AmneziaVPN.exe VpnProtocol::setConnectionState "Подключено" 30 21:37:11.141 4288 AmneziaVPN.exe Connection state: 'Подключено' 31 21:37:11.144 4288 AmneziaVPN.exe VpnConnection::onConnectionStateChanged: Successfully flushed DNS 32 21:37:11.396 4464 AmneziaVPN-service.exe QFSFileEngine::open: No file name specified 33 21:37:11.646 4464 AmneziaVPN-service.exe QFSFileEngine::open: No file name specified 34 21:37:11.902 4464 AmneziaVPN-service.exe QFSFileEngine::open: No file name specified 35 21:37:12.168 4464 AmneziaVPN-service.exe QFSFileEngine::open: No file name specified 36 21:37:12.419 4464 AmneziaVPN-service.exe QFSFileEngine::open: No file name specified 37 21:37:12.684 4464 AmneziaVPN-service.exe QFSFileEngine::open: No file name specified 38 21:37:12.936 4464 AmneziaVPN-service.exe QFSFileEngine::open: No file name specified 39 21:37:13.202 4464 AmneziaVPN-service.exe QFSFileEngine::open: No file name specified 40 21:37:13.466 4464 AmneziaVPN-service.exe QFSFileEngine::open: No file name specified 41 21:37:13.731 4464 AmneziaVPN-service.exe QFSFileEngine::open: No file name specified 42 21:37:13.981 4464 AmneziaVPN-service.exe QFSFileEngine::open: No file name specified 43 21:37:14.247 4464 AmneziaVPN-service.exe QFSFileEngine::open: No file name specified ... ``` After installation, every time you connect - in the background, this message appears in the log endlessly. An easy way to stop spam (the method I use): 1. Disconnect ``` 44 21:37:14.262 4288 AmneziaVPN.exe VpnProtocol::setConnectionState "Отключено" 45 21:37:14.262 4288 AmneziaVPN.exe Connection state: 'Отключено' 46 21:37:14.262 4288 AmneziaVPN.exe VpnProtocol::setConnectionState "Отключено" 47 21:37:14.497 4464 AmneziaVPN-service.exe QFSFileEngine::open: No file name specified 48 21:37:14.763 4464 AmneziaVPN-service.exe QFSFileEngine::open: No file name specified 49 21:37:15.029 4464 AmneziaVPN-service.exe QFSFileEngine::open: No file name specified 50 21:37:15.279 4288 AmneziaVPN.exe VpnConnection::onConnectionStateChanged: Successfully flushed DNS 51 21:37:15.279 4288 AmneziaVPN.exe VpnConnection::onConnectionStateChanged: Successfully cleared saved routes 52 21:37:15.279 4288 AmneziaVPN.exe VpnProtocol::setConnectionState "Отключено" ``` 2. Forcefully terminate both processes AmneziaVPN-service.exe This fixes the problem, and the next time you click "Connect," the spam messages will disappear. Now when I connect everything is fine. ``` 53 21:37:31.967 4392 AmneziaVPN-service.exe <process started at 21:37:08.547 has terminated with exit code 1> 54 21:37:31.967 4464 AmneziaVPN-service.exe <process started at 21:36:48.672 has terminated with exit code 1> 55 21:37:33.998 1992 AmneziaVPN-service.exe Started as system service 56 21:37:34.209 1992 AmneziaVPN-service.exe LocalServer new connection 57 21:37:34.209 1992 AmneziaVPN-service.exe LocalServer new connection 58 21:37:41.977 4288 AmneziaVPN.exe "Trying to connect to VPN, server id is 1614d6d3-698a-4d61-808a-2737cb732e1b, container is amnezia-awg, route mode is" amnezia::route_mode_ns::VpnAllExceptSites 59 21:37:41.977 4288 AmneziaVPN.exe "Site split tunneling is enabled, route mode is 0" 60 21:37:41.992 4288 AmneziaVPN.exe "App split tunneling is enabled, route mode is 2" 61 21:37:41.992 1992 AmneziaVPN-service.exe Getting Current Internet Adapter that routes to "xxx.xx.xx.xx" 62 21:37:41.992 1992 AmneziaVPN-service.exe Internet Adapter: "ethernet_32769" 63 21:37:42.023 3296 AmneziaVPN-service.exe Started as console application 64 21:37:44.080 4288 AmneziaVPN.exe VpnProtocol::setConnectionState "Подключено" 65 21:37:44.092 4288 AmneziaVPN.exe Connection state: 'Подключено' 66 21:37:44.093 4288 AmneziaVPN.exe VpnConnection::onConnectionStateChanged: Successfully flushed DNS ```
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#1299
No description provided.