[GH-ISSUE #928] Can't connect using amneziaWG #265

Closed
opened 2026-10-14 03:17:32 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @new-divos on GitHub (Aug 4, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/928

Describe the bug
Can't connect using AmneziaWG protocol, It just not connecting at all.

Log files
2024-08-04 18:17:51 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1"
2024-08-04 18:17:51 debug "ConnectToVpn, Server index is 0, container is amnezia-awg, route mode is" Settings::VpnOnlyForwardSites
2024-08-04 18:17:51 debug IpcClient::init succeed
2024-08-04 18:17:51 debug Amnezia "LocalSocketController" "Initializing"
2024-08-04 18:17:51 debug Amnezia "LocalSocketController" "Connecting to: \\.\pipe\amneziavpn"
2024-08-04 18:17:51 debug Amnezia "LocalSocketController" "Daemon connected"
2024-08-04 18:17:51 debug Amnezia "LocalSocketController" "Check status"
2024-08-04 18:17:51 debug Amnezia "LocalSocketController" "Reading"
2024-08-04 18:17:51 debug Amnezia "LocalSocketController" "Parse command: status"
2024-08-04 18:19:29 debug Amnezia "LocalSocketController" "Deactivating"

OS
Windows 11 23H2

Originally created by @new-divos on GitHub (Aug 4, 2024). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/928 **Describe the bug** Can't connect using AmneziaWG protocol, It just not connecting at all. **Log files** 2024-08-04 18:17:51 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1" 2024-08-04 18:17:51 debug "ConnectToVpn, Server index is 0, container is amnezia-awg, route mode is" Settings::VpnOnlyForwardSites 2024-08-04 18:17:51 debug IpcClient::init succeed 2024-08-04 18:17:51 debug Amnezia "LocalSocketController" "Initializing" 2024-08-04 18:17:51 debug Amnezia "LocalSocketController" "Connecting to: \\\\.\\pipe\\amneziavpn" 2024-08-04 18:17:51 debug Amnezia "LocalSocketController" "Daemon connected" 2024-08-04 18:17:51 debug Amnezia "LocalSocketController" "Check status" 2024-08-04 18:17:51 debug Amnezia "LocalSocketController" "Reading" 2024-08-04 18:17:51 debug Amnezia "LocalSocketController" "Parse command: status" 2024-08-04 18:19:29 debug Amnezia "LocalSocketController" "Deactivating" **OS** Windows 11 23H2
Author
Owner

@tollfree commented on GitHub (Aug 23, 2024):

Same trouble, same log, 4.7.0.0, macOS 14.6.1
Only VPN Free Russia config from https://t.me/free_vpn_amnezia_bot works as it should

Some on Telegram group say, reinstall may help, but seems not for me

On iOS, there's no issues with same config files

<!-- gh-comment-id:2307037152 --> @tollfree commented on GitHub (Aug 23, 2024): Same trouble, same log, 4.7.0.0, macOS 14.6.1 Only VPN Free Russia config from https://t.me/free_vpn_amnezia_bot works as it should Some on Telegram group say, reinstall may help, but seems not for me On iOS, there's no issues with same config files
Author
Owner

@4external commented on GitHub (Sep 24, 2024):

same bug as @tollfree . config work on iOS, but not work on macOS.

macOS log

2024-09-24 13:35:23 debug IpcClient::init succeed
2024-09-24 13:35:23 info Logging has enabled on AmneziaVPN version 4.7.0.0 843156cf
2024-09-24 13:35:23 info macOS 14.3 (x86_64)
2024-09-24 13:35:38 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1"
2024-09-24 13:35:38 debug "ConnectToVpn, Server index is 1, container is amnezia-awg, route mode is" Settings::VpnOnlyForwardSites
2024-09-24 13:35:38 debug IpcClient::init succeed
2024-09-24 13:35:38 debug Amnezia "LocalSocketController" "Initializing"
2024-09-24 13:35:38 debug Amnezia "LocalSocketController" "Connecting to: /var/run/amneziavpn/daemon.socket"
2024-09-24 13:35:38 debug Amnezia "LocalSocketController" "Daemon connected"
2024-09-24 13:35:38 debug Amnezia "LocalSocketController" "Check status"
2024-09-24 13:35:38 debug Amnezia "LocalSocketController" "Reading"
2024-09-24 13:35:38 debug Amnezia "LocalSocketController" "Parse command: status"
2024-09-24 13:35:39 debug Amnezia "LocalSocketController" "Reading"
2024-09-24 13:35:39 debug Amnezia "LocalSocketController" "Parse command: connected"
2024-09-24 13:35:39 debug Amnezia "LocalSocketController" "Handshake completed with: uIvFCUNvA4yD......BShmAay0="
2024-09-24 13:35:50 debug Amnezia "LocalSocketController" "Deactivating"

on iOS

2024-09-24 13:37:39 info Logging has enabled on AmneziaVPN version 4.6.0.4 33840082
2024-09-24 13:37:39 info iOS 17.6 (arm64)
2024-09-24 13:37:43 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1"
2024-09-24 13:37:43 debug "ConnectToVpn, Server index is 1, container is amnezia-awg, route mode is" Settings::VpnOnlyForwardSites
2024-09-24 13:37:43 debug IosController::connectVpn "Server 2 (xxx.xxx.xxx.xxx) awg"
2024-09-24 13:37:43 debug IosController::connectVpn : We have received managers: 3
2024-09-24 13:37:43 debug IosController::connectVpn : Using existing tunnel: Server 2 (xxx.xxx.xxx.xxx) awg
2024-09-24 13:37:43 debug IosController::startWireGuard
2024-09-24 13:37:43 debug Vpn::Disconnected
2024-09-24 13:37:43 debug IosController::startTunnel :Server 2 (xxx.xxx.xxx.xxx) awgWireGuard : Starting the tunnel succeeded
2024-09-24 13:37:43 debug IosController::vpnStatusDidChange Vpn::Connecting <NETunnelProviderSession: 0x300022a80>
2024-09-24 13:37:43 debug IosController::vpnStatusDidChange Vpn::Connected <NETunnelProviderSession: 0x300022a80>
2024-09-24 13:37:43 info NE: Start tunnel
2024-09-24 13:37:43 info NE: WG: config: [Interface]
2024-09-24 13:37:43 info NE: WG: config:   Address = xxx.xxx.xxx.xxx
<!-- gh-comment-id:2371029065 --> @4external commented on GitHub (Sep 24, 2024): same bug as @tollfree . config work on iOS, but not work on macOS. macOS log ``` 2024-09-24 13:35:23 debug IpcClient::init succeed 2024-09-24 13:35:23 info Logging has enabled on AmneziaVPN version 4.7.0.0 843156cf 2024-09-24 13:35:23 info macOS 14.3 (x86_64) 2024-09-24 13:35:38 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1" 2024-09-24 13:35:38 debug "ConnectToVpn, Server index is 1, container is amnezia-awg, route mode is" Settings::VpnOnlyForwardSites 2024-09-24 13:35:38 debug IpcClient::init succeed 2024-09-24 13:35:38 debug Amnezia "LocalSocketController" "Initializing" 2024-09-24 13:35:38 debug Amnezia "LocalSocketController" "Connecting to: /var/run/amneziavpn/daemon.socket" 2024-09-24 13:35:38 debug Amnezia "LocalSocketController" "Daemon connected" 2024-09-24 13:35:38 debug Amnezia "LocalSocketController" "Check status" 2024-09-24 13:35:38 debug Amnezia "LocalSocketController" "Reading" 2024-09-24 13:35:38 debug Amnezia "LocalSocketController" "Parse command: status" 2024-09-24 13:35:39 debug Amnezia "LocalSocketController" "Reading" 2024-09-24 13:35:39 debug Amnezia "LocalSocketController" "Parse command: connected" 2024-09-24 13:35:39 debug Amnezia "LocalSocketController" "Handshake completed with: uIvFCUNvA4yD......BShmAay0=" 2024-09-24 13:35:50 debug Amnezia "LocalSocketController" "Deactivating" ``` on iOS ``` 2024-09-24 13:37:39 info Logging has enabled on AmneziaVPN version 4.6.0.4 33840082 2024-09-24 13:37:39 info iOS 17.6 (arm64) 2024-09-24 13:37:43 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1" 2024-09-24 13:37:43 debug "ConnectToVpn, Server index is 1, container is amnezia-awg, route mode is" Settings::VpnOnlyForwardSites 2024-09-24 13:37:43 debug IosController::connectVpn "Server 2 (xxx.xxx.xxx.xxx) awg" 2024-09-24 13:37:43 debug IosController::connectVpn : We have received managers: 3 2024-09-24 13:37:43 debug IosController::connectVpn : Using existing tunnel: Server 2 (xxx.xxx.xxx.xxx) awg 2024-09-24 13:37:43 debug IosController::startWireGuard 2024-09-24 13:37:43 debug Vpn::Disconnected 2024-09-24 13:37:43 debug IosController::startTunnel :Server 2 (xxx.xxx.xxx.xxx) awgWireGuard : Starting the tunnel succeeded 2024-09-24 13:37:43 debug IosController::vpnStatusDidChange Vpn::Connecting <NETunnelProviderSession: 0x300022a80> 2024-09-24 13:37:43 debug IosController::vpnStatusDidChange Vpn::Connected <NETunnelProviderSession: 0x300022a80> 2024-09-24 13:37:43 info NE: Start tunnel 2024-09-24 13:37:43 info NE: WG: config: [Interface] 2024-09-24 13:37:43 info NE: WG: config: Address = xxx.xxx.xxx.xxx ```
Author
Owner

@Nethius commented on GitHub (Feb 21, 2025):

Thank you for your report. Please note that GitHub is not a support channel. For assistance, please contact our support team via chat at https://t.me/amnezia_support_bot or via email at support@amnezia.org.

Our team will review the details and help resolve the issue.

<!-- gh-comment-id:2674735689 --> @Nethius commented on GitHub (Feb 21, 2025): Thank you for your report. Please note that GitHub is not a support channel. For assistance, please contact our support team via chat at https://t.me/amnezia_support_bot or via email at [support@amnezia.org](mailto:support@amnezia.org). Our team will review the details and help resolve the issue.
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#265
No description provided.