vernesong / OpenClash

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

[Bug]0.45.152升级后,订阅链接无法更新 #3633

Closed BlueBenson closed 5 months ago

BlueBenson commented 10 months ago

Verify Steps

OpenClash Version

0.45.152

Bug on Environment

Official OpenWrt

Bug on Platform

Linux-amd64(x86-64)

To Reproduce

更新0.45.152后,之前的订阅连接无法更新(两个不同机场都如此),发现订阅界面多了个User-Agent,不论选Clash还是Clash.meta,日志都报错,感觉无法转换RawConfig为YAML,回退到0.45.142后一切正常。

Describe the Bug

更新0.45.152后之前的订阅无法更新,订阅界面多了个User-Agent,不论选Clash还是Clash.meta,日志都报错,感觉无法转换RawConfig为YAML,回退到0.45.142后一切正常。

OpenClash Log

2023-11-29 23:54:19 15:54:19 ERR [Config] configuration file test failed error=yaml: unmarshal errors: line 1: cannot unmarshal !!str c3M6Ly9... into config.RawConfig path=/tmp/yaml_sub_tmp_config.yaml 2023-11-29 23:54:07 15:54:07 ERR [Config] configuration file test failed error=yaml: unmarshal errors:

OpenClash Config

No response

Expected Behavior

希望解决问题

Screenshots

No response

GhTGc commented 10 months ago

我的0.45.152可以更新订阅,但是读取配置后节点信息不完整,后来升级到开发版.155beta后读取改善了,但hysteria1节点又全部无法连接,不知道算不算bug

sun5000 commented 10 months ago

相同问题 armv7

yaohud commented 10 months ago

&flag=clash 你可以试试在订阅链接后面加入这个

ghost commented 9 months ago

152订阅确实有问题, 0ce45df072e1ecba64e1a9aaca5f63abf1a5b66d 修复了,还没合并到主分支,所以用155以后的才正常。 https://github.com/vernesong/OpenClash/raw/package/dev/luci-app-openclash_0.45.155-beta_all.ipk

最近变动比较大,呼吁V大尽快合一下吧。

hysteria的话,应该是订阅转换不支持吧,那就和V大没关系

  • [x] Tracker 我已经在 Issue Tracker 中找过我要提出的问题
  • [x] Latest 我已经使用最新 Dev 版本测试过,问题依旧存在
BlueBenson commented 9 months ago

&flag=clash 你可以试试在订阅链接后面加入这个

有效,添加后可以更新了。

dqh668 commented 9 months ago

目前不敢轻易从v0.45.141-beta升级到v0.45.157-beta,不知道v0.45.157-beta 是否存在和v0.45.152-beta一样无法更新订阅的情况?一旦更新后回退不容易了。

SilenceEagle commented 9 months ago

实测157版本已可正常更新订阅

github-actions[bot] commented 5 months 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