yanue / V2rayU

V2rayU,基于v2ray核心的mac版客户端,用于科学上网,使用swift编写,支持trojan,vmess,shadowsocks,socks5等服务协议,支持订阅, 支持二维码,剪贴板导入,手动配置,二维码分享等
https://github.com/yanue/V2rayU
18.68k stars 2.87k forks source link

升级到4.2.4后报错 Failed To Decrypt Length > cipher: message authentication failed #1462

Open jerryq11 opened 1 month ago

jerryq11 commented 1 month ago

提交 Issue 之前请先在issue上搜索是否有相似问题, 看看能不能解决问题 (有太多相同的issue,没精力处理)。 除非特殊情况,请完整填写以下所有问题,不按模板发的 issue 将直接被关闭。

1) 你正在使用的 V2RayU 和 Mac 版本 ? V2RayU:v4.2.4 mac版本:Big Sur 11.1 2) 你遇到的问题是什么?(请描述具体现象,比如访问超时,TLS 证书错误等) 之前使用3.8.0是好的,前几天遇到打不开并提示放入废纸篓后,就升级到了现在的版本,但是升级后就就连不上vpn了 3) 请附上你的配置(提交 Issue 前请隐藏服务器端IP地址)。

    {
  "log": {
    "error": "",
    "loglevel": "debug",
    "access": ""
  },
  "inbounds": [
    {
      "listen": "127.0.0.1",
      "protocol": "socks",
      "settings": {
        "udp": false,
        "auth": "noauth"
      },
      "port": "1080"
    },
    {
      "listen": "127.0.0.1",
      "protocol": "http",
      "settings": {
        "timeout": 360
      },
      "port": "1087"
    }
  ],
  "outbounds": [
    {
      "mux": {
        "enabled": false,
        "concurrency": 8
      },
      "protocol": "vmess",
      "streamSettings": {
        "wsSettings": {
          "path": "",
          "headers": {
            "host": ""
          }
        },
        "security": "tls",
        "tlsSettings": {
          "serverName": "",
          "allowInsecure": true,
          "fingerprint": "chrome"
        },
        "network": "ws"
      },
      "tag": "proxy",
      "settings": {
        "vnext": [
          {
            "address": "****服务器ip*****",
            "users": [
              {
                "id": "*********id********",
                "alterId": 64,
                "level": 0,
                "security": "aes-128-gcm"
              }
            ],
            "port": 443
          }
        ]
      }
    },
    {
      "tag": "direct",
      "protocol": "freedom",
      "settings": {
        "domainStrategy": "UseIP",
        "userLevel": 0
      }
    },
    {
      "tag": "block",
      "protocol": "blackhole",
      "settings": {
        "response": {
          "type": "none"
        }
      }
    }
  ],
  "dns": {},
  "routing": {
    "domainStrategy": "AsIs",
    "rules": [],
    "balancers": []
  }
}

4) 请附上出错时软件输出的错误日志。

