vernesong / OpenClash

A Clash Client For OpenWrt
MIT License
16.8k stars 3.1k forks source link

客户端v0.41.13-beta 存在两个问题 #1121

Closed matthuo333 closed 2 years ago

matthuo333 commented 3 years ago
  1. 看启动日志,每隔1分钟左右是需要update配置文件? 现在每次都提示 “ Update Faild”, 属于正常么?
  2. 每次重启oc, 配置策略ui面板的策略都被修改,不能保持上次设置的。
vernesong commented 3 years ago

建议检查curl,此日志是在尝试保存节点状态,然后提示保存失败

matthuo333 commented 3 years ago

建议检查curl,此日志是在尝试保存节点状态,然后提示保存失败

curl 什么? curl google.com 可以正常获得xml

matthuo333 commented 3 years ago

关于每次重启oc, 策略不保存,在老客户端版本上也存在

SwordBahamut commented 3 years ago

我的之前没有 最近三个版本才有的

vernesong commented 3 years ago

具体命令在https://github.com/vernesong/OpenClash/blob/7695d88e64821d02a6acf3d794abb1ef6f9b0d17/luci-app-openclash/root/usr/share/openclash/openclash_history_get.sh#L18 你将最后的2>/dev/null去掉单独运行脚本可以看看报什么错误

matthuo333 commented 3 years ago

将脚本文件的最后一行的2>/dev/null删除后,并运行,出现如下:(客户端版本:0.40.7)

image

vernesong commented 3 years ago

ssh运行,看curl报什么错

matthuo333 commented 3 years ago

image

vernesong commented 3 years ago

ssh运行脚本

matthuo333 commented 3 years ago

之前运行过,在ssh中没报任何错

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days