Hi,
We use Network path/status monitor functionality and see frequent changes being reported as shown below. Because of this VPN also toggles on/off very quickly.
UTC 21557 0x24fae6 NetworkingModuleNetworkMonitor : Network status changed. isConnected:True, Type:nwinterfacetypecellular pathHasIpv4:True, pathHasIpv6:True, isPathExpensive:True
[0x5435] 2020-08-27 09:07:59.805843 UTC 21557 0x24eda8 monitor/network - wifi: no, cell: yes, eth: no, ipv4: yes, ipv6: yes, expensive: yes
[0x5435] 2020-08-27 09:07:59.805879
[0x5435] 2020-08-27 09:08:45.279123 UTC 21557 0x24fbb6 NetworkingModuleNetworkMonitor : Network status changed. isConnected:False, Type:nwinterfacetypecellular pathHasIpv4:True, pathHasIpv6:True, isPathExpensive:True
[0x5435] 2020-08-27 09:08:45.279548 UTC 21557 0x24eda8 monitor/network - wifi: no, cell: yes, eth: no, ipv4: no, ipv6: no, expensive: yes
[0x5435] 2020-08-27 09:08:45.279576 UTC 21557 0x24eda8 monitor/network - network state changed (0x0000001a -> 0x00000002); shutdown requested
[0x5435] 2020-08-27 09:08:45.279666 UTC 21557 0x24eda8 PacketTunnelProviderModule_PacketTunnelProvider : -[PacketTunnelProvider logNetworkState:WithShutdown:], flags: 0x00000002, expensive: 1, shutdown: 1
Actually, internet is available on device. What could be other reasons for this toggle?
We use Network path/status monitor functionality and see frequent changes being reported as shown below. Because of this VPN also toggles on/off very quickly.
UTC 21557 0x24fae6 NetworkingModuleNetworkMonitor : Network status changed. isConnected:True, Type:nwinterfacetypecellular pathHasIpv4:True, pathHasIpv6:True, isPathExpensive:True
[0x5435] 2020-08-27 09:07:59.805843 UTC 21557 0x24eda8 monitor/network - wifi: no, cell: yes, eth: no, ipv4: yes, ipv6: yes, expensive: yes
[0x5435] 2020-08-27 09:07:59.805879
[0x5435] 2020-08-27 09:08:45.279123 UTC 21557 0x24fbb6 NetworkingModuleNetworkMonitor : Network status changed. isConnected:False, Type:nwinterfacetypecellular pathHasIpv4:True, pathHasIpv6:True, isPathExpensive:True
[0x5435] 2020-08-27 09:08:45.279548 UTC 21557 0x24eda8 monitor/network - wifi: no, cell: yes, eth: no, ipv4: no, ipv6: no, expensive: yes
[0x5435] 2020-08-27 09:08:45.279576 UTC 21557 0x24eda8 monitor/network - network state changed (0x0000001a -> 0x00000002); shutdown requested
[0x5435] 2020-08-27 09:08:45.279666 UTC 21557 0x24eda8 PacketTunnelProviderModule_PacketTunnelProvider : -[PacketTunnelProvider logNetworkState:WithShutdown:], flags: 0x00000002, expensive: 1, shutdown: 1
Actually, internet is available on device. What could be other reasons for this toggle?