Closed smoothdvd closed 5 years ago
配置消失的问题release写的很清楚了
This version contains massive code refactorings and the config file is not compatibal with previous versions. BACKUP ALL YOUR SERVER INFOMATIONS before you try this version.
手动填写后请检查参数是否正确
@Chandler-Lu 参数一模一样啊
你给的log没法判断问题,如有必要请提交隐匿敏感信息的服务端和客户端配置文件 另外请检查一下在其他客户端下,相同的配置可否正常使用
@Chandler-Lu clashX下正常
那你就提供配置文件吧
@Chandler-Lu 如下
{
"dns" : {
"servers" : [
"localhost"
]
},
"inbounds" : [
{
"listen" : "0.0.0.0",
"port" : 1081,
"protocol" : "socks",
"tag" : "socksinbound",
"settings" : {
"auth" : "noauth",
"udp" : true,
"ip" : "127.0.0.1"
}
},
{
"listen" : "0.0.0.0",
"port" : 8001,
"protocol" : "http",
"tag" : "httpinbound",
"settings" : {
"timeout" : 0
}
}
],
"outbounds" : [
{
"tag" : "direct",
"protocol" : "freedom",
"settings" : {
}
},
{
"sendThrough" : "0.0.0.0",
"mux" : {
"enabled" : false,
"concurrency" : 8
},
"protocol" : "vmess",
"settings" : {
"vnext" : [
{
"address" : "x.x.x.x",
"users" : [
{
"id" : "xxxx",
"alterId" : 64,
"security" : "auto",
"level" : 1
}
],
"port" : 443
}
]
},
"tag" : "WS",
"streamSettings" : {
"wsSettings" : {
"path" : "\/list",
"headers" : {
"host" : "x.x.com"
}
},
"quicSettings" : {
"key" : "",
"security" : "none",
"header" : {
"type" : "none"
}
},
"tlsSettings" : {
"allowInsecure" : false,
"alpn" : [
"http\/1.1"
],
"serverName" : "x.x.x.x",
"allowInsecureCiphers" : false
},
"httpSettings" : {
"path" : ""
},
"kcpSettings" : {
"header" : {
"type" : "none"
},
"mtu" : 1350,
"congestion" : false,
"tti" : 20,
"uplinkCapacity" : 5,
"writeBufferSize" : 1,
"readBufferSize" : 1,
"downlinkCapacity" : 20
},
"tcpSettings" : {
"header" : {
"type" : "none"
}
},
"security" : "tls",
"network" : "ws"
}
}
],
"routing" : {
"name" : "bypasscn_private_apple",
"domainStrategy" : "IPIfNonMatch",
"rules" : [
{
"type" : "field",
"outboundTag" : "direct",
"domain" : [
"localhost",
"domain:me.com",
"domain:lookup-api.apple.com",
"domain:icloud-content.com",
"domain:icloud.com",
"domain:cdn-apple.com",
"domain:apple-cloudkit.com",
"domain:apple.com",
"domain:apple.co",
"domain:aaplimg.com",
"domain:guzzoni.apple.com",
"geosite:cn"
]
},
{
"type" : "field",
"outboundTag" : "direct",
"ip" : [
"geoip:private",
"geoip:cn"
]
},
{
"type" : "field",
"outboundTag" : "WS",
"port" : "0-65535"
}
]
},
"log" : {
"error" : "\/var\/folders\/1_\/rz7fvk5n47l2twsn5p3jd__w0000gn\/T\/cenmrev.v2rayx.log\/error.log",
"loglevel" : "debug",
"access" : "\/var\/folders\/1_\/rz7fvk5n47l2twsn5p3jd__w0000gn\/T\/cenmrev.v2rayx.log\/access.log"
}
}
是自建么,如果是的话提交服务端配置
@smoothdvd 从你提交的配置文件和错误日志来看,配置文件的格式没有问题,原因应当在配置文件中的信息不正确,而从错误日志里“cannot validate certificate for x.x.x.x because it doesn't contain any IP SANs”这一句应当可以推断出和tls的配置有关系。为了有效解决问题,目前的建议是:如果1.3版本的V2RayX是可以正常工作的,那么在填入相同的配置信息的情况下,对比1.3和1.5生成的json配置文件的不同之处,以此找到问题。
@Cenmrev 原来要把服务器地址一栏设成和证书关联的域名,不能用IP。
macOS 10.14.2