Closed ghost closed 3 years ago
我也遇到这个问题了
我知道问题出在哪了: 我在配置文件中设置了DNS Nameserver,但在Openclash的“DNS设置”中没有启用“自定义上游DNS”就会出现这个错误,如果我在OpenClash的DNS设置中启用并添加一个自定义上游DNS,就不会报这个错了。
但这个报错其实是不合理的,因为在配置文件中自定义上游DNS和在OpenClash的设置中定义上游DNS因该是等效的。, 实际上确实也不影响工作,因为不设置就不接管这部分配置,直接用手写在配置文件中的上游DNS工作了。
建议修改下这个Log Error的判断逻辑,或者干脆就不报这个Error。
我知道问题出在哪了: 我在配置文件中设置了DNS Nameserver,但在Openclash的“DNS设置”中没有启用“自定义上游DNS”就会出现这个错误,如果我在OpenClash的DNS设置中启用并添加一个自定义上游DNS,就不会报这个错了。
但这个报错其实是不合理的,因为在配置文件中自定义上游DNS和在OpenClash的设置中定义上游DNS因该是等效的。, 实际上确实也不影响工作,因为不设置就不接管这部分配置,直接用手写在配置文件中的上游DNS工作了。
建议修改下这个Log Error的判断逻辑,或者干脆就不报这个Error。
我也遇到了这个问题,我是直接用rawObj.dns = dnsConfig;覆盖就出错,换成合并rawObj.dns = Object.assign({}, rawObj.dns, dnsConfig);就没问题了~ヽ(`Д´)ノ
更新了最新版本后出现的错误,配置文件一直没变过,之前没见过这个错误,但实际好像不影响启动和使用,请问是我配置文件哪里缺了什么吗?
OpenClash 调试日志
生成时间: 2021-09-05 08:24:28 插件版本: v0.43.03-beta 隐私提示: 上传此日志前请注意检查、屏蔽公网IP、节点、密码等相关敏感信息