moovweb / gvm

Go Version Manager
http://github.com/moovweb/gvm
MIT License
10.32k stars 538 forks source link

Failing to install binary go1.4 on Windows 10 - Ubuntu Bash emulation #247

Open tappoz opened 7 years ago

tappoz commented 7 years ago

Failing to install binary go1.4 on Windows 10 - Ubuntu Bash emulation

root@<MY_MACHINE>:~# gvm install go1.4 -B
Installing go1.4 from binary source
ERROR: Failed to download binary go from http://golang.org. Trying https://go.googlecode.com
ERROR: Failed to download binary go
root@<MY_MACHINE>:~#

The gvm logs don't say anything:

root@<MY_MACHINE>:~# cat .gvm/logs/go-go1.4-download-binary
root@<MY_MACHINE>:~#

It would be useful to have some information here. These logs are usually not verbose at all (also when compiling from source code), having a -v/--verbose would be helpful.

The main www.golang.org seems on reach (very slow though)

root@<MY_MACHINE>:~# ping www.golang.org
PING golang.org (216.58.198.177) 56(84) bytes of data.
64 bytes from 216.58.198.177: icmp_seq=1 ttl=55 time=2.50 ms
64 bytes from 216.58.198.177: icmp_seq=2 ttl=55 time=5.02 ms
64 bytes from 216.58.198.177: icmp_seq=3 ttl=55 time=5.50 ms
64 bytes from 216.58.198.177: icmp_seq=4 ttl=55 time=5.34 ms
^C
--- golang.org ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 17022ms
rtt min/avg/max/mdev = 2.501/4.592/5.505/1.220 ms

Also go.googlecode.com seems on reach (very slow though)

root@<MY_MACHINE>:~# ping go.googlecode.com
PING googlecode.l.googleusercontent.com (173.194.76.82) 56(84) bytes of data.
64 bytes from 173.194.76.82: icmp_seq=1 ttl=45 time=8.02 ms
64 bytes from 173.194.76.82: icmp_seq=2 ttl=45 time=11.0 ms
64 bytes from 173.194.76.82: icmp_seq=3 ttl=45 time=11.4 ms
64 bytes from 173.194.76.82: icmp_seq=4 ttl=45 time=11.5 ms
64 bytes from 173.194.76.82: icmp_seq=5 ttl=45 time=11.0 ms
^C
--- googlecode.l.googleusercontent.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 18029ms
rtt min/avg/max/mdev = 8.026/10.620/11.537/1.315 ms
junwangustc commented 6 years ago

anybody know how to slove it?