XHTTP无法成功配置 #4212
XHTTP无法成功配置
#4212
Replies: 1 comment
-
我发现了问题 我是从vision转移到xhttp 在客户端配置时候 忘记删除xtls-rprx-vision导致 留给其它遇到同样问题的做个提示了 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
这是我的服务端配置
{
"log": {
"access": "/var/log/xray/access.log",
"error": "/var/log/xray/error.log",
"loglevel": "warning"
},
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"type": "field",
"ip": [
"geoip:cn"
],
"outboundTag": "block"
}
]
},
"inbounds": [
{
"listen": "0.0.0.0",
"port": 12345,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "--"
}
],
"decryption": "none"
},
"streamSettings": {
"network": "xhttp",
"security": "reality",
"realitySettings": {
"target": "--:443",
"serverNames": [ "--" ],
"privateKey": "--",
"shortIds": ["--"]
},
"xhttpSettings": {
"host": "",
"path": "/--",
"mode": "auto"
}
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
],
"metadataOnly": false
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIPv4"
},
"tag": "direct"
},
{
"protocol": "blackhole",
"tag": "block"
}
],
"dns": {
"servers": [
"https://1.1.1.1/dns-query",
"https://8.8.8.8/dns-query",
{
"address": "--",
"port": 11,
"domains": [
"geosite:netflix" ,
"geosite:disney"
]
}
]
}
}
我在服务端运行成功
但当我使用v2rayN链接时报错
[Warning] [2860959727] app/proxyman/inbound: connection ends > proxy/http: failed to read http request > malformed HTTP request "\x00"
我的配置文件有什么问题嘛?
Beta Was this translation helpful? Give feedback.
All reactions