Vvv: Network connection not detected. Unable to reach google.com...

Created on 23 Jun 2016  路  7Comments  路  Source: Varying-Vagrant-Vagrants/VVV

In china, I can't access google.com then the vagrant up can't complete. I have to adjust _google.com_ to _baidu.com_ or other.

bug patch

Most helpful comment

I have the same problem and I've increased attempts and timeout for connecting the google.com

if [[ "$(wget --tries=10 --timeout=10 --spider http://google.com 2>&1 | grep 'connected')" ]]; then

that's helped me

All 7 comments

Hi @linjielig, thank you for opening a ticket. I agree, we should be able to find a service that is more likely to be accessible throughout the world.

i have the same problem. I fix it by commenting the part that check the google ping connection on provision.sh
network_check() {
network_detection
if [[ ! "$ping_result" == "Connected" ]]; then
echo -e "nNo network connection available, skipping package installation"
#exit 0
fi
}

Yeah Google is one thing, but google.analytics is required before google.com. Not very nice.

I was getting this error in the US on a brand new MBP. Added 8.8.8.8 to DNS servers in network settings fixed it for me

I have the same problem and I've increased attempts and timeout for connecting the google.com

if [[ "$(wget --tries=10 --timeout=10 --spider http://google.com 2>&1 | grep 'connected')" ]]; then

that's helped me

In #1048, the wget call has been changed to wget --tries=3 --timeout=5 --spider --recursive --level=2 http://google.com 2>&1 | grep 'connected', which should help here. If not, we may need to find a more reliable domain than google.com to start with.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

robneu picture robneu  路  4Comments

timichango picture timichango  路  3Comments

JDGrimes picture JDGrimes  路  4Comments

rwrobe picture rwrobe  路  4Comments

sirbrillig picture sirbrillig  路  5Comments