[GH-ISSUE #417] Split tunneling import crashes the app (Windows client) #122

Closed
opened 2026-10-13 20:13:12 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @nlobanov on GitHub (Nov 4, 2023).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/417

Describe the bug
I imported a huge json of 25 megabytes. After importing, amnezia vpn froze. After killing it and restarting, I can no longer open the split tunneling page, the client just freezes when opening it. RAM consumption is rapidly increasing, starting at 1-2 gigabytes and filling 100% of my RAM (16gb) within 10-20 seconds.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Split tunneling options
  2. Import large json with urls
  3. Amnezia client is not responding

Log files
In the archive there is a json file containing all url's blocked by roskomnadzor. Json in the format that amnezia vpn generates when saving the list.
P.S. yes, I know it's probably not the smartest idea to import such a large json.
transformed_websites.zip

Screenshots
image
image

Expected behavior
I expect the json file to either be processed or I get an error.

Desktop (please complete the following information):

  • OS: Windows 11
  • Version 4 0 8 6
Originally created by @nlobanov on GitHub (Nov 4, 2023). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/417 **Describe the bug** I imported a huge json of 25 megabytes. After importing, amnezia vpn froze. After killing it and restarting, I can no longer open the split tunneling page, the client just freezes when opening it. RAM consumption is rapidly increasing, starting at 1-2 gigabytes and filling 100% of my RAM (16gb) within 10-20 seconds. **To Reproduce** Steps to reproduce the behavior: 1. Go to Split tunneling options 2. Import large json with urls 4. Amnezia client is not responding **Log files** In the archive there is a json file containing all url's blocked by roskomnadzor. Json in the format that amnezia vpn generates when saving the list. P.S. yes, I know it's probably not the smartest idea to import such a large json. [transformed_websites.zip](https://github.com/amnezia-vpn/amnezia-client/files/13256614/transformed_websites.zip) **Screenshots** ![image](https://github.com/amnezia-vpn/amnezia-client/assets/26668110/80278428-3e76-40c7-a121-a19da6f8f955) ![image](https://github.com/amnezia-vpn/amnezia-client/assets/26668110/945db6f4-6de9-4b98-a1e0-1685032a3c52) **Expected behavior** I expect the json file to either be processed or I get an error. **Desktop (please complete the following information):** - OS: Windows 11 - Version 4 0 8 6
Author
Owner

@outspace commented on GitHub (Nov 4, 2023):

  1. We made a rework of Split tunnel. In version 4.1.0.0 we added WG/AWG support for the desktop and some other fixes.
    It can be downloaded from https://github.com/amnezia-vpn/amnezia-client/actions/runs/6750374498

  2. Your JSON list is wrong. It operates with IP, and you must set up "ip" field.

  3. List can be optimized by subnets. It supports values like 192.168.31.0/24. Proper way to make this list is to find all blocked ip ranges than build json list of those ranges.

<!-- gh-comment-id:1793434728 --> @outspace commented on GitHub (Nov 4, 2023): 1) We made a rework of Split tunnel. In version 4.1.0.0 we added WG/AWG support for the desktop and some other fixes. It can be downloaded from [https://github.com/amnezia-vpn/amnezia-client/actions/runs/6750374498](https://github.com/amnezia-vpn/amnezia-client/actions/runs/6750374498) 2) Your JSON list is wrong. It operates with IP, and you must set up "ip" field. 3) List can be optimized by subnets. It supports values like 192.168.31.0/24. Proper way to make this list is to find all blocked ip ranges than build json list of those ranges.
Author
Owner

@pokamest commented on GitHub (Feb 4, 2024):

Fixed in 4.1.0

<!-- gh-comment-id:1925841253 --> @pokamest commented on GitHub (Feb 4, 2024): Fixed in 4.1.0
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#122
No description provided.