vernesong / OpenClash

A Clash Client For OpenWrt
MIT License
17.83k stars 3.21k forks source link

0.41.04版本又出现了proxy duplicated错误,导致只能用原始配置文件启动。 #1024

Closed ghost closed 4 years ago

ghost commented 4 years ago

同样的配置文件上个版本是好的。

2020-11-23 23:06:37 History:【config.yaml】 Update Faild
2020-11-23 23:06:00 Warning: OpenClash Start Successful With Raw Config File, Please Note That It's Restricted Mode Now
2020-11-23 23:06:33 History:【config.yaml】 Restore Successful
2020-11-23 23:06:19 level=info msg="HTTP proxy listening at: 127.0.0.1:7890"
2020-11-23 23:06:19 level=info msg="Redir proxy listening at: 127.0.0.1:7892"
2020-11-23 23:06:19 level=info msg="SOCKS proxy listening at: 127.0.0.1:7891"
2020-11-23 23:06:19 level=info msg="DNS server listening at: 0.0.0.0:7874"
2020-11-23 23:06:19 level=info msg="Start initial compatible provider TW"
2020-11-23 23:06:19 level=info msg="Start initial compatible provider US"
2020-11-23 23:06:19 level=info msg="Start initial compatible provider FAST"
2020-11-23 23:06:19 level=info msg="Start initial compatible provider HK"
2020-11-23 23:06:00 Error: OpenClash Can Not Start, Try Use Raw Config Restart Again
2020-11-23 23:06:12 level=fatal msg="Parse config error: proxy CN-US1 is the duplicate name"
2020-11-23 23:06:00 Error: OpenClash Can Not Start, Try Use Backup Rules Start Again
2020-11-23 23:06:08 level=fatal msg="Parse config error: proxy CN-US1 is the duplicate name"
OpenClash 调试日志

生成时间: 2020-11-23 23:09:39
插件版本: v0.41.04-beta
隐私提示: 上传此日志前请注意检查、屏蔽公网IP、节点、密码等相关敏感信息

#===================== 系统信息 =====================#
主机型号: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz : 2 Core 4 Thread
固件版本: OpenWrt SNAPSHOT r2950-d31322516
LuCI版本: git-20.256.12360-1a54222-1
内核版本: 5.4.75
处理器架构: x86_64

#此项在使用Tun模式时应为ACCEPT
防火墙转发: ACCEPT

#此项有值时建议到网络-接口-lan的设置中禁用IPV6的DHCP
IPV6-DHCP: 

#此项结果应仅有配置文件的DNS监听地址
Dnsmasq转发设置: 

#===================== 依赖检查 =====================#
dnsmasq-full: 已安装
coreutils: 已安装
coreutils-nohup: 已安装
bash: 已安装
curl: 已安装
jsonfilter: 已安装
ca-certificates: 已安装
ipset: 已安装
ip-full: 已安装
iptables-mod-tproxy: 已安装
iptables-mod-extra: 已安装
libcap: 已安装
libcap-bin: 已安装
ruby: 已安装
ruby-yaml: 已安装
kmod-tun(TUN模式): 已安装
luci-compat(Luci-19.07): 已安装

#===================== 内核检查 =====================#
运行状态: 未运行
已选择的架构: linux-amd64

#下方无法显示内核版本号时请确认您的内核版本是否正确或者有无权限
Tun内核版本: 2020.11.23.g4474306
Tun内核文件: 存在
Tun内核运行权限: 正常

Game内核版本: v0.17.0-232-ge389e33
Game内核文件: 存在
Game内核运行权限: 正常

Dev内核版本: v1.3.0-2-g994cbff
Dev内核文件: 存在
Dev内核运行权限: 正常

#===================== 插件设置 =====================#
当前配置文件: /etc/openclash/config/config.yaml
启动配置文件: /etc/openclash/config.yaml
运行模式: fake-ip-mix
默认代理模式: rule
UDP流量转发: 停用
DNS劫持: 启用
自定义DNS: 停用
IPV6-DNS解析: 停用
禁用Dnsmasq缓存: 启用
自定义规则: 启用
仅允许内网: 停用
仅代理命中规则流量: 停用
绕过中国大陆IP: 停用

#启动异常时建议关闭此项后重试
保留配置: 停用
第三方规则: 停用

#===================== 自定义规则 一 =====================#
#
#===================== 自定义规则 二 =====================#
#
#===================== 配置文件 =====================#

