081ebb0
Replace ping with curl Some network have HTTP(S) and DNS connectivity with internet but not ICMP. Using ping, the connectivity check returns False, even though it might be possible to connect