Hello!
So we've discovered an issue with our VPN app, and after testing and research for a week, we don't really know if it's a problem with iPhone X's firmware, or the implementation of OpenVPN on iPhone X. The issue isn't specific to our app, and can be found on other VPN apps on OpenVPN. It appears on iOS 12, 12.1 and 11.4, but so far we've only been able to reproduce on iPhone X.
To trigger:
1. Connect wifi
2. Connect your VPN app configured over OpenVPN
3. Ensure OnDemand is on
4. Toggle wifi using Control Center on the device quickly, 3 or 4 times.
5. Attempt to browse or send data using Safari for example.
Repeat this process for between a minute or 10 minutes until:
* The VPN app will say it's connected, but no data will be allowed through the tunnel.
From our own testing of our App, we discovered that when the app reach this state we could still send ping from the tunnel and receive response, but that any other form of traffic from any other apps (eg. Web browsing) would not work.
More details:
- The VPN icon appears in the status bar even when the app reaches this state.
- It happens under TCP and/or UDP.
- The reasserting property is false after the tunnel is up.
- The property isViable for NWTCPConnection/NWUDPSession value is YES.
- The property state for NWTCPConnection/NWUDPSession is ready/connected.
I attach a link to download a txt with the log from the console filtered for the process com.apple.WebKit.Networking when the app reaches this state.
https://1drv.ms/t/s!AtIkZx-Osy8C51jbW69QXa_dJRvu
Do you have any idea what could is causing this effect?
Thank you,
Jose Blaya