ss-abramchuk / OpenVPNAdapter

Objective-C wrapper for OpenVPN library. Compatible with iOS and macOS.
GNU Affero General Public License v3.0
482 stars 217 forks source link

occasionally switching from cellular to WiFi the adapter not connect #88

Closed android0276 closed 6 years ago

android0276 commented 6 years ago
    I have been use vpnReachability check network switch, but this issue will occur occasionally, the VPN not connect. need close VPN and again start, it can work normally.

    vpnReachability.startTracking { [weak self] status in
        guard status != .notReachable else { return }
        self?.vpnAdapter.reconnect(interval: 5)
    }
mrkizy commented 6 years ago

你是否有开启 使用网络权限?

android0276 commented 6 years ago

已解决

JubrilEdu commented 6 years ago

怎么样?

ms-tii commented 5 years ago

@android0276 你怎么解决的?