报错内容
重启后短暂闪过启动,打开端口提示:
Downloading missing geoip.dat and geosite.dat; refresh the page later. 正在下载缺失的 geoip.dat 和 geosite.dat,请稍后刷新页面。
在日志中的错误提示:
[E] [version.go:39] failed to get latest version of GFWList: Get “https://hubmirror.v2raya.org/api/v2rayA/dist-v2ray-rules-dat/tags”: dial tcp: lookup hubmirror.v2raya.org on 127.0.0.1:53: no such host
[E] [version.go:39] failed to get latest version of GFWList: Get “https://hubmirror.v2raya.org/api/v2rayA/dist-v2ray-rules-dat/tags”: dial tcp: lookup hubmirror.v2raya.org on 127.0.0.1:53: no such host
解决
对应的域名无效了,需要手动下载文件。使用ssh工具登录,下载到指定位置即可。在openwrt-21.02测试可用。还没找到替换域名的方法。
cd /usr/share/xray wget -O /usr/share/v2ray/geoip.dat <a href="https://github.com/v2fly/geoip/releases/latest/download/geoip.dat">https://github.com/v2fly/geoip/releases/latest/download/geoip.dat</a> wget -O /usr/share/v2ray/geosite.dat <a href="https://github.com/v2fly/domain-list-community/releases/latest/download/dlc.dat">https://github.com/v2fly/domain-list-community/releases/latest/download/dlc.dat</a>