Reputation: 488
I have a Problem with iOS7 and VPN on demand.
If I call a Webservice VPN on demand starts the connection. The VPN Symbol is shown in the Statusbar and everything works fine.
Now I wait for a minute or two for sending another request. The VPN Symbol is still shown in the statusbar, but the connection is not valid. The request will run into empty and the services isn't called.
So my question, is there any posibility to cancel the vpn connection or to keep it alive? What do i need to build a per App VPN?
Thanks a lot!
Upvotes: 3
Views: 203
Reputation: 203
I am also using On-Demand VPN in iOS 7 and I am not experiencing this issue
It seems like buggy beta os version update to latest one and try that's enough.
If the VPN server is down it may happen so make sure VPN sure in online and available.
Review your mobile config xml for any bug below is part of my mobile config I use.
<key>OnDemandEnabled</key>
<integer>1</integer>
<key>OnDemandMatchDomainsAlways</key>
<array>
<string>*</string>
<string>google.com</string>
</array>
<key>OnDemandMatchDomainsNever</key>
<array/>
<key>OnDemandMatchDomainsOnRetry</key>
<array/>
<key>OnDemandRules</key>
<array>
<dict>
<key>Action</key>
<string>Connect</string>
</dict>
</array>
Hope this helps.
Upvotes: 1