Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
churricane opened this issue May 16, 2023 · 7 comments
Open

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

churricane opened this issue May 16, 2023 · 7 comments

Comments

@churricane
Copy link

ERR_HTTP2_PROTOCOL_ERROR

@churricane
Copy link
Author

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
Copy link
Author

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

}

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

@MisCusi2023
Copy link
Collaborator

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

@churricane
Copy link
Author

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

{
"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
Copy link
Author

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

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
Copy link

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

@dcdebug
Copy link

dcdebug commented May 31, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants