passepartoutvpn / tunnelkit

VPN client library for Apple platforms.
GNU General Public License v3.0
9 stars 8 forks source link

Always disconnected when I try conneting. #282

Closed TalentDev0401 closed 2 years ago

TalentDev0401 commented 2 years ago

Summary

I forked your source code(tunnelkit) and implement one vpn node connection.

Steps to reproduce

My configuration is following. ip address: 13.57.147.230 port: 8381 username: password: ****

With these config, I tried to connect vpn. But, always getting disconnecting and disconnected. how can I solve this issue?

What is the current bug behavior?

VPNStatusDidChange: disconnected Disconnected. 17:17:30 DEBUG NetworkExtensionVPN.notifyStatus():290 - VPN status did change (com.coco.bestvpn.OpenVPN.Tunnel): isEnabled=false, status=1 17:17:30 DEBUG NetworkExtensionVPN.notifyReinstall():276 - VPN did reinstall (com.coco.bestvpn.OpenVPN.Tunnel): isEnabled=true 17:17:30 DEBUG NetworkExtensionVPN.notifyReinstall():276 - VPN did reinstall (com.coco.bestvpn.OpenVPN.Tunnel): isEnabled=true VPNStatusDidChange: connecting Connecting... 17:17:30 DEBUG NetworkExtensionVPN.notifyStatus():290 - VPN status did change (com.coco.bestvpn.OpenVPN.Tunnel): isEnabled=true, status=2 VPNStatusDidChange: disconnecting Disconneting... 17:17:36 DEBUG NetworkExtensionVPN.notifyStatus():290 - VPN status did change (com.coco.bestvpn.OpenVPN.Tunnel): isEnabled=true, status=5 VPNStatusDidChange: disconnected Disconnected. 17:17:36 DEBUG NetworkExtensionVPN.notifyStatus():290 - VPN status did change (com.coco.bestvpn.OpenVPN.Tunnel): isEnabled=true, status=1

What is the expected correct behavior?

VPN connected.

Relevant logs and/or screenshots

Possible fixes suggested remediation

This node is working in android app. I already finished android project and it works well in android. But, not working in iOS. Hope you to solve this issue in a short time. I think this happen due to missing some configuration. Thanks