port: 7890
socks-port: 7891
redir-port: 7892
interface-name: eth0
dns:
  enable: true
  ipv6: false
  listen: 0.0.0.0:7874
  enhanced-mode: fake-ip
  fake-ip-range: 198.18.0.1/16
  nameserver:
  - 223.5.5.5
  - 1.2.4.8
  - 119.29.29.29
proxy-groups:
- name: FAST
  type: url-test
  proxies:
  - CN-HK1
  - CN-TW1
  - CN-US1
  url: https://cp.cloudflare.com/generate_204
  interval: 1800
- name: HK
  type: url-test
  proxies:
  - CN-HK1
  url: https://cp.cloudflare.com/generate_204
  interval: 86400
- name: TW
  type: url-test
  proxies:
  - CN-TW1
  url: https://cp.cloudflare.com/generate_204
  interval: 86400
- name: US
  type: url-test
  proxies:
  - CN-US1
  url: https://cp.cloudflare.com/generate_204
  interval: 86400
rules:
- DOMAIN-SUFFIX,local,DIRECT
- IP-CIDR,127.0.0.0/8,DIRECT
- IP-CIDR,172.16.0.0/12,DIRECT
- IP-CIDR,192.168.0.0/16,DIRECT
- IP-CIDR,10.0.0.0/8,DIRECT
- IP-CIDR,100.64.0.0/10,DIRECT
- GEOIP,CN,DIRECT
- MATCH,FAST

#===================== 防火墙设置 =====================#

#NAT chain

