XTLS / Xray-core

Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support. Fully compatible configuration.
https://t.me/projectXray
Mozilla Public License 2.0
25.94k stars 3.98k forks source link

用户id验证失败 #3431

Closed ZYM66 closed 5 months ago

ZYM66 commented 6 months ago

完整性要求

版本

1.8.13

描述

服务端验证失败: 2024/06/06 07:56:25 [Info] [2679230895] proxy/vless/inbound: firstLen = 56 2024/06/06 07:56:25 [Info] [2679230895] proxy/vless/inbound: fallback starts > proxy/vless/encoding: invalid request user id 2024/06/06 07:56:25 [Info] [2679230895] proxy/vless/inbound: realName = v.yimingzheng.top 2024/06/06 07:56:25 [Info] [2679230895] proxy/vless/inbound: realAlpn = 2024/06/06 07:56:25 [Info] [2679230895] app/proxyman/inbound: connection ends > proxy/vless/inbound: fallback ends > proxy/vless/inbound: failed to fallback request payload > read tcp xxxx:443->xxxxx:45928: use of closed network connection 手机客户端配置如下: IMG_4512 使用以下配置文件始终出现身份验证问题

 {
  "inbounds": [
    {
      "listen": "0.0.0.0",
      "port": "443",
      "protocol": "vless",
      "settings": {
        "client": [
          {
            "id": "123456",
            "level": 0,
            "flow": "xtls-rprx-vision"
          }
        ],
        "decryption": "none",
        "fallbacks": [
          {
            "dest": 80
          }
        ]
      },
      "streamSettings": {
        "network": "tcp",
        "security": "tls",
        "tlsSettings": {
          "serverName": "v.yimingzheng.top",
          "allowInsecure": false,
          "certificates": [
            {
              "certificateFile": "/etc/letsencrypt/live/v.yimingzheng.top/fullchain.pem",
              "keyFile": "/etc/letsencrypt/live/v.yimingzheng.top/privkey.pem"
            }
          ]
        }
      },
      "tag": "inbound"
    }

  ],
  "outbounds": [
    {
      "protocol": "freedom",
      "tag": "direct"
    }
  ]
}

UUID我换了很多组,全部显示 invalid request user id

客户端配置



clash:
```yml
proxies:
  - name: "JAvless"
    type: vless
    server: v.yimingzheng.top
    port: 443
    uuid: "123456"
    network: tcp
    tls: true
    flow: xtls-rprx-vision

proxy-groups:
  - name: "Proxy"
    type: select
    proxies:
      - "JAvless"

rules:
  - MATCH,Proxy

```

小火箭:
![IMG_4512](https://github.com/XTLS/Xray-core/assets/61892155/57baeb87-6cc6-49b7-b4e3-2663da8d44fd)

服务端日志


2024/06/06 07:56:25 [Info] [2679230895] proxy/vless/inbound: firstLen = 56
2024/06/06 07:56:25 [Info] [2679230895] proxy/vless/inbound: fallback starts > proxy/vless/encoding: invalid request user id
2024/06/06 07:56:25 [Info] [2679230895] proxy/vless/inbound: realName = v.yimingzheng.top
2024/06/06 07:56:25 [Info] [2679230895] proxy/vless/inbound: realAlpn = 
2024/06/06 07:56:25 [Info] [2679230895] app/proxyman/inbound: connection ends > proxy/vless/inbound: fallback ends > proxy/vless/inbound: failed to fallback request payload > read tcp xxxx:443->xxxxx:45928: use of closed network connection
yuhan6665 commented 6 months ago

uuid https://www.uuidgenerator.net/

Fangliding commented 6 months ago

uuid https://www.uuidgenerator.net/

uuid不是可以随便填然后自动映射到uuidv5吗

ZYM66 commented 6 months ago

uuid https://www.uuidgenerator.net/

我使用了xray自带的uuid生成器生成了uuid,依然出现同样的问题。我在这个地方换成123456是为了方便展示

yuhan6665 commented 6 months ago

换个客户端

Fangliding commented 5 months ago

Close as unable to reproduce (other client)