vipp wrote
After I upgraded my iOS app to v1.2.5, I found the TCP stream is much unstable than before. Whatever I put the server behind a proxy, or connected directly by TCP protocol. (Well-tested on 4G mobile network and Wi-Fi)
Thanks for reporting your issue. Would you be able to take a traffic dump of the connection so that we can observe what happens when it stops?
Do you have any easy way to reproduce the problem?
vipp wrote
Checked with the log and the reason of disconnecting is, a transport error (NETWORK_EOF_ERROR) was happened. I did lots of test with the same server, same network environment and the same client profile. TCP protocol worked well on v1.1.x but randomly disconnected on v1.2.5. UDP protocol worked well on both v1.1.x and v1.2.5.
I also checked the release note of v1.2.5 and fount "converted VPN backend to new Apple Network Extensions
framework". I am not sure if this would be the root cause of the unstable issue.
The NE Framework is not responsible for the transport layer (where the UDP/TCP connection is established), therefore I don't think the problem is there.
vipp wrote
I hope the iOS team can fix this TCP unstable issue soon in next release. If it is not easy, I also suggest the iOS team to release this 2 series as a separate new app which can be named OpenVPN Connect 2 or something like that, and keep the 1 series as the original one. That people can choose a suitable version rather than being enforced to upgrade to the latest version.
Sorry, but as mentioned in other threads, we can't release the old app anymore. The old API is not accepted by Apple anymore in new submissions.
However, if you provide enough information we can try to identify the issue and then think about a fix.
Let us know!
Thanks