# Generated by iptables-save v1.8.4 on Mon Nov 23 23:09:39 2020
*nat
:PREROUTING ACCEPT [754:47238]
:INPUT ACCEPT [184:13397]
:OUTPUT ACCEPT [147:9677]
:POSTROUTING ACCEPT [18:1090]
:MINIUPNPD - [0:0]
:MINIUPNPD-POSTROUTING - [0:0]
:postrouting_lan_rule - [0:0]
:postrouting_rule - [0:0]
:postrouting_wan_rule - [0:0]
:prerouting_lan_rule - [0:0]
:prerouting_rule - [0:0]
:prerouting_wan_rule - [0:0]
:zone_lan_postrouting - [0:0]
:zone_lan_prerouting - [0:0]
:zone_wan_postrouting - [0:0]
:zone_wan_prerouting - [0:0]
-A PREROUTING -p udp -m udp --dport 53 -j REDIRECT --to-ports 53
-A PREROUTING -p tcp -m tcp --dport 53 -j REDIRECT --to-ports 53
-A PREROUTING -m comment --comment "!fw3: Custom prerouting rule chain" -j prerouting_rule
-A PREROUTING -i br-lan -m comment --comment "!fw3" -j zone_lan_prerouting
-A PREROUTING -i eth0 -m comment --comment "!fw3" -j zone_wan_prerouting
-A POSTROUTING -o ztzlgmpcam -j MASQUERADE
-A POSTROUTING -s 10.242.0.0/16 -j MASQUERADE
-A POSTROUTING -s 10.242.0.0/16 -j MASQUERADE
-A POSTROUTING -o ztzlgmpcam -j MASQUERADE
-A POSTROUTING -m comment --comment "!fw3: Custom postrouting rule chain" -j postrouting_rule
-A POSTROUTING -o br-lan -m comment --comment "!fw3" -j zone_lan_postrouting
-A POSTROUTING -o eth0 -m comment --comment "!fw3" -j zone_wan_postrouting
-A MINIUPNPD -p udp -m udp --dport 18105 -j DNAT --to-destination 192.168.77.219:18105
-A MINIUPNPD -p tcp -m tcp --dport 13958 -j DNAT --to-destination 192.168.77.246:1080
-A MINIUPNPD -p udp -m udp --dport 13958 -j DNAT --to-destination 192.168.77.246:3027
-A MINIUPNPD -p udp -m udp --dport 48266 -j DNAT --to-destination 192.168.77.116:18105
-A MINIUPNPD -p udp -m udp --dport 44860 -j DNAT --to-destination 192.168.77.116:18105
-A MINIUPNPD -p udp -m udp --dport 44649 -j DNAT --to-destination 192.168.77.116:18105
-A MINIUPNPD -p udp -m udp --dport 44891 -j DNAT --to-destination 192.168.77.116:18105
-A MINIUPNPD -p udp -m udp --dport 40598 -j DNAT --to-destination 192.168.77.116:18105
-A MINIUPNPD -p udp -m udp --dport 42139 -j DNAT --to-destination 192.168.77.116:18105
-A MINIUPNPD -p udp -m udp --dport 48733 -j DNAT --to-destination 192.168.77.116:18105
-A MINIUPNPD -p udp -m udp --dport 43495 -j DNAT --to-destination 192.168.77.116:18105
-A MINIUPNPD -p udp -m udp --dport 43737 -j DNAT --to-destination 192.168.77.116:18105
-A MINIUPNPD -p udp -m udp --dport 49437 -j DNAT --to-destination 192.168.77.116:18105
-A MINIUPNPD -p udp -m udp --dport 46031 -j DNAT --to-destination 192.168.77.116:18105
-A MINIUPNPD -p udp -m udp --dport 48199 -j DNAT --to-destination 192.168.77.116:18105
-A MINIUPNPD -p udp -m udp --dport 44864 -j DNAT --to-destination 192.168.77.116:18105
-A MINIUPNPD -p udp -m udp --dport 45494 -j DNAT --to-destination 192.168.77.116:18105
-A MINIUPNPD -p udp -m udp --dport 45736 -j DNAT --to-destination 192.168.77.116:18105
-A MINIUPNPD -p udp -m udp --dport 48131 -j DNAT --to-destination 192.168.77.116:18105
-A MINIUPNPD -p udp -m udp --dport 44725 -j DNAT --to-destination 192.168.77.116:18105
-A MINIUPNPD -p tcp -m tcp --dport 54321 -j DNAT --to-destination 192.168.77.219:54321
-A MINIUPNPD -p udp -m udp --dport 54321 -j DNAT --to-destination 192.168.77.219:12345
-A MINIUPNPD -p tcp -m tcp --dport 57362 -j DNAT --to-destination 192.168.77.219:50577
-A MINIUPNPD -p udp -m udp --dport 57362 -j DNAT --to-destination 192.168.77.219:57362
-A MINIUPNPD -p tcp -m tcp --dport 50575 -j DNAT --to-destination 192.168.77.219:50575
-A MINIUPNPD -p tcp -m tcp --dport 33001 -j DNAT --to-destination 192.168.77.220:49239
-A MINIUPNPD -p tcp -m tcp --dport 9003 -j DNAT --to-destination 192.168.77.216:54321
-A MINIUPNPD -p udp -m udp --dport 9003 -j DNAT --to-destination 192.168.77.216:12345
-A MINIUPNPD -p udp -m udp --dport 47732 -j DNAT --to-destination 192.168.77.113:18105
-A MINIUPNPD -p udp -m udp --dport 33268 -j DNAT --to-destination 192.168.77.246:33268
-A MINIUPNPD -p udp -m udp --dport 49438 -j DNAT --to-destination 192.168.77.113:18105
-A MINIUPNPD -p udp -m udp --dport 49680 -j DNAT --to-destination 192.168.77.113:18105
-A MINIUPNPD -p tcp -m tcp --dport 58984 -j DNAT --to-destination 192.168.77.216:60845
-A MINIUPNPD -p udp -m udp --dport 58984 -j DNAT --to-destination 192.168.77.216:58984
-A MINIUPNPD -p tcp -m tcp --dport 60843 -j DNAT --to-destination 192.168.77.216:60843
-A MINIUPNPD -p udp -m udp --dport 49784 -j DNAT --to-destination 192.168.77.113:18105
-A MINIUPNPD-POSTROUTING -s 192.168.77.246/32 -p tcp -m tcp --sport 1080 -j MASQUERADE --to-ports 13958
-A MINIUPNPD-POSTROUTING -s 192.168.77.246/32 -p udp -m udp --sport 3027 -j MASQUERADE --to-ports 13958
-A MINIUPNPD-POSTROUTING -s 192.168.77.116/32 -p udp -m udp --sport 18105 -j MASQUERADE --to-ports 48266
-A MINIUPNPD-POSTROUTING -s 192.168.77.116/32 -p udp -m udp --sport 18105 -j MASQUERADE --to-ports 44860
-A MINIUPNPD-POSTROUTING -s 192.168.77.116/32 -p udp -m udp --sport 18105 -j MASQUERADE --to-ports 44649
-A MINIUPNPD-POSTROUTING -s 192.168.77.116/32 -p udp -m udp --sport 18105 -j MASQUERADE --to-ports 44891
-A MINIUPNPD-POSTROUTING -s 192.168.77.116/32 -p udp -m udp --sport 18105 -j MASQUERADE --to-ports 40598
-A MINIUPNPD-POSTROUTING -s 192.168.77.116/32 -p udp -m udp --sport 18105 -j MASQUERADE --to-ports 42139
-A MINIUPNPD-POSTROUTING -s 192.168.77.116/32 -p udp -m udp --sport 18105 -j MASQUERADE --to-ports 48733
-A MINIUPNPD-POSTROUTING -s 192.168.77.116/32 -p udp -m udp --sport 18105 -j MASQUERADE --to-ports 43495
-A MINIUPNPD-POSTROUTING -s 192.168.77.116/32 -p udp -m udp --sport 18105 -j MASQUERADE --to-ports 43737
-A MINIUPNPD-POSTROUTING -s 192.168.77.116/32 -p udp -m udp --sport 18105 -j MASQUERADE --to-ports 49437
-A MINIUPNPD-POSTROUTING -s 192.168.77.116/32 -p udp -m udp --sport 18105 -j MASQUERADE --to-ports 46031
-A MINIUPNPD-POSTROUTING -s 192.168.77.116/32 -p udp -m udp --sport 18105 -j MASQUERADE --to-ports 48199
-A MINIUPNPD-POSTROUTING -s 192.168.77.116/32 -p udp -m udp --sport 18105 -j MASQUERADE --to-ports 44864
-A MINIUPNPD-POSTROUTING -s 192.168.77.116/32 -p udp -m udp --sport 18105 -j MASQUERADE --to-ports 45494
-A MINIUPNPD-POSTROUTING -s 192.168.77.116/32 -p udp -m udp --sport 18105 -j MASQUERADE --to-ports 45736
-A MINIUPNPD-POSTROUTING -s 192.168.77.116/32 -p udp -m udp --sport 18105 -j MASQUERADE --to-ports 48131
-A MINIUPNPD-POSTROUTING -s 192.168.77.116/32 -p udp -m udp --sport 18105 -j MASQUERADE --to-ports 44725
-A MINIUPNPD-POSTROUTING -s 192.168.77.219/32 -p udp -m udp --sport 12345 -j MASQUERADE --to-ports 54321
-A MINIUPNPD-POSTROUTING -s 192.168.77.219/32 -p tcp -m tcp --sport 50577 -j MASQUERADE --to-ports 57362
-A MINIUPNPD-POSTROUTING -s 192.168.77.220/32 -p tcp -m tcp --sport 49239 -j MASQUERADE --to-ports 33001
-A MINIUPNPD-POSTROUTING -s 192.168.77.216/32 -p tcp -m tcp --sport 54321 -j MASQUERADE --to-ports 9003
-A MINIUPNPD-POSTROUTING -s 192.168.77.216/32 -p udp -m udp --sport 12345 -j MASQUERADE --to-ports 9003
-A MINIUPNPD-POSTROUTING -s 192.168.77.113/32 -p udp -m udp --sport 18105 -j MASQUERADE --to-ports 47732
-A MINIUPNPD-POSTROUTING -s 192.168.77.113/32 -p udp -m udp --sport 18105 -j MASQUERADE --to-ports 49438
-A MINIUPNPD-POSTROUTING -s 192.168.77.113/32 -p udp -m udp --sport 18105 -j MASQUERADE --to-ports 49680
-A MINIUPNPD-POSTROUTING -s 192.168.77.216/32 -p tcp -m tcp --sport 60845 -j MASQUERADE --to-ports 58984
-A MINIUPNPD-POSTROUTING -s 192.168.77.113/32 -p udp -m udp --sport 18105 -j MASQUERADE --to-ports 49784
-A zone_lan_postrouting -m comment --comment "!fw3: Custom lan postrouting rule chain" -j postrouting_lan_rule
-A zone_lan_prerouting -m comment --comment "!fw3: Custom lan prerouting rule chain" -j prerouting_lan_rule
-A zone_wan_postrouting -j MINIUPNPD-POSTROUTING
-A zone_wan_postrouting -m comment --comment "!fw3: Custom wan postrouting rule chain" -j postrouting_wan_rule
-A zone_wan_postrouting -m comment --comment "!fw3" -j FULLCONENAT
-A zone_wan_prerouting -j MINIUPNPD
-A zone_wan_prerouting -m comment --comment "!fw3: Custom wan prerouting rule chain" -j prerouting_wan_rule
-A zone_wan_prerouting -m comment --comment "!fw3" -j FULLCONENAT
COMMIT
# Completed on Mon Nov 23 23:09:39 2020

