Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to apply OpenVPN configuration when trying to connect OVPN over Cloak from iOS #783

Open
nikitagricanuk opened this issue Apr 28, 2024 · 0 comments

Comments

@nikitagricanuk
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant