新版伪装网站证书错误
churricane opened this issue · 7 comments
ERR_HTTP2_PROTOCOL_ERROR
xray config.json文件
{
"log": {
"access": "none",
"loglevel": "none"
},
"dns": {},
"routing": {
"domainStrategy": "AsIs",
"rules": [
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "block"
}
]
},
"policy": {},
"inbounds": [
{
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "XXXXXX",
"flow": "xtls-rprx-vision,none"
}
],
"decryption": "none",
"fallbacks": [
{
"dest": 1310,
"xver": 1
},
{
"dest": 1111,
"path": "/XRAYws",
"xver": 1
},
{
"dest": 1211,
"path": "/XRAYvws",
"xver": 1
}
]
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"tlsSettings": {
"rejectUnknownSni": true,
"minVersion": "1.2",
"certificates": [
{
"ocspStapling": 3600,
"certificateFile": "/usr/local/etc/xray/ssl/xray_ssl.crt",
"keyFile": "/usr/local/etc/xray/ssl/xray_ssl.key"
}
]
}
}
},
{
"port": 1111,
"listen": "127.0.0.1",
"protocol": "vless",
"settings": {
"clients": [
{
"id": "XXXXXX"
}
],
"decryption": "none"
},
"streamSettings": {
"network": "ws",
"security": "none",
"wsSettings": {
"acceptProxyProtocol": true,
"path": "/XRAYws"
}
}
},
{
"port": 1211,
"listen": "127.0.0.1",
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "XXXXXX"
}
]
},
"streamSettings": {
"network": "ws",
"security": "none",
"wsSettings": {
"acceptProxyProtocol": true,
"path": "/XRAYvws"
}
}
},
{
"port": 1310,
"listen": "127.0.0.1",
"protocol": "trojan",
"settings": {
"clients": [
{
"password": "XXXXXX"
}
],
"fallbacks": [
{
"dest": 8080
}
]
},
"streamSettings": {
"network": "tcp",
"security": "none",
"tcpSettings": {
"acceptProxyProtocol": true
}
}
}
],
"outbounds": [
{
"protocol": "freedom",
"tag": "direct"
},
{
"protocol": "blackhole",
"tag": "block"
}
],
"transport": {},
"stats": {},
"reverse": {}
}
Caddyfile文件
你可以先减少一下安装的协议,再看有没有这种问题。
你可以先减少一下安装的协议,再看有没有这种问题。
只选一个协议 还是一样的错误
{
"log": {
"access": "none",
"loglevel": "none"
},
"dns": {},
"routing": {
"domainStrategy": "AsIs",
"rules": [
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "block"
}
]
},
"policy": {},
"inbounds": [
{
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "XXXXXX",
"flow": "xtls-rprx-vision,none"
}
],
"decryption": "none",
"fallbacks": [
{
"dest": 8080
}
]
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"tlsSettings": {
"rejectUnknownSni": true,
"minVersion": "1.2",
"certificates": [
{
"ocspStapling": 3600,
"certificateFile": "/usr/local/etc/xray/ssl/xray_ssl.crt",
"keyFile": "/usr/local/etc/xray/ssl/xray_ssl.key"
}
]
}
}
}
],
"outbounds": [
{
"protocol": "freedom",
"tag": "direct"
},
{
"protocol": "blackhole",
"tag": "block"
}
],
"transport": {},
"stats": {},
"reverse": {}
}
你可以先减少一下安装的协议,再看有没有这种问题。
xray 日志
2023/05/17 15:39:37 [Info] [4236479377] proxy/vless/inbound: firstLen = 76
2023/05/17 15:39:37 [Info] [4236479377] proxy/vless/inbound: fallback starts > proxy/vless/encoding: invalid request version
2023/05/17 15:39:37 [Info] [4236479377] proxy/vless/inbound: realName = 域名
2023/05/17 15:39:37 [Info] [4236479377] proxy/vless/inbound: realAlpn = h2
2023/05/17 15:39:37 [Info] [4236479377] app/proxyman/inbound: connection ends > proxy/vless/inbound: fallback ends > proxy/vless/inbound: failed to fallback request payload > read tcp 本地ip:443->IP地址:58470: use of closed network connection
同样换成xtls-rprx-vision,none后,上传网站后提示证书错误
遇到同样的问题,好奇怪:"flow": "xtls-rprx-vision,none"
就是跳到回落地址的时候出现这种问题.