Closed jialovegirl closed 3 years ago
Hi @jialovegirl,
First of all I would recommend to follow advice from NSLocalizedDescription and check underlying error details during debug. Also, you may try to set configuration.tunPersist = YES
to avoid resetting of the tunnel. As for preventing establishing VPN connection from the settings I'm afraid I can't help with that. It is the matter of the app implementation and it requires research.
@ss-abramchuk Thank you for your reply
I started the VPN through the app, and I encountered an error when closing the VPN connection on the iOS system settings page. Error Domain=me.ss-abramchuk.openvpn-adapter.error-domain Code=20 "Failed to reset tunnel. Check underlying error for more details." UserInfo={me.ss-abramchuk.openvpn-adapter.error-key.fatal=true, NSLocalizedDescription=Failed to reset tunnel. Check underlying error for more details., NSUnderlyingError=0x102b09750 {Error Domain=NEAgentErrorDomain Code=1 "(null)"}}
Then I want the VPN to be started only in the App and not on the system settings page. Is there a good way? thx!
`
}
}
`