Xray-core
Xray-core copied to clipboard
proxy/vless/encoding: unexpected response version. Expecting 0 but actually 72
在手机和win系统都没问题,但mac不好使,客户端config.json如下
{
"routing":{
"name":"all_to_main",
"domainStrategy":"AsIs",
"rules":[
{
"type":"field",
"outboundTag":"xray server3",
"port":"0-65535"
}
]
},
"inbounds":[
{
"listen":"127.0.0.1",
"protocol":"socks",
"settings":{
"ip":"127.0.0.1",
"auth":"noauth",
"udp":true
},
"tag":"socksinbound",
"port":10808
},
{
"listen":"127.0.0.1",
"protocol":"http",
"settings":{
"timeout":0
},
"tag":"httpinbound",
"port":10809
}
],
"dns":{
"servers":[
"localhost"
]
},
"log":{
"error":"/var/folders/h2/7yd89htd0vs6r3h0mdd7345c0000gn/T/cenmrev.v2rayx.log/error.log",
"loglevel":"info",
"access":"/var/folders/h2/7yd89htd0vs6r3h0mdd7345c0000gn/T/cenmrev.v2rayx.log/access.log"
},
"outbounds":[
{
"sendThrough":"0.0.0.0",
"mux":{
"enabled":false,
"concurrency":8
},
"protocol":"vless",
"settings":{
"vnext":[
{
"address":"xxxx",
"users":[
{
"id":"axxxxx",
"alterId":0,
"security":"none",
"level":0,
"encryption":"none",
"flow":"xtls-rprx-direct"
}
],
"port":9443
}
]
},
"tag":"xray server",
"streamSettings":{
"wsSettings":{
"path":"",
"headers":{
}
},
"quicSettings":{
"key":"",
"security":"none",
"header":{
"type":"none"
}
},
"xtlsSettings":{
"allowInsecure":true,
"alpn":[
"http/1.1"
],
"serverName":"xxxxxx",
"allowInsecureCiphers":true
},
"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":"xtls",
"network":"tcp"
}
}
]
}
报错日志:
2022/08/03 13:53:07 [Info] [2245445231] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: connection ends > proxy/vless/outbound: failed to decode response header > proxy/vless/encoding: unexpected response version. Expecting 0 but actually 72
2022/08/03 13:53:07 [Info] [2245445231] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe