Check connectivity with g_network_monitor_can_reach
Do separate connectivity checks for web-source / mozilla submit URL and locate URL using g_network_monitor_can_reach_async()
. This allows location and submission servers running on localhost to be connected when there is no outside connectivity.