[GH-ISSUE #1340] The application crashes every time it is launched #532

Open
opened 2026-10-13 20:23:34 +00:00 by bsakaguchi · 12 comments
Owner

Originally created by @Korb on GitHub (Jan 3, 2025).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1340

Describe the bug
After launching, a window with the word "Preparing…" in a half-filled white ring is displayed for half a minute, after which the application window disappears. The application icon is not displayed in the system tray and the IP in web services is displayed unchanged.

To Reproduce
Steps to reproduce the behavior (I don't know what exactly is causing the problem):

  1. Install AmneziaVPN_4.8.2.3_x64.exe
  2. Add Shadowsocks and Xray profiles (the second one is the default).
  3. Check that the added profiles are working.
  4. Add several sites and applications to the Split tunneling exceptions.
  5. Enable autostart in minimized form when turning on the computer and auto-connect
  6. Restart the application.

Expected behavior
The application launches and works as intended.

Log files
I can't attach a log file because the window of the application I'm launching doesn't respond to clicks and I can't enable logging.

Screenshots
2025-01-03_11-42-27

Desktop (please complete the following information):

  • OS: Microsoft Windows 10.0.19045.5247
  • AmneziaVPN_4.8.2.3_x64.exe

Server (please complete the following information):

  • VPN Generator

Additional context
AmneziaVPN.exe.11228.dmp (Google Drive, 34 MB)

Originally created by @Korb on GitHub (Jan 3, 2025). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1340 **Describe the bug** After launching, a window with the word "Preparing…" in a half-filled white ring is displayed for half a minute, after which the application window disappears. The application icon is not displayed in the system tray and the IP in web services is displayed unchanged. **To Reproduce** Steps to reproduce the behavior (I don't know what exactly is causing the problem): 1. Install AmneziaVPN_4.8.2.3_x64.exe 2. Add Shadowsocks and Xray profiles (the second one is the default). 3. Check that the added profiles are working. 4. Add several sites and applications to the Split tunneling exceptions. 5. Enable autostart in minimized form when turning on the computer and auto-connect 6. Restart the application. **Expected behavior** The application launches and works as intended. **Log files** I can't attach a log file because the window of the application I'm launching doesn't respond to clicks and I can't enable logging. **Screenshots** ![2025-01-03_11-42-27](https://github.com/user-attachments/assets/f3b56052-90ec-4c44-bf5d-78d27ffea8ab) **Desktop (please complete the following information):** - OS: Microsoft Windows 10.0.19045.5247 - AmneziaVPN_4.8.2.3_x64.exe **Server (please complete the following information):** - VPN Generator **Additional context** [AmneziaVPN.exe.11228.dmp](https://drive.google.com/file/d/1WeEom1xl_MPFtj1mPW3DNlADP42GcI3i/view) (Google Drive, 34 MB)
Author
Owner

@Korb commented on GitHub (Jan 14, 2025):

AmneziaVPN_4.8.2.3_x64.exe — same.

<!-- gh-comment-id:2589146151 --> @Korb commented on GitHub (Jan 14, 2025): AmneziaVPN_4.8.2.3_x64.exe — [same](https://drive.google.com/drive/folders/1h1SIZ_uOWHdckJ6gv_wSfBei6jDcBJzf).
Author
Owner

@NorthernBlow commented on GitHub (Jan 27, 2025):

same problem on windows 11, Amnezia ver. 4.8.2.3

<!-- gh-comment-id:2616894126 --> @NorthernBlow commented on GitHub (Jan 27, 2025): same problem on windows 11, Amnezia ver. 4.8.2.3
Author
Owner

@pokamest commented on GitHub (Jan 27, 2025):

Please try latest version - https://github.com/amnezia-vpn/amnezia-client/releases/tag/4.8.3.1

<!-- gh-comment-id:2617038359 --> @pokamest commented on GitHub (Jan 27, 2025): Please try latest version - https://github.com/amnezia-vpn/amnezia-client/releases/tag/4.8.3.1
Author
Owner

@lunardunno commented on GitHub (Jan 27, 2025):

Or try: Run regedit, go to HKEY_CURRENT_USER\Software\AmneziaVPN.ORG\AmneziaVPN\Conf set autoConnect to false, and reboot the computer.

<!-- gh-comment-id:2617039212 --> @lunardunno commented on GitHub (Jan 27, 2025): Or try: Run regedit, go to HKEY_CURRENT_USER\Software\AmneziaVPN.ORG\AmneziaVPN\Conf set autoConnect to false, and reboot the computer.
Author
Owner

@NorthernBlow commented on GitHub (Jan 28, 2025):

Please try latest version - https://github.com/amnezia-vpn/amnezia-client/releases/tag/4.8.3.1

same. But on arch linux and android works normally.

<!-- gh-comment-id:2619693769 --> @NorthernBlow commented on GitHub (Jan 28, 2025): > Please try latest version - https://github.com/amnezia-vpn/amnezia-client/releases/tag/4.8.3.1 same. But on arch linux and android works normally.
Author
Owner

@NorthernBlow commented on GitHub (Jan 28, 2025):

Or try: Run regedit, go to HKEY_CURRENT_USER\Software\AmneziaVPN.ORG\AmneziaVPN\Conf set autoConnect to false, and reboot the computer.

not working. Client just in try to connect statement

<!-- gh-comment-id:2619700864 --> @NorthernBlow commented on GitHub (Jan 28, 2025): > Or try: Run regedit, go to HKEY_CURRENT_USER\Software\AmneziaVPN.ORG\AmneziaVPN\Conf set autoConnect to false, and reboot the computer. not working. Client just in try to connect statement
Author
Owner

@lunardunno commented on GitHub (Jan 28, 2025):

Or try: Run regedit, go to HKEY_CURRENT_USER\Software\AmneziaVPN.ORG\AmneziaVPN\Conf set autoConnect to false, and reboot the computer.

not working. Client just in try to connect statement

  1. close AmneziaVPN
  2. regedit
    Image
  3. reboot Windows PC
<!-- gh-comment-id:2619911969 --> @lunardunno commented on GitHub (Jan 28, 2025): > > Or try: Run regedit, go to HKEY_CURRENT_USER\Software\AmneziaVPN.ORG\AmneziaVPN\Conf set autoConnect to false, and reboot the computer. > > not working. Client just in try to connect statement 1) close AmneziaVPN 2) regedit ![Image](https://github.com/user-attachments/assets/6441e917-5160-4c4e-8687-e7eb72a9fa52) 3) reboot Windows PC
Author
Owner

@NorthernBlow commented on GitHub (Jan 29, 2025):

Or try: Run regedit, go to HKEY_CURRENT_USER\Software\AmneziaVPN.ORG\AmneziaVPN\Conf set autoConnect to false, and reboot the computer.

not working. Client just in try to connect statement

1. close AmneziaVPN

2. regedit
   ![Image](https://github.com/user-attachments/assets/6441e917-5160-4c4e-8687-e7eb72a9fa52)

3. reboot Windows PC

shure. not working for me. i wrote about this

Image

<!-- gh-comment-id:2621565851 --> @NorthernBlow commented on GitHub (Jan 29, 2025): > > > Or try: Run regedit, go to HKEY_CURRENT_USER\Software\AmneziaVPN.ORG\AmneziaVPN\Conf set autoConnect to false, and reboot the computer. > > > > > > not working. Client just in try to connect statement > > 1. close AmneziaVPN > > 2. regedit > ![Image](https://github.com/user-attachments/assets/6441e917-5160-4c4e-8687-e7eb72a9fa52) > > 3. reboot Windows PC shure. not working for me. i wrote about this ![Image](https://github.com/user-attachments/assets/88bbb389-2e69-4383-8cc8-4e224889ec0e)
Author
Owner

@lunardunno commented on GitHub (Jan 31, 2025):

Or try: Run regedit, go to HKEY_CURRENT_USER\Software\AmneziaVPN.ORG\AmneziaVPN\Conf set autoConnect to false, and reboot the computer.

not working. Client just in try to connect statement

1. close AmneziaVPN

2. regedit
   ![Image](https://github.com/user-attachments/assets/6441e917-5160-4c4e-8687-e7eb72a9fa52)

3. reboot Windows PC

shure. not working for me. i wrote about this

Image

Let's clarify what your problem is now:
Does your AmneziaVPN still automatically connect after launch even though autoConnect is set to faise?
Or is your problem that when you press the connect button, the AmneziaVPN application crashes?

<!-- gh-comment-id:2628471191 --> @lunardunno commented on GitHub (Jan 31, 2025): > > > > Or try: Run regedit, go to HKEY_CURRENT_USER\Software\AmneziaVPN.ORG\AmneziaVPN\Conf set autoConnect to false, and reboot the computer. > > > > > > > > > not working. Client just in try to connect statement > > > > > > ``` > > 1. close AmneziaVPN > > > > 2. regedit > > ![Image](https://github.com/user-attachments/assets/6441e917-5160-4c4e-8687-e7eb72a9fa52) > > > > 3. reboot Windows PC > > ``` > > shure. not working for me. i wrote about this > > ![Image](https://github.com/user-attachments/assets/88bbb389-2e69-4383-8cc8-4e224889ec0e) Let's clarify what your problem is now: Does your AmneziaVPN still automatically connect after launch even though autoConnect is set to faise? Or is your problem that when you press the connect button, the AmneziaVPN application crashes?
Author
Owner

@NorthernBlow commented on GitHub (Feb 1, 2025):

Let's clarify what your problem is now: Does your AmneziaVPN still automatically connect after launch even though autoConnect is set to faise? Or is your problem that when you press the connect button, the AmneziaVPN application crashes?

No, amnesia doesn't try to connect until I hit the connect button.

It doesn't crash either.

It's just that the button status is “connect” and the connection itself doesn't happen. I updated the app, I reinstalled the server connection protocols with the app but it still doesn't help.

I note that on linux and android everything works fine

<!-- gh-comment-id:2628904952 --> @NorthernBlow commented on GitHub (Feb 1, 2025): > Let's clarify what your problem is now: Does your AmneziaVPN still automatically connect after launch even though autoConnect is set to faise? Or is your problem that when you press the connect button, the AmneziaVPN application crashes? No, amnesia doesn't try to connect until I hit the connect button. It doesn't crash either. It's just that the button status is “connect” and the connection itself doesn't happen. I updated the app, I reinstalled the server connection protocols with the app but it still doesn't help. I note that on linux and android everything works fine
Author
Owner

@lunardunno commented on GitHub (Feb 1, 2025):

same problem on windows 11, Amnezia ver. 4.8.2.3

It turns out you don't have the same problem as the first user.
This is why autoConnect to false won't help you.

  1. You need to solve your problem, and not write that you just have the same one, because it is completely different.
  2. I can't connect on Windows 11, this is not a description of the problem.
<!-- gh-comment-id:2628917227 --> @lunardunno commented on GitHub (Feb 1, 2025): > same problem on windows 11, Amnezia ver. 4.8.2.3 It turns out you don't have the same problem as the first user. This is why autoConnect to false won't help you. 1) You need to solve your problem, and not write that you just have the same one, because it is completely different. 2) I can't connect on Windows 11, this is not a description of the problem.
Author
Owner

@elringus commented on GitHub (Feb 23, 2025):

Same issue still in 4.8.3.1: crashes on "Preparing..." after system reboot when both Auto Start and Auto Connect are enabled.

Windows 10.0.19045.5487

AmneziaVPN.log
AmneziaVPN-service.log

<!-- gh-comment-id:2676691471 --> @elringus commented on GitHub (Feb 23, 2025): Same issue still in 4.8.3.1: crashes on "Preparing..." after system reboot when both `Auto Start` and `Auto Connect` are enabled. Windows 10.0.19045.5487 [AmneziaVPN.log](https://github.com/user-attachments/files/18928953/AmneziaVPN.log) [AmneziaVPN-service.log](https://github.com/user-attachments/files/18928952/AmneziaVPN-service.log)
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#532
No description provided.