[GH-ISSUE #782] Failed to apply OpenVPN configuration when trying to connect OVPN over Cloak from iOS #194

Closed
opened 2026-10-13 20:15:04 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @nikitagricanuk on GitHub (Apr 28, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/782

Describe the bug
When I'm trying to connect OpenVPN-over-Cloak I'm facing the error:

2024-04-28 11:12:10 debug Disconnect error me.ss-abramchuk.openvpn-adapter.error-domain 1 Failed to apply OpenVPN configuration.

In the app it looks like VPN trying to connect and after a moment status resets to Connect

On an Android device it looks like just infinite connection

To Reproduce
Steps to reproduce the behavior:

  1. Go to AmneziaVPN app on an iPhone
  2. Click on Connect
  3. See the error in logs

Expected behavior
A clear and concise description of what you expected to happen.

Log files
Log file on iPhone:

2024-04-28 11:12:10 debug VpnConfigurator::getDnsForConfig "172.29.x.x" "8.8.8.8"
2024-04-28 11:12:10 debug "ConnectToVpn, Server index is 0, container is amnezia-openvpn-cloak, route mode is" Settings::VpnAllSites
2024-04-28 11:12:10 debug IosController::connectVpn "🇫🇮Finland (185.174.x.x) cloak"
2024-04-28 11:12:10 debug IosController::connectVpn : We have received managers: 3
2024-04-28 11:12:10 debug IosController::connectVpn : Using existing tunnel
2024-04-28 11:12:10 debug IosController::startOpenVPN
2024-04-28 11:12:10 debug Vpn::Disconnected
2024-04-28 11:12:10 debug IosController::startOpenVPN : Starting the tunnel succeeded
2024-04-28 11:12:10 debug IosController::vpnStatusDidChange Vpn::Connecting <NETunnelProviderSession: 0x30151db80>
2024-04-28 11:12:10 debug IosController::vpnStatusDidChange Vpn::Disconnecting <NETunnelProviderSession: 0x30151db80>
2024-04-28 11:12:10 debug IosController::vpnStatusDidChange Vpn::Disconnected <NETunnelProviderSession: 0x30151db80>
2024-04-28 11:12:10 debug Disconnect error me.ss-abramchuk.openvpn-adapter.error-domain 1 Failed to apply OpenVPN configuration.
2024-04-28 11:12:10 info NE: Start tunnel
... config details ...
2024-04-28 11:12:10 info NE: OVPN: Setup and launch

Log file on an Android:


2024-04-28 11:42:48 debug "ConnectToVpn, Server index is 0, container is amnezia-openvpn-cloak, route mode is" Settings::VpnAllSites
2024-04-28 11:42:48 debug VpnConfigurator::getDnsForConfig "172.29.172.254" "1.0.0.1"
2024-04-28 11:42:49 debug VpnConfigurator::getDnsForConfig "172.29.172.254" "1.0.0.1"
2024-04-28 11:42:49 debug VpnConfigurator::getDnsForConfig "172.29.172.254" "1.0.0.1"
2024-04-28 11:42:49 debug VpnConfigurator::getDnsForConfig "172.29.172.254" "1.0.0.1"
2024-04-28 11:42:49 debug Prompting for VPN permission
2024-04-28 11:43:09 debug AndroidController::stop
2024-04-28 11:43:09 debug Transact: disconnected
2024-04-28 11:43:10 debug AndroidController::stop
2024-04-28 11:43:10 debug Transact: disconnected

Smartphone:

  • Device: iPhone 14
  • OS: iOS 17.4.1
  • Version: 4.5.0.1

Server:

  • OS: Ubuntu 22.04
Originally created by @nikitagricanuk on GitHub (Apr 28, 2024). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/782 **Describe the bug** When I'm trying to connect OpenVPN-over-Cloak I'm facing the error: ``` 2024-04-28 11:12:10 debug Disconnect error me.ss-abramchuk.openvpn-adapter.error-domain 1 Failed to apply OpenVPN configuration. ``` In the app it looks like VPN trying to connect and after a moment status resets to Connect On an Android device it looks like just infinite connection **To Reproduce** Steps to reproduce the behavior: 1. Go to AmneziaVPN app on an iPhone 2. Click on Connect 3. See the error in logs **Expected behavior** A clear and concise description of what you expected to happen. **Log files** Log file on iPhone: ``` 2024-04-28 11:12:10 debug VpnConfigurator::getDnsForConfig "172.29.x.x" "8.8.8.8" 2024-04-28 11:12:10 debug "ConnectToVpn, Server index is 0, container is amnezia-openvpn-cloak, route mode is" Settings::VpnAllSites 2024-04-28 11:12:10 debug IosController::connectVpn "🇫🇮Finland (185.174.x.x) cloak" 2024-04-28 11:12:10 debug IosController::connectVpn : We have received managers: 3 2024-04-28 11:12:10 debug IosController::connectVpn : Using existing tunnel 2024-04-28 11:12:10 debug IosController::startOpenVPN 2024-04-28 11:12:10 debug Vpn::Disconnected 2024-04-28 11:12:10 debug IosController::startOpenVPN : Starting the tunnel succeeded 2024-04-28 11:12:10 debug IosController::vpnStatusDidChange Vpn::Connecting <NETunnelProviderSession: 0x30151db80> 2024-04-28 11:12:10 debug IosController::vpnStatusDidChange Vpn::Disconnecting <NETunnelProviderSession: 0x30151db80> 2024-04-28 11:12:10 debug IosController::vpnStatusDidChange Vpn::Disconnected <NETunnelProviderSession: 0x30151db80> 2024-04-28 11:12:10 debug Disconnect error me.ss-abramchuk.openvpn-adapter.error-domain 1 Failed to apply OpenVPN configuration. 2024-04-28 11:12:10 info NE: Start tunnel ... config details ... 2024-04-28 11:12:10 info NE: OVPN: Setup and launch ``` Log file on an Android: ``` 2024-04-28 11:42:48 debug "ConnectToVpn, Server index is 0, container is amnezia-openvpn-cloak, route mode is" Settings::VpnAllSites 2024-04-28 11:42:48 debug VpnConfigurator::getDnsForConfig "172.29.172.254" "1.0.0.1" 2024-04-28 11:42:49 debug VpnConfigurator::getDnsForConfig "172.29.172.254" "1.0.0.1" 2024-04-28 11:42:49 debug VpnConfigurator::getDnsForConfig "172.29.172.254" "1.0.0.1" 2024-04-28 11:42:49 debug VpnConfigurator::getDnsForConfig "172.29.172.254" "1.0.0.1" 2024-04-28 11:42:49 debug Prompting for VPN permission 2024-04-28 11:43:09 debug AndroidController::stop 2024-04-28 11:43:09 debug Transact: disconnected 2024-04-28 11:43:10 debug AndroidController::stop 2024-04-28 11:43:10 debug Transact: disconnected ``` **Smartphone:** - Device: iPhone 14 - OS: iOS 17.4.1 - Version: 4.5.0.1 **Server:** - OS: Ubuntu 22.04
Author
Owner

@pokamest commented on GitHub (Jun 12, 2024):

Duplicate https://github.com/amnezia-vpn/amnezia-client/issues/781

<!-- gh-comment-id:2161821733 --> @pokamest commented on GitHub (Jun 12, 2024): Duplicate https://github.com/amnezia-vpn/amnezia-client/issues/781
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#194
No description provided.