[GH-ISSUE #1209] can't connect, error code 101: internal error #445

Open
opened 2026-10-13 20:21:39 +00:00 by bsakaguchi · 4 comments
Owner

Originally created by @abychko on GitHub (Oct 27, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1209

Describe the bug
MacOS client can connect after configuration. But after reboot everything is broken.

From logs:
debug IpcClient::init failed
warning Error occurred when init IPC client

macOS Sequoia (15.0) M2 (ARM)
AmnesiaVPN client 4.8.1.9 (x86_64)

To Reproduce
Steps to reproduce the behavior:

  1. Configure VPN connection (mine is OpenVPN over SS)
  2. Click on Connect button, make sure it works
  3. Reboot and try to connect again
  4. See error

Expected behavior
normal work

2024-10-27 11:29:43 debug IpcClient::init failed
2024-10-27 11:29:43 warning Error occurred when init IPC client
2024-10-27 11:29:43 info Logging has enabled on AmneziaVPN version 4.8.1.9 d4fff4af
2024-10-27 11:29:43 info macOS Sequoia (15.0) (x86_64)
2024-10-27 11:29:54 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1"
2024-10-27 11:29:54 debug "ConnectToVpn, Server index is 0, container is amnezia-shadowsocks, route mode is" Settings::VpnOnlyForwardSites
2024-10-27 11:29:54 debug IpcClient::init failed
2024-10-27 11:29:54 warning Error occurred when init IPC client
2024-10-27 11:30:54 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1"
2024-10-27 11:30:54 debug "ConnectToVpn, Server index is 0, container is amnezia-shadowsocks, route mode is" Settings::VpnOnlyForwardSites
2024-10-27 11:30:54 debug IpcClient::init failed
2024-10-27 11:30:54 warning Error occurred when init IPC client
2024-10-27 11:31:01 debug QML onClosing signal

Originally created by @abychko on GitHub (Oct 27, 2024). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1209 **Describe the bug** MacOS client can connect after configuration. But after reboot everything is broken. From logs: debug IpcClient::init failed warning Error occurred when init IPC client macOS Sequoia (15.0) M2 (ARM) AmnesiaVPN client 4.8.1.9 (x86_64) **To Reproduce** Steps to reproduce the behavior: 1. Configure VPN connection (mine is OpenVPN over SS) 2. Click on Connect button, make sure it works 3. Reboot and try to connect again 4. See error **Expected behavior** normal work 2024-10-27 11:29:43 debug IpcClient::init failed 2024-10-27 11:29:43 warning Error occurred when init IPC client 2024-10-27 11:29:43 info Logging has enabled on AmneziaVPN version 4.8.1.9 d4fff4af 2024-10-27 11:29:43 info macOS Sequoia (15.0) (x86_64) 2024-10-27 11:29:54 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1" 2024-10-27 11:29:54 debug "ConnectToVpn, Server index is 0, container is amnezia-shadowsocks, route mode is" Settings::VpnOnlyForwardSites 2024-10-27 11:29:54 debug IpcClient::init failed 2024-10-27 11:29:54 warning Error occurred when init IPC client 2024-10-27 11:30:54 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1" 2024-10-27 11:30:54 debug "ConnectToVpn, Server index is 0, container is amnezia-shadowsocks, route mode is" Settings::VpnOnlyForwardSites 2024-10-27 11:30:54 debug IpcClient::init failed 2024-10-27 11:30:54 warning Error occurred when init IPC client 2024-10-27 11:31:01 debug QML onClosing signal
Author
Owner

@lolmak commented on GitHub (Oct 28, 2024):

Try uninstalling Amnezia VPN, rebooting your PC, and then reinstalling the app. I’ve got three legit cases where this totally fixed the issue.
P/s Lots of folks mentioned earlier that updating to the latest stable version of Node.js also sorted out the issue on macOS.

<!-- gh-comment-id:2441354775 --> @lolmak commented on GitHub (Oct 28, 2024): Try uninstalling Amnezia VPN, rebooting your PC, and then reinstalling the app. I’ve got three legit cases where this totally fixed the issue. P/s Lots of folks mentioned earlier that updating to the latest stable version of Node.js also sorted out the issue on macOS.
Author
Owner

@WeAreLiving1984 commented on GitHub (Jan 2, 2025):

arch linux, node v22.12.0, same issue

edit: https://github.com/amnezia-vpn/amnezia-client/issues/1336 https://github.com/amnezia-vpn/amnezia-client/issues/1337

<!-- gh-comment-id:2567196175 --> @WeAreLiving1984 commented on GitHub (Jan 2, 2025): arch linux, node v22.12.0, same issue edit: https://github.com/amnezia-vpn/amnezia-client/issues/1336 https://github.com/amnezia-vpn/amnezia-client/issues/1337
Author
Owner

@windoozatnick commented on GitHub (Jan 6, 2025):

macOS Sequoia 15.2 ARM64 (over Rosetta 2), Lineage OS 22.1 (Android 15), same issue

i see this in macos logs:
2025-01-06 15:26:19 info macOS 15.2 (x86_64)
2025-01-06 15:26:42 debug IpcClient::init succeed
2025-01-06 15:26:42 info Started AmneziaVPN version 4.8.2.3 9e71e64c
2025-01-06 15:26:42 info macOS 15.2 (x86_64)
2025-01-06 15:26:42 info SSL backend: Secure Transport, macOS 15.2
2025-01-06 15:30:31 debug IpcClient::init succeed
2025-01-06 15:30:31 info Started AmneziaVPN version 4.8.2.3 9e71e64c
2025-01-06 15:30:31 info macOS 15.2 (x86_64)
2025-01-06 15:30:32 info SSL backend: Secure Transport, macOS 15.2
2025-01-06 15:32:56 debug failed to export private key
2025-01-06 15:41:23 debug failed to export private key

<!-- gh-comment-id:2573220998 --> @windoozatnick commented on GitHub (Jan 6, 2025): macOS Sequoia 15.2 ARM64 (over Rosetta 2), Lineage OS 22.1 (Android 15), same issue i see this in macos logs: 2025-01-06 15:26:19 info macOS 15.2 (x86_64) 2025-01-06 15:26:42 debug IpcClient::init succeed 2025-01-06 15:26:42 info Started AmneziaVPN version 4.8.2.3 9e71e64c 2025-01-06 15:26:42 info macOS 15.2 (x86_64) 2025-01-06 15:26:42 info SSL backend: Secure Transport, macOS 15.2 2025-01-06 15:30:31 debug IpcClient::init succeed 2025-01-06 15:30:31 info Started AmneziaVPN version 4.8.2.3 9e71e64c 2025-01-06 15:30:31 info macOS 15.2 (x86_64) 2025-01-06 15:30:32 info SSL backend: Secure Transport, macOS 15.2 2025-01-06 15:32:56 debug failed to export private key 2025-01-06 15:41:23 debug failed to export private key
Author
Owner

@Str0ss commented on GitHub (Feb 17, 2025):

Since it's the first result in google search, adding another error reason/solution:
Seems like AmneziaVPN does not support RSA keys to connect to a managed server. The error persisted when I tried to use an RSA key pair, but when I switched to ECDSA, everything worked fine.
Hope that will help someone.

<!-- gh-comment-id:2663792785 --> @Str0ss commented on GitHub (Feb 17, 2025): Since it's the first result in google search, adding another error reason/solution: Seems like AmneziaVPN does not support RSA keys to connect to a managed server. The error persisted when I tried to use an RSA key pair, but when I switched to ECDSA, everything worked fine. Hope that will help someone.
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#445
No description provided.