Skip to content

Failed To Decrypt Length > cipher: message authentication failed(ios和win链接没问题) #16

@hellolvs

Description

@hellolvs
  1. 你正在使用哪个版本的 V2RayX,你的 macOS 系统版本?
    1.5.3, 12.5

  2. 如果 V2RayX 一切正常,但网络依然不如你所预料,请首先把 log level 切换到 debug,再次访问你想访问的网站。然后点击 V2RayX 的 view current config.json,将弹出的浏览器内的配置文件粘贴到下面指定的地方,但是隐藏掉ip/端口/id等信息。

{
"routing": {
"name": "all_to_main",
"domainStrategy": "AsIs",
"rules": [
{
"type": "field",
"outboundTag": "xray server",
"port": "0-65535"
}
]
},
"inbounds": [
{
"listen": "127.0.0.1",
"protocol": "socks",
"settings": {
"ip": "127.0.0.1",
"auth": "noauth",
"udp": true
},
"tag": "socksinbound",
"port": 10808
},
{
"listen": "127.0.0.1",
"protocol": "http",
"settings": {
"timeout": 0
},
"tag": "httpinbound",
"port": 10809
}
],
"dns": {
"servers": [
"localhost"
]
},
"log": {
"error": "/var/folders/h2/7yd89htd0vs6r3h0mdd7345c0000gn/T/cenmrev.v2rayx.log/error.log",
"loglevel": "info",
"access": "/var/folders/h2/7yd89htd0vs6r3h0mdd7345c0000gn/T/cenmrev.v2rayx.log/access.log"
},
"outbounds": [
{
"sendThrough": "0.0.0.0",
"mux": {
"enabled": false,
"concurrency": 8
},
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "xxxx",
"users": [
{
"id": "xxxx",
"alterId": 0,
"security": "none",
"level": 0,
"encryption": "none"
}
],
"port": 9443
}
]
},
"tag": "xray server",
"streamSettings": {
"wsSettings": {
"path": "",
"headers": { }
},
"quicSettings": {
"key": "",
"security": "none",
"header": {
"type": "none"
}
},
"tlsSettings": {
"allowInsecure": true,
"alpn": [
"http/1.1"
],
"serverName": "xxxx",
"allowInsecureCiphers": true
},
"httpSettings": {
"path": ""
},
"kcpSettings": {
"header": {
"type": "none"
},
"mtu": 1350,
"congestion": false,
"tti": 20,
"uplinkCapacity": 5,
"writeBufferSize": 1,
"readBufferSize": 1,
"downlinkCapacity": 20
},
"tcpSettings": {
"header": {
"type": "none"
}
},
"security": "tls",
"network": "tcp"
}
}
]
}

然后点击 V2RayX 的view log,把 error.log 中的输出贴到下方:


2022/08/03 12:08:37 [Info] [849299284] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2022/08/03 12:08:37 [Info] [849299284] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > context canceled
2022/08/03 12:08:41 [Info] [1862251504] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > proxy/vmess/outbound: failed to read header > common/drain: common/drain: drained connection > proxy/vmess/encoding: Failed To Decrypt Length > cipher: message authentication failed
2022/08/03 12:08:41 [Info] [1862251504] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe
  1. 其他你认为可以帮助开发者和你一起解决问题的信息:
    服务端是vless+xtls, win系统和ios都是没问题的

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions