proxysu / ProxySU

Xray,V2ray,Trojan,NaiveProxy, Trojan-Go, ShadowsocksR(SSR),Shadowsocks-libev及相关插件,MTProto+TLS 一键安装工具,windows下用(一键科学上网)
GNU General Public License v3.0
5.49k stars 1.52k forks source link

新版伪装网站证书错误 #378

Open churricane opened 1 year ago

churricane commented 1 year ago

ERR_HTTP2_PROTOCOL_ERROR

churricane commented 1 year ago

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文件

churricane commented 1 year ago

:8080 { root * /usr/share/caddy file_server

}

domain.com:80 { redir https://domain.com{uri} }

MisCusi2023 commented 1 year ago

你可以先减少一下安装的协议,再看有没有这种问题。

churricane commented 1 year ago

你可以先减少一下安装的协议,再看有没有这种问题。 只选一个协议 还是一样的错误

{ "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": {} }

churricane commented 1 year ago

你可以先减少一下安装的协议,再看有没有这种问题。

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

tmnt2009 commented 1 year ago

同样换成xtls-rprx-vision,none后,上传网站后提示证书错误

dcdebug commented 1 year ago

遇到同样的问题,好奇怪:"flow": "xtls-rprx-vision,none" 就是跳到回落地址的时候出现这种问题.