我正在尝试通过gvm命令’$gvm i gradle’安装gradle,但是我收到了离线模式的消息.
(任何安装失败,并显示以下消息)
(任何安装失败,并显示以下消息)
➜ ~ ➜ ~ ➜ ~ gvm i gradle GVM can't reach the internet so going offline. Re-enable online with: $gvm offline disable ==== BROADCAST ============================================= OFFLINE MODE ENABLED! Some functionality is now disabled. ============================================================ This command is not available in offline mode. ➜ ~ ➜ ~ ➜ ~ gvm offline disable Online mode re-enabled! ➜ ~ ➜ ~ ➜ ~ gvm i gradle GVM can't reach the internet so going offline. Re-enable online with: $gvm offline disable ==== BROADCAST ============================================= OFFLINE MODE ENABLED! Some functionality is now disabled. ============================================================ This command is not available in offline mode.
附加信息:已配置代理.
➜ ~ ➜ ~ ➜ ~ ping gvmtool.net PING gvmtool.net (192.30.252.154) 56(84) bytes of data. 64 bytes from pages.github.com (192.30.252.154): icmp_seq=1 ttl=50 time=150 ms 64 bytes from pages.github.com (192.30.252.154): icmp_seq=2 ttl=50 time=151 ms 64 bytes from pages.github.com (192.30.252.154): icmp_seq=3 ttl=50 time=159 ms 64 bytes from pages.github.com (192.30.252.154): icmp_seq=4 ttl=50 time=155 ms 64 bytes from pages.github.com (192.30.252.154): icmp_seq=5 ttl=50 time=151 ms ^C --- gvmtool.net ping statistics --- 5 packets transmitted,5 received,0% packet loss,time 4005ms rtt min/avg/max/mdev = 150.383/153.800/159.585/3.507 ms