#Mangle chain

# Generated by iptables-save v1.8.4 on Mon Nov 23 23:09:39 2020
*mangle
:PREROUTING ACCEPT [5937:2586096]
:INPUT ACCEPT [928:153935]
:FORWARD ACCEPT [5003:2429255]
:OUTPUT ACCEPT [1032:266105]
:POSTROUTING ACCEPT [6011:2694256]
-A FORWARD -o eth0 -p tcp -m tcp --tcp-flags SYN,RST SYN -m comment --comment "!fw3: Zone wan MTU fixing" -j TCPMSS --clamp-mss-to-pmtu
COMMIT
# Completed on Mon Nov 23 23:09:39 2020

#===================== 路由表状态 =====================#
#route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
10.242.0.0      0.0.0.0         255.255.0.0     U     0      0        0 ztzlgmpcam
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.22.0    10.242.100.145  255.255.255.0   UG    0      0        0 ztzlgmpcam
192.168.33.0    10.242.100.69   255.255.255.0   UG    0      0        0 ztzlgmpcam
192.168.55.0    10.242.100.232  255.255.255.0   UG    0      0        0 ztzlgmpcam
192.168.66.0    10.242.100.130  255.255.255.0   UG    0      0        0 ztzlgmpcam
192.168.77.0    0.0.0.0         255.255.255.0   U     0      0        0 br-lan
192.168.88.0    10.242.100.216  255.255.255.0   UG    0      0        0 ztzlgmpcam
192.168.99.0    10.242.100.121  255.255.255.0   UG    0      0        0 ztzlgmpcam
#ip route list
default via 192.168.1.1 dev eth0 proto static src 192.168.1.2 
10.242.0.0/16 dev ztzlgmpcam proto kernel scope link src 10.242.100.179 
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.2 
192.168.22.0/24 via 10.242.100.145 dev ztzlgmpcam 
192.168.33.0/24 via 10.242.100.69 dev ztzlgmpcam 
192.168.55.0/24 via 10.242.100.232 dev ztzlgmpcam 
192.168.66.0/24 via 10.242.100.130 dev ztzlgmpcam 
192.168.77.0/24 dev br-lan proto kernel scope link src 192.168.77.1 
192.168.88.0/24 via 10.242.100.216 dev ztzlgmpcam 
192.168.99.0/24 via 10.242.100.121 dev ztzlgmpcam 
#ip rule show
0:  from all lookup local
32766:  from all lookup main
32767:  from all lookup default

