vernesong / OpenClash

A Clash Client For OpenWrt
MIT License
17.71k stars 3.2k forks source link

[Bug] 识别出订阅链接后,下载配置文件出错【下载失败:curl: (3) Error mixed-port】 #4159

Open OTG-ray opened 2 weeks ago

OTG-ray commented 2 weeks ago

Verify Steps

OpenClash Version

v0.46.048-beta

Bug on Environment

Istoreos, Docker

OpenWrt Version

iStoreOS (QWRT) R24.5.20 / LuCI Master (git-23.244.61589-50c4987)

Bug on Platform

Linux-arm64

Describe the Bug

更新配置订阅链接后,下载配置文件出错【下载失败:curl: (3) Error mixed-port】

To Reproduce

点击[更新配置]按钮

OpenClash Log

2024-11-06 03:30:08 错误:【牛逼-自动】下载失败,请检查网络或稍后再试...
2024-11-06 03:30:08 错误:配置文件【牛逼-自动】订阅失败,尝试不使用代理下载配置文件...
2024-11-06 03:29:57【/tmp/yaml_sub_tmp_config.yaml】下载失败:【curl: (3) Error mixed-port: 7890 allow-lan: true mode: rule log-level: info external-controller: :9090】
2024-11-06 03:27:12 提示:配置文件【牛逼-自动】订阅的下载链接为【https://api.wcc.best/sub?】...
2024-11-06 03:27:12 提示:配置文件【牛逼-自动】订阅的 User-Agent 为【User-Agent: clash.meta】...
2024-11-06 03:27:12 开始更新配置文件【牛逼-自动】...

OpenClash Config

No response

Expected Behavior

可以正常下载订阅配置

Additional Context

vernesong commented 2 weeks ago

尝试直接命令行下执行:


curl -L --connect-timeout 30 -m 60 --speed-time 30 --speed-limit 1 --retry 2 -H "User-Agent: Clash" 订阅地址 -o "/tmp/config.yaml" 2>&1
Mumux7 commented 2 weeks ago

我也是,用的花云,获取不到地址,可在PC上的clash一点问题都没有,10月份之前还行,10月份以后就不行了,订阅文件最后一次自动更新停在10月份。太奇怪了

howard55 commented 5 days ago

me too,无法自动生成配置文件,直接手动上传了配置文件,上传完运行显示启动成功的同时,内核崩溃了不断重启