OpenClash icon indicating copy to clipboard operation
OpenClash copied to clipboard

[Bug]

Open mingmenmama opened this issue 11 months ago • 0 comments

Verify Steps

  • [x] Tracker 我已经在 Issue Tracker 中找过我要提出的问题
  • [x] Branch 我知道 OpenClash 的 Dev 分支切换开关位于插件设置-版本更新中,或者我会手动下载并安装 Dev 分支的 OpenClash
  • [x] Latest 我已经使用最新 Dev 版本测试过,问题依旧存在
  • [x] Relevant 我知道 OpenClash 与 内核(Core)、控制面板(Dashboard)、在线订阅转换(Subconverter)等项目之间无直接关系,仅相互调用
  • [x] Definite 这确实是 OpenClash 出现的问题
  • [ ] Contributors 我有能力协助 OpenClash 开发并解决此问题
  • [ ] Meaningless 我提交的是无意义的催促更新或修复请求

OpenClash Version

0.46.081

Bug on Environment

Other

OpenWrt Version

Kwrt 24.10.1

Bug on Platform

Linux-amd64(x86-64)

Describe the Bug

anytls节点配置中udp设置字符应为 map 却写成 string

To Reproduce

在一键生成服务器节点配置中新建anytls节点配置中udp设置字符应为 map 却写成 string 会导致无法启动. 手动修改配置 udp: "true" 为: udp: true 可成功启动并应用. 经测试 true 或 false 前后不应该引号

OpenClash Log

2025-04-25 00:31:00 level=fatal msg="Parse config error: proxy 3: 'udp' expected type 'bool', got unconvertible type 'string'"
2025-04-25 00:31:00 level=info msg="Start initial configuration in progress"

OpenClash Config


Expected Behavior

修改 udp 参数:将该代理下的 udp 参数值修改为正确的布尔值。 应该写成:udp: true 或 udp: false 确保 true 或 false 前后没有引号(" 或 ')。

Additional Context

No response

mingmenmama avatar Apr 24 '25 16:04 mingmenmama