[GH-ISSUE #2248] AmneziaVPN Windows very long connection establishing with long split tunneling config #1001

Open
opened 2026-10-13 20:32:38 +00:00 by bsakaguchi · 7 comments
Owner

Originally created by @hellchickens on GitHub (Feb 19, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2248

Describe the bug
Win client 4.8.12.9, WG2 protocol, connects well and fast without split tunnel config. With imported split tunneling config with 11216 IP CIDRs records (full Russian IP CIDRs list) it takes app up to 5 minutes to establish actual VPN session with split tunneling working as expected, though application stays in "Connecting" state around 20 minutes until it gets in "Connected" state.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Site-based split tunneling'
  2. Change mode to 'Addresses from the list should not be accessed via VPN'
  3. Import very long list of CIDRs (example attached)
  4. Enable 'Site-based split tunneling'
  5. Connect to server

Expected behavior
Connection established in few second like on other platforms with same config. Tested on Mac, Android and iOS and it connects in 1-3 seconds.

Log files

[2026-02-19 19:57:57.775Z] [DEBUG] Amnezia  : Logger::setServiceLogsEnabled(): Logs transitioned to be  enabled
[2026-02-19 19:57:57.775Z] [INFO] Amnezia  : Logging has enabled on AmneziaVPN version 4.8.12.9 f7379284
[2026-02-19 19:57:57.775Z] [INFO] Amnezia  : Windows 11 Version 25H2 (x86_64)
[2026-02-19 19:58:22.496Z] [DEBUG] Amnezia  : VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1"
[2026-02-19 19:58:22.496Z] [DEBUG] Amnezia  : "ConnectToVpn, Server index is 0, container is amnezia-awg2, route mode is" Settings::VpnAllExceptSites
[2026-02-19 19:58:22.499Z] [DEBUG] Amnezia LocalSocketController : Initializing
[2026-02-19 19:58:22.499Z] [DEBUG] Amnezia LocalSocketController : Connecting to: \\.\pipe\amneziavpn
[2026-02-19 19:58:22.499Z] [DEBUG] Amnezia LocalSocketController : Daemon connected
[2026-02-19 19:58:22.499Z] [DEBUG] Amnezia LocalSocketController : Check status
[2026-02-19 19:58:22.499Z] [DEBUG] Amnezia LocalSocketController : Reading
[2026-02-19 19:58:22.499Z] [DEBUG] Amnezia LocalSocketController : Parse command: status
[2026-02-19 20:03:34.881Z] [WARNING] Amnezia  : Retrying to obtain clipboard.
[2026-02-19 20:21:07.535Z] [DEBUG] Amnezia LocalSocketController : Reading
[2026-02-19 20:21:07.535Z] [DEBUG] Amnezia LocalSocketController : Parse command: connected
[2026-02-19 20:21:07.535Z] [DEBUG] Amnezia LocalSocketController : Handshake completed with: mHkVA0e6i5ULJmkFMzgVFKm5asX8zJxBLcRoPYlHdgI=
[2026-02-19 20:21:07.535Z] [DEBUG] Amnezia LocalSocketController : Check status
[2026-02-19 20:21:07.535Z] [WARNING] Amnezia  : Deferring startNetworkCheck; missing gateway/local address "" "10.8.1.4"
[2026-02-19 20:21:07.543Z] [DEBUG] Amnezia LocalSocketController : Reading
[2026-02-19 20:21:07.543Z] [DEBUG] Amnezia LocalSocketController : Parse command: status
[2026-02-19 20:25:08.741Z] [WARNING] Amnezia  : Retrying to obtain clipboard.

Desktop (please complete the following information):

  • OS: Windows 11 Version 25H2 (x86_64)
  • Version 4.8.12.9 f7379284

Server (please complete the following information):

  • OS: Ubuntu 24.04

Attaching exact file used in that case
amnezia_ru_cidr.json

Originally created by @hellchickens on GitHub (Feb 19, 2026). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2248 **Describe the bug** Win client 4.8.12.9, WG2 protocol, connects well and fast without split tunnel config. With imported split tunneling config with 11216 IP CIDRs records (full Russian IP CIDRs list) it takes app up to 5 minutes to establish actual VPN session with split tunneling working as expected, though application stays in "Connecting" state around 20 minutes until it gets in "Connected" state. **To Reproduce** Steps to reproduce the behavior: 1. Go to 'Site-based split tunneling' 2. Change mode to 'Addresses from the list should not be accessed via VPN' 3. Import very long list of CIDRs (example attached) 4. Enable 'Site-based split tunneling' 5. Connect to server **Expected behavior** Connection established in few second like on other platforms with same config. Tested on Mac, Android and iOS and it connects in 1-3 seconds. **Log files** ``` [2026-02-19 19:57:57.775Z] [DEBUG] Amnezia : Logger::setServiceLogsEnabled(): Logs transitioned to be enabled [2026-02-19 19:57:57.775Z] [INFO] Amnezia : Logging has enabled on AmneziaVPN version 4.8.12.9 f7379284 [2026-02-19 19:57:57.775Z] [INFO] Amnezia : Windows 11 Version 25H2 (x86_64) [2026-02-19 19:58:22.496Z] [DEBUG] Amnezia : VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1" [2026-02-19 19:58:22.496Z] [DEBUG] Amnezia : "ConnectToVpn, Server index is 0, container is amnezia-awg2, route mode is" Settings::VpnAllExceptSites [2026-02-19 19:58:22.499Z] [DEBUG] Amnezia LocalSocketController : Initializing [2026-02-19 19:58:22.499Z] [DEBUG] Amnezia LocalSocketController : Connecting to: \\.\pipe\amneziavpn [2026-02-19 19:58:22.499Z] [DEBUG] Amnezia LocalSocketController : Daemon connected [2026-02-19 19:58:22.499Z] [DEBUG] Amnezia LocalSocketController : Check status [2026-02-19 19:58:22.499Z] [DEBUG] Amnezia LocalSocketController : Reading [2026-02-19 19:58:22.499Z] [DEBUG] Amnezia LocalSocketController : Parse command: status [2026-02-19 20:03:34.881Z] [WARNING] Amnezia : Retrying to obtain clipboard. [2026-02-19 20:21:07.535Z] [DEBUG] Amnezia LocalSocketController : Reading [2026-02-19 20:21:07.535Z] [DEBUG] Amnezia LocalSocketController : Parse command: connected [2026-02-19 20:21:07.535Z] [DEBUG] Amnezia LocalSocketController : Handshake completed with: mHkVA0e6i5ULJmkFMzgVFKm5asX8zJxBLcRoPYlHdgI= [2026-02-19 20:21:07.535Z] [DEBUG] Amnezia LocalSocketController : Check status [2026-02-19 20:21:07.535Z] [WARNING] Amnezia : Deferring startNetworkCheck; missing gateway/local address "" "10.8.1.4" [2026-02-19 20:21:07.543Z] [DEBUG] Amnezia LocalSocketController : Reading [2026-02-19 20:21:07.543Z] [DEBUG] Amnezia LocalSocketController : Parse command: status [2026-02-19 20:25:08.741Z] [WARNING] Amnezia : Retrying to obtain clipboard. ``` **Desktop (please complete the following information):** - OS: Windows 11 Version 25H2 (x86_64) - Version 4.8.12.9 f7379284 **Server (please complete the following information):** - OS: Ubuntu 24.04 Attaching exact file used in that case [amnezia_ru_cidr.json](https://github.com/user-attachments/files/25426801/amnezia_ru_cidr.json)
Author
Owner

@TywinLanni commented on GitHub (Feb 21, 2026):

I have the same problem, and only reinstall app helps me for the some time

Desktop (please complete the following information):

OS: Windows 10 Version 19044
Version 4.8.12.9 and earlier (about last half year) 

Server (please complete the following information):
OS: Ubuntu 22.04.5

<!-- gh-comment-id:3938517544 --> @TywinLanni commented on GitHub (Feb 21, 2026): I have the same problem, and only reinstall app helps me for the some time Desktop (please complete the following information): OS: Windows 10 Version 19044 Version 4.8.12.9 and earlier (about last half year) Server (please complete the following information): OS: Ubuntu 22.04.5
Author
Owner

@Arekusansan commented on GitHub (Apr 7, 2026):

The same issue occurs on Windows 11 with a large IP range list file, version 4.8.14.5.
At least for me, it can be resolved by switching to the Xray protocol, connecting, disconnecting, and then reconnecting using the WG2 protocol.

<!-- gh-comment-id:4199283012 --> @Arekusansan commented on GitHub (Apr 7, 2026): The same issue occurs on Windows 11 with a large IP range list file, version 4.8.14.5. At least for me, it can be resolved by switching to the Xray protocol, connecting, disconnecting, and then reconnecting using the WG2 protocol.
Author
Owner

@seraphim-grey commented on GitHub (Apr 18, 2026):

I have the same issue occurs on Windows 11 Pro 25H2 26200.8246 with a large IP range list file, version 4.8.14.5.

<!-- gh-comment-id:4273506672 --> @seraphim-grey commented on GitHub (Apr 18, 2026): I have the same issue occurs on Windows 11 Pro 25H2 26200.8246 with a large IP range list file, version 4.8.14.5.
Author
Owner

@DmitriyYukhanov commented on GitHub (Apr 27, 2026):

I did test the kyoresuas's PR and it worked for me - only a few seconds to connect with a long list.

Still, it seems to be not stable enough, and some websites that should route through VPN refuse to open, but I'm not sure if it's my laptop or something off with Amnezia.

<!-- gh-comment-id:4325428869 --> @DmitriyYukhanov commented on GitHub (Apr 27, 2026): I did test the [kyoresuas](https://github.com/kyoresuas)'s PR and it worked for me - only a few seconds to connect with a long list. Still, it seems to be not stable enough, and some websites that should route through VPN refuse to open, but I'm not sure if it's my laptop or something off with Amnezia.
Author
Owner

@OverLeo007 commented on GitHub (May 24, 2026):

@DmitriyYukhanov Can you give a built .exe pls

<!-- gh-comment-id:4527889163 --> @OverLeo007 commented on GitHub (May 24, 2026): @DmitriyYukhanov Can you give a built .exe pls
Author
Owner

@DmitriyYukhanov commented on GitHub (May 24, 2026):

@OverLeo007 sure https://codestage.net/dump/share/2026.05/AmneziaVPN_4.8.15.2_x64.exe

<!-- gh-comment-id:4529152429 --> @DmitriyYukhanov commented on GitHub (May 24, 2026): @OverLeo007 sure https://codestage.net/dump/share/2026.05/AmneziaVPN_4.8.15.2_x64.exe
Author
Owner

@sane4ektopz commented on GitHub (Jun 8, 2026):

same on Windows 10 Pro 22H2 19045.6456, 8k IPs on bypass mode, connection takes around 7 minutes, 4.8.15.4

<!-- gh-comment-id:4648239418 --> @sane4ektopz commented on GitHub (Jun 8, 2026): same on Windows 10 Pro 22H2 19045.6456, 8k IPs on bypass mode, connection takes around 7 minutes, 4.8.15.4
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#1001
No description provided.