2024/07/26 20:54:34 [Info] infra/conf/serial: Reading config: config.json
2024/07/26 20:54:34 [Debug] app/log: Logger started
2024/07/26 20:54:34 [Info] app/dns: DNS: created localhost client
2024/07/26 20:54:34 [Debug] app/proxyman/inbound: creating stream worker on 127.0.0.1:1080
2024/07/26 20:54:34 [Debug] app/proxyman/inbound: creating stream worker on 127.0.0.1:1087
2024/07/26 20:54:34 [Info] transport/internet/tcp: listening TCP on 127.0.0.1:1080
2024/07/26 20:54:34 [Info] transport/internet/tcp: listening TCP on 127.0.0.1:1087
2024/07/26 20:54:34 [Warning] core: Xray 1.8.20 started
2024/07/26 20:54:36 [Info] [569322730] proxy/http: request to Method [GET] Host [www.gstatic.com] with URL [http://www.gstatic.com/generate_204]
2024/07/26 20:54:36 [Info] [569322730] app/dispatcher: default route for tcp:www.gstatic.com:80
2024/07/26 20:54:36 [Info] [569322730] transport/internet/websocket: creating connection to tcp:****服务器ip*****:443
2024/07/26 20:54:36 [Debug] [569322730] transport/internet: dialing to tcp:****服务器ip*****:443
2024/07/26 20:54:36 127.0.0.1:58413 accepted http://www.gstatic.com/generate_204 [proxy]
2024/07/26 20:54:37 [Info] [472547193] proxy/http: request to Method [CONNECT] Host [app-analytics-services.com:443] with URL [//app-analytics-services.com:443]
2024/07/26 20:54:37 [Info] [472547193] app/dispatcher: default route for tcp:app-analytics-services.com:443
2024/07/26 20:54:37 [Info] [472547193] transport/internet/websocket: creating connection to tcp:****服务器ip*****:443
2024/07/26 20:54:37 [Debug] [472547193] transport/internet: dialing to tcp:****服务器ip*****:443
2024/07/26 20:54:37 127.0.0.1:58415 accepted //app-analytics-services.com:443 [proxy]
2024/07/26 20:54:38 [Info] [2060676180] proxy/socks: TCP Connect request to tcp:pushstream.tradingview.com:443
2024/07/26 20:54:38 tcp:127.0.0.1:58417 accepted tcp:pushstream.tradingview.com:443 [proxy]
2024/07/26 20:54:38 [Info] [2060676180] app/dispatcher: default route for tcp:pushstream.tradingview.com:443
2024/07/26 20:54:38 [Info] [2060676180] transport/internet/websocket: creating connection to tcp:****服务器ip*****:443
2024/07/26 20:54:38 [Debug] [2060676180] transport/internet: dialing to tcp:****服务器ip*****:443
2024/07/26 20:54:38 [Info] [569322730] proxy/vmess/outbound: tunneling request to tcp:www.gstatic.com:80 via ****服务器ip*****:443
2024/07/26 20:54:38 [Info] [2060676180] proxy/vmess/outbound: tunneling request to tcp:pushstream.tradingview.com:443 via ****服务器ip*****:443
2024/07/26 20:54:39 [Info] [472547193] proxy/vmess/outbound: tunneling request to tcp:app-analytics-services.com:443 via ****服务器ip*****:443
2024/07/26 20:54:39 [Info] [2600310430] proxy/http: request to Method [CONNECT] Host [telemetry.tradingview.com:443] with URL [//telemetry.tradingview.com:443]
2024/07/26 20:54:39 [Info] [2600310430] app/dispatcher: default route for tcp:telemetry.tradingview.com:443
2024/07/26 20:54:39 [Info] [2600310430] transport/internet/websocket: creating connection to tcp:****服务器ip*****:443
2024/07/26 20:54:39 [Debug] [2600310430] transport/internet: dialing to tcp:****服务器ip*****:443
2024/07/26 20:54:39 127.0.0.1:58419 accepted //telemetry.tradingview.com:443 [proxy]
2024/07/26 20:54:39 [Info] [3185868144] proxy/http: request to Method [CONNECT] Host [notifications.tradingview.com:443] with URL [//notifications.tradingview.com:443]
2024/07/26 20:54:39 127.0.0.1:58421 accepted //notifications.tradingview.com:443 [proxy]
2024/07/26 20:54:39 [Info] [3185868144] app/dispatcher: default route for tcp:notifications.tradingview.com:443
2024/07/26 20:54:39 [Info] [3185868144] transport/internet/websocket: creating connection to tcp:****服务器ip*****:443
2024/07/26 20:54:39 [Debug] [3185868144] transport/internet: dialing to tcp:****服务器ip*****:443
2024/07/26 20:54:39 [Info] [2060676180] app/proxyman/outbound: 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
2024/07/26 20:54:39 [Info] [2060676180] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe
2024/07/26 20:54:39 [Info] [620740241] proxy/socks: TCP Connect request to tcp:pushstream.tradingview.com:443
2024/07/26 20:54:39 [Info] [620740241] app/dispatcher: default route for tcp:pushstream.tradingview.com:443
2024/07/26 20:54:39 [Info] [620740241] transport/internet/websocket: creating connection to tcp:****服务器ip*****:443
2024/07/26 20:54:39 [Debug] [620740241] transport/internet: dialing to tcp:****服务器ip*****:443
2024/07/26 20:54:39 tcp:127.0.0.1:58423 accepted tcp:pushstream.tradingview.com:443 [proxy]
2024/07/26 20:54:39 [Info] [2485516123] proxy/http: request to Method [CONNECT] Host [telemetry.tradingview.com:443] with URL [//telemetry.tradingview.com:443]
2024/07/26 20:54:39 [Info] [2485516123] app/dispatcher: default route for tcp:telemetry.tradingview.com:443
2024/07/26 20:54:39 [Info] [2485516123] transport/internet/websocket: creating connection to tcp:****服务器ip*****:443
2024/07/26 20:54:39 [Debug] [2485516123] transport/internet: dialing to tcp:****服务器ip*****:443
2024/07/26 20:54:39 127.0.0.1:58425 accepted //telemetry.tradingview.com:443 [proxy]
2024/07/26 20:54:39 [Info] [569322730] app/proxyman/outbound: 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 1000 (normal) > proxy/vmess/encoding: Failed To Decrypt Length > cipher: message authentication failed
2024/07/26 20:54:39 [Warning] [569322730] proxy/http: failed to read response from www.gstatic.com > io: read/write on closed pipe
2024/07/26 20:54:39 [Warning] [569322730] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > write tcp 127.0.0.1:1087->127.0.0.1:58413: write: broken pipe
2024/07/26 20:54:39 [Info] [3185868144] proxy/vmess/outbound: tunneling request to tcp:notifications.tradingview.com:443 via ****服务器ip*****:443
2024/07/26 20:54:39 [Info] [620740241] proxy/vmess/outbound: tunneling request to tcp:pushstream.tradingview.com:443 via ****服务器ip*****:443
2024/07/26 20:54:39 [Info] [2600310430] proxy/vmess/outbound: tunneling request to tcp:telemetry.tradingview.com:443 via ****服务器ip*****:443
2024/07/26 20:54:39 [Info] [472547193] app/proxyman/outbound: 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
2024/07/26 20:54:39 [Info] [472547193] app/proxyman/inbound: connection ends > proxy/http: connection ends > io: read/write on closed pipe

请预览一下你填的内容再提交。

LoveCppp commented 1 month ago

我也遇到这个问题了 降级回去也不行