NEPacketTunnelProvider start fail nesessionmanager stack

My App is a VPN APP, use [com.apple.networkextension.packet-tunnel] extension app to provider a VPN service.  Sometimes the VPN doesn't start successfully, until the user restart the iOS System or reinstall my APP And I got get sysdiagnose log, and find nesessionmanager was stack in connecting state. this is the log:

It seems to be stuck by nw_path_necp_update_evaluator_block_invoke could you tell me what is this, and how can I avoid this.

哥们,你最近还在做VPN的项目么?我最近在开发VPN的时候,也遇到了和你类似的问题。我的场景是:大部分时候,VPN是可以正常使用的,但是如果出现问题,VPN就一直连不上,必须得重启手机,才能恢复。你这个问题,最后是怎么解决的?我翻了苹果开发者论坛里面好多类似的帖子,似乎都没有一个很好的解决方案。

看到我的评论,请回复,一起交流下,哈哈

The log doesn't provide a whole lot of detail on what it happening unfortunately. To debug this further I would take a look at Quinn's post for Debugging a Network Extension Provider.

NEPacketTunnelProvider start fail nesessionmanager stack
 
 
Q