#===================== Tun设备状态 =====================#
ztzlgmpcam: tap

#===================== 端口占用状态 =====================#

#===================== 测试本机DNS查询 =====================#
Server:     127.0.0.1
Address:    127.0.0.1#53

Name:      www.baidu.com
www.baidu.com   canonical name = www.a.shifen.com
Name:      www.a.shifen.com
Address 1: 112.80.248.76
Address 2: 112.80.248.75
www.baidu.com   canonical name = www.a.shifen.com

#===================== resolv.conf.d =====================#
# Interface wan
nameserver 223.5.5.5
nameserver 1.2.4.8
nameserver 119.29.29.29

#===================== 测试本机网络连接 =====================#
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
Connection: keep-alive
Content-Length: 277
Content-Type: text/html
Date: Mon, 23 Nov 2020 15:09:39 GMT
Etag: "575e1f7c-115"
Last-Modified: Mon, 13 Jun 2016 02:50:36 GMT
Pragma: no-cache
Server: bfe/1.0.8.18

#===================== 测试本机网络下载 =====================#
HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 80
Cache-Control: max-age=300
Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
Content-Type: text/plain; charset=utf-8
ETag: "3ebc263e804bdf2f32df6a6b6b15faf6628ea0a59d1a879aaca7a8393af21fad"
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
X-Frame-Options: deny
X-XSS-Protection: 1; mode=block
Via: 1.1 varnish (Varnish/6.0), 1.1 varnish
X-GitHub-Request-Id: 6C70:1705:2B918:3179B:5FBBCC0F
Accept-Ranges: bytes
Date: Mon, 23 Nov 2020 15:09:40 GMT
X-Served-By: cache-tyo19920-TYO
X-Cache: HFM, HIT
X-Cache-Hits: 0, 1
X-Timer: S1606144180.270244,VS0,VE0
Vary: Authorization,Accept-Encoding
Access-Control-Allow-Origin: *
X-Fastly-Request-ID: a786dfd33b9ad6e3dd6ecb23796ac58290cb362a
Expires: Mon, 23 Nov 2020 15:14:40 GMT
Source-Age: 81

