But in our case,
URL Session is calling a public endpoint. That's the reason, it succeeds even when VPN connection is being established.
It happens intermittently. Majorly after sleep/wakeup or when enabling onDemand randomly.
Scenario that works always:
Connect VPN manually. VPN established successfully
Disconnect manually.
Enable on demand. VPN established successfully automatically.
So, I think it's not the same issue as mentioned above.
Topic:
App & System Services
SubTopic:
Networking
Tags: