• BUG反馈
  • 插件中心显示无法访问外网

环境:安卓下的linux deploy使用chroot的ubuntu
系统:Ubuntu18.04 arm64
问题:无法下载安装插件,点击“安装插件”或“手动安装”也无法安装,但可以通过手动复制到目录安装。
提示:网络错误,请检查服务器能否访问外网。
网络是通的:
root@localhost:~# ping www.baidu.com
PING www.a.shifen.com (14.215.177.38) 56(84) bytes of data.
64 bytes from 14.215.177.38 (14.215.177.38): icmp_seq=1 ttl=54 time=25.3 ms
64 bytes from 14.215.177.38 (14.215.177.38): icmp_seq=2 ttl=54 time=26.6 ms
64 bytes from 14.215.177.38 (14.215.177.38): icmp_seq=3 ttl=54 time=43.0 ms
64 bytes from 14.215.177.38 (14.215.177.38): icmp_seq=4 ttl=54 time=35.6 ms
--- www.a.shifen.com ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 9017ms
rtt min/avg/max/mdev = 22.469/28.193/43.079/6.046 ms

  • nemo 回复了此帖
    2 年 后

    遇到同样问题,解决办法:
    即修改hosts文件:

    vi /etc/hosts
    i键

    增加条目:
    115.29.186.26 api.kodcloud.com

    esc后输入:wq保存退出。
    问题解决。

    可以提前ping一下api.kodcloud.com看看上面ip对不对。