Our software is a VPN app that uses the PackTunnelProvider solution.Some customers have reported frequent failures to connect to the VPN server. Killing the app and restarting it does not work, but restarting the iOS system restores the connection.
We checked the logs and found that the TCP connection could not be established, with the error message "No route to host". This is usually a network problem.
However, the customer's other apps, including our host app, can access the network normally.
To check the network quality, the VPN process pings apple domain at the same time. We found that every time the user cannot connect to the VPN server, the VPN process ping apple has the following error: kCFErrorDomainCFNetwork-Fehler 2.
Can you tell me if there are any situations that could cause this problem?