#===================== 最近运行日志 =====================#
ghost commented 4 years ago

脱敏后的raw config文件如下:


port: 7890
socks-port: 7891
redir-port: 7892

dns:

  enable: true
  ipv6: false
  enhanced-mode: fake-ip
  fake-ip-range: 198.18.0.1/16
  nameserver:
  - 223.5.5.5
  - 1.2.4.8
  - 119.29.29.29

proxies:

- { name: "CN-HK1", type: vmess, udp: true, server: cn.test.org, port: 10100, uuid: 66666666-aaaa-bbbb-cccc-111111111111, alterId: 64, cipher: auto }
- { name: "CN-TW1", type: vmess, udp: true, server: cn.test.org, port: 10200, uuid: 66666666-aaaa-bbbb-cccc-111111111111, alterId: 64, cipher: auto }
- { name: "CN-US1", type: vmess, udp: true, server: cn.test.org, port: 10300, uuid: 66666666-aaaa-bbbb-cccc-111111111111, alterId: 64, cipher: auto }

proxy-groups:

- name: "FAST"
  type: url-test
  proxies:
  - CN-HK1
  - CN-TW1
  - CN-US1
  url: 'https://cp.cloudflare.com/generate_204'
  interval: 1800

- name: "HK"
  type: url-test
  proxies:
  - CN-HK1
  url: 'https://cp.cloudflare.com/generate_204'
  interval: 86400

- name: "TW"
  type: url-test
  proxies:
  - CN-TW1
  url: 'https://cp.cloudflare.com/generate_204'
  interval: 86400

- name: "US"
  type: url-test
  proxies:
  - CN-US1
  url: 'https://cp.cloudflare.com/generate_204'
  interval: 86400

rules:

# > LAN
- DOMAIN-SUFFIX,local,DIRECT
- IP-CIDR,127.0.0.0/8,DIRECT
- IP-CIDR,172.16.0.0/12,DIRECT
- IP-CIDR,192.168.0.0/16,DIRECT
- IP-CIDR,10.0.0.0/8,DIRECT
- IP-CIDR,100.64.0.0/10,DIRECT

# > China
- GEOIP,CN,DIRECT

# > Final
- MATCH,FAST
vernesong commented 4 years ago

你发的看不出来问题,你把启动配置文件发出来

ghost commented 4 years ago

你发的看不出来问题,你把启动配置文件发出来

现在启动配置文件就是raw config文件,因为好像写不了新的配置,或者写了配置后启动失败就被还原到raw config文件了。

报错应该就是发生在第三步修改配置文件那里。

直接使用这个raw config文件,在服务器和策略组那里点一下读取配置,然后规则集和策略组那里添加几个用不同策略组的规则集,例如:给disney plus添加一个走US策略组的规则。

然后重启openclash应该就可以复现了。

配置文件: config.zip

2020-11-24 10:17:14 History:【config.yaml】 Update Faild
2020-11-24 10:16:14 History:【config.yaml】 Update Faild
2020-11-24 10:15:41 Warning: OpenClash Start Successful With Raw Config File, Please Note That It's Restricted Mode Now
2020-11-24 10:16:10 History:【config.yaml】 Restore Successful
2020-11-24 10:15:56 level=info msg="Redir proxy listening at: 127.0.0.1:7892"
2020-11-24 10:15:56 level=info msg="SOCKS proxy listening at: 127.0.0.1:7891"
2020-11-24 10:15:56 level=info msg="HTTP proxy listening at: 127.0.0.1:7890"
2020-11-24 10:15:56 level=info msg="DNS server listening at: 127.0.0.1:7874"
2020-11-24 10:15:56 level=info msg="Start initial compatible provider HK"
2020-11-24 10:15:56 level=info msg="Start initial compatible provider TW"
2020-11-24 10:15:56 level=info msg="Start initial compatible provider US"
2020-11-24 10:15:56 level=info msg="Start initial compatible provider FAST"
2020-11-24 10:15:41 Error: OpenClash Can Not Start, Try Use Raw Config Restart Again
2020-11-24 10:15:48 level=fatal msg="Parse config error: proxy CN-US1 is the duplicate name"
2020-11-24 10:15:41 History:【config.yaml】 Update Faild