VPN on demand blocks network after sleep
Hello everyone
On my iPhone I have configured a VPN on-demand profile, which routes all connections through the VPN. When my iPhone is on WiFi and wakes up from sleep the connection works. But as soon I switch to the mobile network, I have no more Internet connection. I can then switch back to WiFi and it works again. If I disable & re-enable the VPN then the connection also works on the mobile network..
This issue only seems to happen after the phone wakes up from sleep.. When I am using the phone and switch networks I never have such issues...
I am using an iPhone 5s with the newest iOS 8.2 installed.
Here is the log file from the event:
Mar 31 10:19:13 Manuels-iPhone MobileMail[2363] <Warning>: WiFi is associated YES
Mar 31 10:19:13 Manuels-iPhone identityservicesd[42] <Warning>: WiFi is associated YES
Mar 31 10:19:13 Manuels-iPhone identityservicesd[42] <Warning>: WiFi is associated YES
Mar 31 10:19:13 Manuels-iPhone UserEventAgent[17] <Warning>: WiFi is associated NO
Mar 31 10:19:13 Manuels-iPhone SpringBoard[2359] <Warning>: WiFi is associated NO
Mar 31 10:19:13 Manuels-iPhone locationd[64] <Warning>: WiFi is associated NO
Mar 31 10:19:13 Manuels-iPhone imagent[27] <Warning>: WiFi is associated NO
Mar 31 10:19:13 Manuels-iPhone MobileMail[2363] <Warning>: WiFi is associated NO
Mar 31 10:19:13 Manuels-iPhone identityservicesd[42] <Warning>: WiFi is associated NO
Mar 31 10:19:13 Manuels-iPhone MobileMail[2363] <Warning>: WiFi is associated NO
Mar 31 10:19:13 Manuels-iPhone apsd[83] <Warning>: WiFi is associated NO
Mar 31 10:19:13 Manuels-iPhone configd[24] <Notice>: IPMonitor: can't resolve excluded route: Net 195.176.211.24/32 Ifp en0 !Ifp ipsec0 [first]
Mar 31 10:19:13 Manuels-iPhone networkd[88] <Warning>: +[NETLedBelly stopFastFail] Clearing ledbelly failure cache
Mar 31 10:19:13 Manuels-iPhone neagent[2386] <Notice>: BUG in libdispatch client: kevent[EVFILT_READ] delete: "Bad file descriptor" - 0x9
Mar 31 10:19:13 Manuels-iPhone configd[24] <Notice>: Captive: CNPluginHandler en0: Inactive
Mar 31 10:19:13 Manuels-iPhone configd[24] <Notice>: network changed: v4(ipsec0:10.11.4.1, en0-:10.11.3.14) DNS* Proxy
Mar 31 10:19:13 Manuels-iPhone com.apple.WebKit.Networking[2390] <Error>: tcp_connection_destination_prepare_complete 45 connectx to 74.125.136.147:80@0 failed: Can't assign requested address
Mar 31 10:19:13 Manuels-iPhone com.apple.WebKit.Networking[2390] <Error>: tcp_connection_destination_prepare_complete 45 connectx to 74.125.136.99:80@0 failed: Can't assign requested address
Mar 31 10:19:13 Manuels-iPhone com.apple.WebKit.Networking[2390] <Error>: tcp_connection_destination_prepare_complete 45 connectx to 74.125.136.104:80@0 failed: Can't assign requested address
Mar 31 10:19:13 Manuels-iPhone discoveryd[67] <Notice>: Basic Bonjour stop listening on en0
Mar 31 10:19:13 Manuels-iPhone discoveryd[67] <Notice>: Basic Bonjour stop listening on awdl0
Mar 31 10:19:13 Manuels-iPhone networkd[88] <Warning>: +[NETLedBelly stopFastFail] Clearing ledbelly failure cache
Mar 31 10:19:13 Manuels-iPhone configd[24] <Notice>: network changed: v4(ipsec0-:10.11.4.1) DNS- Proxy-
Mar 31 10:19:14 Manuels-iPhone discoveryd[67] <Notice>: Basic WABServer NetResolverEvent no resolvers, resetting domains
Mar 31 10:19:14 Manuels-iPhone aosnotifyd[103] <Warning>: WiFi is associated YES
Mar 31 10:19:14 Manuels-iPhone aosnotifyd[103] <Warning>: WiFi is associated YES
Mar 31 10:19:14 Manuels-iPhone aosnotifyd[103] <Warning>: WiFi is associated NO
Mar 31 10:19:14 Manuels-iPhone dataaccessd[2353] <Warning>: WiFi is associated YES
Mar 31 10:19:14 Manuels-iPhone networkd[88] <Error>: -[FlowAnalyticsEngine _newFlowData:] netanalyticsdebug: (3) avoiding multiple instantiations for flow proxy-vpn.pot.vptt.ch, discarding all its new records
Mar 31 10:19:14 Manuels-iPhone dataaccessd[2353] <Warning>: WiFi is associated NO
Mar 31 10:19:14 Manuels-iPhone dataaccessd[2353] <Warning>: WiFi is associated NO
Mar 31 10:19:15 Manuels-iPhone locationd[64] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Mar 31 10:19:16 Manuels-iPhone locationd[64] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Mar 31 10:19:19 Manuels-iPhone kernel[0] <Notice>: AppleH4CamIn::setPowerStateGated: 0
Mar 31 10:19:19 Manuels-iPhone kernel[0] <Notice>: AppleH4CamIn::power_off_hardware
Mar 31 10:19:19 Manuels-iPhone itunescloudd[102] <Notice>: (Note ) MC: User has completed cloud configuration. Not showing UI again.
Mar 31 10:19:19 Manuels-iPhone mediaserverd[2350] <Notice>: 'FigPlayer - 41' (pid = 41) setting DiscoveryMode = DiscoveryMode_None, currentDiscoveryMode = DiscoveryMode_PresenceScan
Mar 31 10:19:19 Manuels-iPhone mediaserverd[2350] <Notice>: 2015-03-31 10:19:19.368649 AM [AirPlay] BTLE client stopping to browse for AirPlay Solo Target Presence.
Mar 31 10:19:19 Manuels-iPhone mediaserverd[2350] <Notice>: 2015-03-31 10:19:19.369740 AM [AirPlay] BTLE discovery stopped
Mar 31 10:19:19 Manuels-iPhone wirelessproxd[45] <Notice>: (Error) trying to stop a scan while the central isn't available
Mar 31 10:19:19 Manuels-iPhone wirelessproxd[45] <Warning>: (Warn ) CoreBluetooth: API MISUSE: <CBCentralManager: 0x14e372c0> can only accept this command while in the powered on state
This line looks pretty suspicious:
Mar 31 10:19:14 Manuels-iPhone networkd[88] <Error>: -[FlowAnalyticsEngine _newFlowData:] netanalyticsdebug: (3) avoiding multiple instantiations for flow proxy-vpn.pot.vptt.ch, discarding all its new records
Anybody has encountered this problem?
Thanks for the help..
iPhone 5s, iOS 8.2