Closed wy580477 closed 1 year ago
Try a624cd9b49005eac7ddba2caff8a08073d70b318
Try a624cd9
感谢。尝试编译了一下,仍然有报错和连接不稳定。
编译命令
git clone https://github.com/SagerNet/sing-box
cd sing-box
git reset --hard a624cd9b49005eac7ddba2caff8a08073d70b318
export CGO_ENABLED=0
go build -trimpath -tags with_wireguard,with_clash_api,with_gvisor \
-o /usr/bin/app \
-ldflags "-s -w -buildid=" \
./cmd/sing-box
Xray 客户端报错
023/02/13 06:23:36 [Info] [761813772] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > proxy/vmess/outbound: failed to read header > common/drain: common/drain: unable to drain connection > websocket: close 1006 (abnormal closure): unexpected EOF > proxy/vmess/encoding: Failed To Decrypt Length > cipher: message authentication failed
2023/02/13 06:23:36 [Info] [761813772] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe
2023/02/13 06:23:36 [Info] [1216734481] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > proxy/vmess/outbound: failed to read header > common/drain: common/drain: unable to drain connection > websocket: close 1006 (abnormal closure): unexpected EOF > proxy/vmess/encoding: Failed To Decrypt Length > cipher: message authentication failed
2023/02/13 06:23:36 [Info] [1216734481] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe
2023/02/13 06:23:36 [Info] [4202707499] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > proxy/vmess/outbound: failed to read header > common/drain: common/drain: unable to drain connection > websocket: close 1006 (abnormal closure): unexpected EOF > proxy/vmess/encoding: Failed To Decrypt Length > cipher: message authentication failed
2023/02/13 06:23:36 [Info] [4202707499] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe
2023/02/13 06:23:36 [Info] [2483343036] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > proxy/vmess/outbound: failed to read header > common/drain: common/drain: unable to drain connection > websocket: close 1006 (abnormal closure): unexpected EOF > proxy/vmess/encoding: Failed To Decrypt Length > cipher: message authentication failed
我认为您需要提供完整的配置和日志文件,包括服务器和客户端,就像您在 issue 模板中确认的那样。
我认为您需要提供完整的配置和日志文件,包括服务器和客户端,就像您在 issue 模板中确认的那样。
服务端配置没有变。服务端现在被我拆了,日志没存,等我晚上再搭建一下发出来。
Caddyfile 配置
sing-box 服务端配置:
客户端配置:
我认为您需要提供完整的配置和日志文件,包括服务器和客户端,就像您在 issue 模板中确认的那样。
完整的日志:
服务端:
客户端:
尝试使用 sing-box 作为客户端,并检查错误变化并提交日志。
尝试使用 sing-box 作为客户端,并检查错误变化并提交日志。
Singbox 客户端完全连不上
客户端配置:
{
"log": {
"level": "debug"
},
"inbounds": [
{
"type": "socks",
"listen": "::",
"listen_port": 5353
}
],
"outbounds": [
{
"type": "vmess",
"server": "proxy.app",
"server_port": 443,
"uuid": "myuuid",
"security": "auto",
"alter_id": 0,
"transport": {
"type": "ws",
"path": "/secret/vm",
"max_early_data": 2048,
"early_data_header_name": "Sec-WebSocket-Protocol"
},
"tls": {
"enabled": true
}
}
]
}
服务端日志:
INFO[622573] [982621229] inbound/vmess[0]: inbound connection from 1.1.1.1:44480
INFO[622573] [1978293360] inbound/vmess[0]: [0] inbound connection to fonts.googleapis.com:443
INFO[622574] [2827301464] inbound/vmess[0]: inbound connection from 1.1.1.1:44482
INFO[622574] [2932862006] inbound/vmess[0]: [0] inbound connection to www.youtube.com:443
INFO[622574] [1978293360] outbound/direct[direct]: outbound connection to fonts.googleapis.com:443
INFO[622574] [1978293360] dns: lookup succeed for fonts.googleapis.com: 209.85.233.95 2a00:1450:4010:c03::5f
ERROR[622574] [982621229] inbound/vmess[0]: process connection from 1.1.1.1:44480: upload: readfrom tcp 10.10.0.67:46348->209.85.233.95:443: read tcp [::1]:61800->[::1]:44480: i/o timeout | download: read tcp 10.10.0.67:46348->209.85.233.95:443: use of closed network connection
INFO[622574] [2932862006] outbound/direct[direct]: outbound connection to www.youtube.com:443
INFO[622574] [2932862006] dns: lookup succeed for www.youtube.com: 216.58.209.174 216.58.209.206 216.58.210.142 216.58.210.174 2a00:1450:4026:802::200e 2a00:1450:4026:803::200e 2a00:1450:4026:804::200e 2a00:1450:4026:805::200e
ERROR[622574] [2827301464] inbound/vmess[0]: process connection from 1.1.1.1:44482: download: read tcp 10.10.0.67:58496->216.58.209.174:443: use of closed network connection | upload: readfrom tcp 10.10.0.67:58496->216.58.209.174:443: read tcp [::1]:61800->[::1]:44482: i/o timeout
INFO[622574] [2716608812] inbound/vmess[0]: inbound connection from 1.1.1.1:44488
INFO[622574] [3445866287] inbound/vmess[0]: [0] inbound connection to jnn-pa.googleapis.com:443
INFO[622574] [3445866287] outbound/direct[direct]: outbound connection to jnn-pa.googleapis.com:443
INFO[622574] [3445866287] dns: lookup succeed for jnn-pa.googleapis.com: 173.194.222.95 64.233.161.95 209.85.233.95 64.233.164.95 64.233.165.95 142.251.1.95 64.233.162.95 173.194.221.95 2a00:1450:4010:c0a::5f 2a00:1450:4010:c0b::5f 2a00:1450:4010:c01::5f 2a00:1450:4010:c0d::5f
ERROR[622574] [2716608812] inbound/vmess[0]: process connection from 1.1.1.1:44488: download: read tcp 10.10.0.67:41876->173.194.222.95:443: use of closed network connection | upload: readfrom tcp 10.10.0.67:41876->173.194.222.95:443: read tcp [::1]:61800->[::1]:44488: i/o timeout
INFO[622575] [1224488043] inbound/vmess[0]: inbound connection from 1.1.1.1:44492
INFO[622575] [1124331456] inbound/vmess[0]: [0] inbound connection to www.youtube.com:443
INFO[622576] [1124331456] outbound/direct[direct]: outbound connection to www.youtube.com:443
INFO[622576] [1124331456] dns: lookup succeed for www.youtube.com: 216.58.209.174 216.58.209.206 216.58.210.142 216.58.210.174 2a00:1450:4026:802::200e 2a00:1450:4026:803::200e 2a00:1450:4026:804::200e 2a00:1450:4026:805::200e
ERROR[622576] [1224488043] inbound/vmess[0]: process connection from 1.1.1.1:44492: download: read tcp 10.10.0.67:58504->216.58.209.174:443: use of closed network connection | upload: readfrom tcp 10.10.0.67:58504->216.58.209.174:443: read tcp [::1]:61800->[::1]:44492: i/o timeout
INFO[622576] [824965631] inbound/vmess[0]: inbound connection from 1.1.1.1:44496
INFO[622576] [3129183629] inbound/vmess[0]: [0] inbound connection to jnn-pa.googleapis.com:443
INFO[622576] [3129183629] outbound/direct[direct]: outbound connection to jnn-pa.googleapis.com:443
INFO[622576] [3129183629] dns: lookup succeed for jnn-pa.googleapis.com: 173.194.222.95 64.233.161.95 209.85.233.95 64.233.164.95 64.233.165.95 142.251.1.95 64.233.162.95 173.194.221.95 2a00:1450:4010:c0a::5f 2a00:1450:4010:c0b::5f 2a00:1450:4010:c01::5f 2a00:1450:4010:c0d::5f
ERROR[622576] [824965631] inbound/vmess[0]: process connection from 1.1.1.1:44496: download: read tcp 10.10.0.67:41884->173.194.222.95:443: use of closed network connection | upload: readfrom tcp 10.10.0.67:41884->173.194.222.95:443: read tcp [::1]:61800->[::1]:44496: i/o timeout
客户端日志:
DEBUG[0279] [2741477373] dns: lookup domain proxy.app
INFO[0279] [2741477373] dns: lookup succeed for proxy.app: 198.18.6.193
DEBUG[0279] [1547445625] inbound/socks[0]: connection closed: process connection from 127.0.0.1:10986: download: EOF | upload: EOF
INFO[0279] [4169936876] inbound/socks[0]: inbound connection from 127.0.0.1:11002
INFO[0279] [4169936876] inbound/socks[0]: inbound connection to www.youtube.com:443
INFO[0279] [4169936876] outbound/vmess[0]: outbound connection to www.youtube.com:443
DEBUG[0279] [4169936876] dns: lookup domain proxy.app
INFO[0279] [4169936876] dns: lookup succeed for proxy.app: 198.18.6.193
DEBUG[0279] [4279472669] inbound/socks[0]: connection closed: process connection from 127.0.0.1:10980: download: EOF | upload: EOF
DEBUG[0280] [3138500745] inbound/socks[0]: connection closed: process connection from 127.0.0.1:10990: download: EOF | upload: EOF
INFO[0280] [3351305964] inbound/socks[0]: inbound connection from 127.0.0.1:11005
INFO[0280] [3351305964] inbound/socks[0]: inbound connection to fonts.googleapis.com:443
INFO[0280] [3351305964] outbound/vmess[0]: outbound connection to fonts.googleapis.com:443
DEBUG[0280] [3351305964] dns: lookup domain proxy.app
INFO[0280] [3351305964] dns: lookup succeed for proxy.app: 198.18.6.193
INFO[0280] [2681491528] inbound/socks[0]: inbound connection from 127.0.0.1:11007
INFO[0280] [2681491528] inbound/socks[0]: inbound connection to www.youtube.com:443
INFO[0280] [2681491528] outbound/vmess[0]: outbound connection to www.youtube.com:443
DEBUG[0280] [2681491528] dns: lookup domain proxy.app
INFO[0280] [2681491528] dns: lookup succeed for proxy.app: 198.18.6.193
DEBUG[0280] [2744976440] inbound/socks[0]: connection closed: process connection from 127.0.0.1:10992: download: EOF | upload: EOF
DEBUG[0280] [3068841213] inbound/socks[0]: connection closed: process connection from 127.0.0.1:10972: download: EOF | upload: EOF
DEBUG[0280] [2746826764] inbound/socks[0]: connection closed: process connection from 127.0.0.1:10994: download: EOF | upload: EOF
INFO[0280] [1789895395] inbound/socks[0]: inbound connection from 127.0.0.1:11009
INFO[0280] [1789895395] inbound/socks[0]: inbound connection to jnn-pa.googleapis.com:443
INFO[0280] [1789895395] outbound/vmess[0]: outbound connection to jnn-pa.googleapis.com:443
DEBUG[0280] [1789895395] dns: lookup domain proxy.app
INFO[0280] [1789895395] dns: lookup succeed for proxy.app: 198.18.6.193
DEBUG[0281] [4169936876] inbound/socks[0]: connection closed: process connection from 127.0.0.1:11002: download: EOF | upload: EOF
DEBUG[0281] [3882014619] inbound/socks[0]: connection closed: process connection from 127.0.0.1:10996: download: EOF | upload: EOF
DEBUG[0281] [1714051656] inbound/socks[0]: connection closed: process connection from 127.0.0.1:10998: download: EOF | upload: EOF
DEBUG[0281] [2741477373] inbound/socks[0]: connection closed: process connection from 127.0.0.1:11000: download: EOF | upload: EOF
DEBUG[0282] [3351305964] inbound/socks[0]: connection closed: process connection from 127.0.0.1:11005: download: EOF | upload: EOF
DEBUG[0282] [2681491528] inbound/socks[0]: connection closed: process connection from 127.0.0.1:11007: download: EOF | upload: EOF
INFO[0282] [3531423341] inbound/socks[0]: inbound connection from 127.0.0.1:11024
INFO[0282] [3531423341] inbound/socks[0]: inbound connection to www.youtube.com:443
INFO[0282] [3531423341] outbound/vmess[0]: outbound connection to www.youtube.com:443
DEBUG[0282] [3531423341] dns: lookup domain proxy.app
INFO[0282] [3531423341] dns: lookup succeed for proxy.app: 198.18.6.193
DEBUG[0282] [1789895395] inbound/socks[0]: connection closed: process connection from 127.0.0.1:11009: download: EOF | upload: EOF
INFO[0282] [2908755885] inbound/socks[0]: inbound connection from 127.0.0.1:11030
INFO[0282] [2908755885] inbound/socks[0]: inbound connection to jnn-pa.googleapis.com:443
INFO[0282] [2908755885] outbound/vmess[0]: outbound connection to jnn-pa.googleapis.com:443
DEBUG[0282] [2908755885] dns: lookup domain proxy.app
INFO[0282] [2908755885] dns: lookup succeed for proxy.app: 198.18.6.193
DEBUG[0284] [3531423341] inbound/socks[0]: connection closed: process connection from 127.0.0.1:11024: download: EOF | upload: EOF
DEBUG[0284] [2908755885] inbound/socks[0]: connection closed: process connection from 127.0.0.1:11030: download: EOF | upload: EOF
```console
可以复现同样的问题
我是在v2ray的server caddy tls + vmess + ws。在sing-box_1.2_beta5之后也在客户端报错,出现无法连接情况,日志如下: +0000 2023-03-07 14:05:42 ERROR [1970717734] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64221: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:42 ERROR [2466792384] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64220: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:43 ERROR [1336256611] dns: exchange failed for www.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:43 ERROR [3163582713] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64222: unexpected EOF +0000 2023-03-07 14:05:43 ERROR [2897702548] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64224: unexpected EOF +0000 2023-03-07 14:05:43 ERROR [1891423840] dns: exchange failed for firestore.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:43 ERROR [2588513505] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64225: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:43 ERROR [2375494873] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64226: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:44 ERROR [3638097932] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64227: unexpected EOF +0000 2023-03-07 14:05:44 ERROR [1336256611] dns: exchange failed for www.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:44 ERROR [993423133] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64231: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:44 ERROR [1891423840] dns: exchange failed for firestore.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:45 ERROR [1629695843] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64235: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:45 ERROR [655471785] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64236: unexpected EOF +0000 2023-03-07 14:05:45 ERROR [1891423840] dns: exchange failed for firestore.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:45 ERROR [905195834] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64237: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:45 ERROR [1009778115] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64238: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:45 ERROR [1336256611] dns: exchange failed for www.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:46 ERROR [1336256611] dns: exchange failed for www.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:46 ERROR [2335757629] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64242: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:46 ERROR [404751872] dns: exchange failed for firebaseremoteconfig.googleapis.com. IN A: unexpected EOF +0000 2023-03-07 14:05:47 ERROR [2040636730] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64246: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:47 ERROR [4043204977] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64247: unexpected EOF +0000 2023-03-07 14:05:47 ERROR [404751872] dns: exchange failed for firebaseremoteconfig.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:47 ERROR [1012538266] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64248: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:47 ERROR [404751872] dns: exchange failed for firebaseremoteconfig.googleapis.com. IN A: unexpected EOF +0000 2023-03-07 14:05:48 ERROR [404751872] dns: exchange failed for firebaseremoteconfig.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:48 ERROR [2883134938] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64252: unexpected EOF +0000 2023-03-07 14:05:48 ERROR [1120987619] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64254: unexpected EOF +0000 2023-03-07 14:05:48 ERROR [1891423840] dns: exchange failed for firestore.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:49 ERROR [1957342791] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64255: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:49 ERROR [3389390555] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64256: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:49 ERROR [1891423840] dns: exchange failed for firestore.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:49 ERROR [4280945595] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64258: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:49 ERROR [1971281691] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64259: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:49 ERROR [1336256611] dns: exchange failed for www.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:49 ERROR [3439519912] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64263: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:50 ERROR [3239079279] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64264: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:50 ERROR [1336256611] dns: exchange failed for www.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:50 ERROR [305228818] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64266: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:50 ERROR [4021448776] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64265: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:51 ERROR [404751872] dns: exchange failed for firebaseremoteconfig.googleapis.com. IN A: malformed HTTP response
我是在v2ray的server caddy tls + vmess + ws。在sing-box_1.2_beta5之后也在客户端报错,出现无法连接情况,日志如下: +0000 2023-03-07 14:05:42 ERROR [1970717734] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64221: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:42 ERROR [2466792384] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64220: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:43 ERROR [1336256611] dns: exchange failed for www.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:43 ERROR [3163582713] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64222: unexpected EOF +0000 2023-03-07 14:05:43 ERROR [2897702548] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64224: unexpected EOF +0000 2023-03-07 14:05:43 ERROR [1891423840] dns: exchange failed for firestore.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:43 ERROR [2588513505] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64225: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:43 ERROR [2375494873] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64226: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:44 ERROR [3638097932] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64227: unexpected EOF +0000 2023-03-07 14:05:44 ERROR [1336256611] dns: exchange failed for www.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:44 ERROR [993423133] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64231: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:44 ERROR [1891423840] dns: exchange failed for firestore.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:45 ERROR [1629695843] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64235: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:45 ERROR [655471785] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64236: unexpected EOF +0000 2023-03-07 14:05:45 ERROR [1891423840] dns: exchange failed for firestore.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:45 ERROR [905195834] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64237: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:45 ERROR [1009778115] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64238: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:45 ERROR [1336256611] dns: exchange failed for www.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:46 ERROR [1336256611] dns: exchange failed for www.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:46 ERROR [2335757629] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64242: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:46 ERROR [404751872] dns: exchange failed for firebaseremoteconfig.googleapis.com. IN A: unexpected EOF +0000 2023-03-07 14:05:47 ERROR [2040636730] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64246: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:47 ERROR [4043204977] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64247: unexpected EOF +0000 2023-03-07 14:05:47 ERROR [404751872] dns: exchange failed for firebaseremoteconfig.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:47 ERROR [1012538266] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64248: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:47 ERROR [404751872] dns: exchange failed for firebaseremoteconfig.googleapis.com. IN A: unexpected EOF +0000 2023-03-07 14:05:48 ERROR [404751872] dns: exchange failed for firebaseremoteconfig.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:48 ERROR [2883134938] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64252: unexpected EOF +0000 2023-03-07 14:05:48 ERROR [1120987619] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64254: unexpected EOF +0000 2023-03-07 14:05:48 ERROR [1891423840] dns: exchange failed for firestore.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:49 ERROR [1957342791] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64255: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:49 ERROR [3389390555] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64256: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:49 ERROR [1891423840] dns: exchange failed for firestore.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:49 ERROR [4280945595] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64258: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:49 ERROR [1971281691] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64259: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:49 ERROR [1336256611] dns: exchange failed for www.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:49 ERROR [3439519912] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64263: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:50 ERROR [3239079279] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64264: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:50 ERROR [1336256611] dns: exchange failed for www.googleapis.com. IN A: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:50 ERROR [305228818] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64266: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:50 ERROR [4021448776] inbound/redirect[redirect-in]: process connection from 10.0.0.198:64265: malformed HTTP response "\x00\x00\x1e\x04\x00\x00\x00\x00\x00\x00\x05\x00\x10\x00\x00\x00\x03\x00\x00\x00\xfa\x00\x06\x00\x10\x01@\x00\x01\x00\x00\x10\x00\x00\x04\x00\x10\x00\x00" +0000 2023-03-07 14:05:51 ERROR [404751872] dns: exchange failed for firebaseremoteconfig.googleapis.com. IN A: malformed HTTP response
1.2_beta5及之前版本不会有该问题。
请尝试最新 beta 版。
请尝试最新 beta 版。
感谢,经测试,xray 客户端搭配 sing-box 服务端 vmess 已经完全正常了。
Welcome
Description of the problem
Caddy 反代 Websocket 流量到 sing-box,Xray 客户端 Vmess 可以连接但非常不稳定,频繁报错。
Caddy 反代到 sing-box trojan websocket入站是正常的。
Version of sing-box
v1.1.5
Server and client configuration file
Caddyfile 配置
sing-box 服务端配置:
Server and client log file
服务端日志没有发现异常
客户端 Xray 日志