Open ericzhang-debug opened 1 year ago
请按照以下代码修改 config.json 配置文件即可解决:
{
...
"index4": "url:https://myip4.ipip.net/",
"index6": "url:https://myip6.ipip.net/",
...
}
请按照以下代码修改 config.json 配置文件即可解决:
{ ... "index4": "url:https://myip4.ipip.net/", "index6": "url:https://myip6.ipip.net/", ... }
该方法不是使用外部公网地址API得到的IP吗? 若不希望访问外部API,而使用网卡IP(即“default”),如何解决该错误?
请按照以下代码修改 config.json 配置文件即可解决:
{ ... "index4": "url:https://myip4.ipip.net/", "index6": "url:https://myip6.ipip.net/", ... }
该方法不是使用外部公网地址API得到的IP吗? 若不希望访问外部API,而使用网卡IP(即“default”),如何解决该错误?
如果机器所在的网络不支持 IPv6 (机器的 IPv6 没有默认网关),那 index6 应该配置为 false 。
{
...
"index4": "default",
"index6": false,
...
}
请按照以下代码修改 config.json 配置文件即可解决:
{ ... "index4": "url:https://myip4.ipip.net/", "index6": "url:https://myip6.ipip.net/", ... }
该方法不是使用外部公网地址API得到的IP吗? 若不希望访问外部API,而使用网卡IP(即“default”),如何解决该错误?
如果机器所在的网络不支持 IPv6 (机器的 IPv6 没有默认网关),那 index6 应该配置为 false 。
{ ... "index4": "default", "index6": false, ... }
不是,目前情况是这样: 设备支持IPv6,个人理解index6配置为"default",程序会获取网卡的IP来更新。 而目前的情况是,index6配置为"default",运行程序便会卡出该issue所述的错误输出。 设备的IPv6配置应当没有问题,可以正常获取IPv6地址并访问IPv6网络。
请按照以下代码修改 config.json 配置文件即可解决:
{ ... "index4": "url:https://myip4.ipip.net/", "index6": "url:https://myip6.ipip.net/", ... }
该方法不是使用外部公网地址API得到的IP吗? 若不希望访问外部API,而使用网卡IP(即“default”),如何解决该错误?
如果机器所在的网络不支持 IPv6 (机器的 IPv6 没有默认网关),那 index6 应该配置为 false 。
{ ... "index4": "default", "index6": false, ... }
不是,目前情况是这样: 设备支持IPv6,个人理解index6配置为"default",程序会获取网卡的IP来更新。 而目前的情况是,index6配置为"default",运行程序便会卡出该issue所述的错误输出。 设备的IPv6配置应当没有问题,可以正常获取IPv6地址并访问IPv6网络。
可以试试按照 https://github.com/NewFuture/DDNS/pull/373 改下文件,完了本地拉个 Python 环境跑一下试试。
描述问题 (Describe the bug)
版本信息 (version info)
复现步骤 (To Reproduce)
完全按照官方的方法使用
配置文件 (config file)
调试输出 (debug output)
补充说明 (Additional context)
源码运行正常,但是必须要管理员身份 获取到的总是内网IP 10.X.X.X