Closed cnfug closed 2 years ago
2021-11-19 12:29:07 第六步:删除 OpenClash 残留文件... 2021-11-19 12:29:07 第五步: 重启 Dnsmasq 程序... 2021-11-19 12:29:07 第四步: 关闭 Clash 主程序... 2021-11-19 12:29:07 第三步: 关闭 OpenClash 守护程序... 2021-11-19 12:29:06 第二步: 删除 OpenClash 防火墙规则... 2021-11-19 12:29:06 第一步: 备份当前策略组状态... 2021-11-19 12:29:06 OpenClash 开始关闭... 2021-11-19 12:29:04 错误: 无法获取General部分的转发端口设置, OpenClash 使用原始配置文件启动失败 2021-11-19 12:29:02 错误: 无法获取DNS部分的运行模式设置, OpenClash 使用原始配置文件启动失败 2021-11-19 12:29:00 错误: 无法获取DNS部分的监听端口设置, OpenClash 使用原始配置文件启动失败 2021-11-19 12:29:00 错误: OpenClash 启动失败,尝试使用原始配置文件启动... 2021-11-19 12:28:56 提示: 检测到配置了 TUN 内核专属功能,调用 TUN 内核启动... 2021-11-19 12:28:56 错误: OpenClash 启动失败,尝试还原第三方规则并重新启动 Clash 主程序... 2021-11-19 12:28:56 第六步: 等待主程序下载外部文件... 2021-11-19 12:28:52 第五步: 检查内核启动状态... 2021-11-19 12:28:52 提示: 检测到配置了 TUN 内核专属功能,调用 TUN 内核启动... 2021-11-19 12:28:52 第四步: 启动主程序... 2021-11-19 12:28:51 第三步: 修改配置文件... 2021-11-19 12:28:51 第二步: 组件运行前检查... 2021-11-19 12:28:51 第一步: 获取配置... 2021-11-19 12:28:51 OpenClash 开始启动... 2021-11-19 12:28:51 第六步:删除 OpenClash 残留文件... 2021-11-19 12:28:51 第五步: 重启 Dnsmasq 程序... 2021-11-19 12:28:51 第四步: 关闭 Clash 主程序... 2021-11-19 12:28:51 第三步: 关闭 OpenClash 守护程序... 2021-11-19 12:28:50 第二步: 删除 OpenClash 防火墙规则... 2021-11-19 12:28:50 第一步: 备份当前策略组状态... 2021-11-19 12:28:50 OpenClash 开始关闭...
配置文件找下第一个vmess节点的信息脱敏发出来
proxies:
ws-opts: 这里填 123.com 保存,然后启动openclash ,报错Parse config error: proxy 0: 'ws-opts.headers' expected a map, got 'string 如此循环
没看懂?headers要填 Host: 123.com
测试过填 Host:123.com一样报错
中间少了空格
2021-11-19 18:41:33 level=fatal msg="Parse config error: proxy 0: 'ws-opts.headers' expected a map, got 'string'" 再次确认 按照 Host: 123.com 还是报同样的错误
yes it happen on me too, config generate from gui it look like this: (which gonna trigger error parse config)
ws-opts:
path: "/path"
headers: 'Host: example.com'
then i manually edit those config like this: (then clash would running normally)
ws-opts:
path: "/path"
headers:
Host: example.com
ok,it would be fixed in next release
内核日志提示: 2021-11-19 12:06:13 level=fatal msg="Parse config error: proxy 0: 'ws-opts.headers' expected a map, got 'string'" 2021-11-19 12:06:08 level=fatal msg="Parse config error: proxy 0: 'ws-opts.headers' expected a map, got 'string'"
设置项:ws-opts-headers
卡这里了,不管如何设置都报错
日志: OpenClash 调试日志
生成时间: 2021-11-19 12:19:03 插件版本: v0.43.09-beta 隐私提示: 上传此日志前请注意检查、屏蔽公网IP、节点、密码等相关敏感信息