Skip to content

访问google.com时v2ray频繁崩溃 #3328

Open
@zccrs

Description

@zccrs

你正在使用哪个版本的 V2Ray?

docker 中运行 V2Ray 5.24.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.23.4 linux/amd64)
A unified platform for anti-censorship.

客户端使用 Mihomo-party v1.7.1

你的使用场景是什么?

使用 edge 浏览器打开 google.com

你看到的异常现象是什么?

v2ray 进程崩溃

你期待看到的正常表现是怎样的?

v2ray 进程正常运行不退出

请附上你的配置

服务端配置:

// 在这里附上服务器端配置文件
{
  "log": {
    "loglevel": "info"
  },
  "inbounds": [
    {
      "port": 9999,
      "listen":"0.0.0.0",
      "protocol": "vless",
      "settings": {
        "decryption": "none",
        "clients": [
          {
            "id": ""
          }
        ]
      },
      "streamSettings": {
        "network": "grpc",
        "grpcSettings": {
	  "serviceName": ""
        }
      },
      "sniffing": {
        "enabled": true,
        "destOverride": [ "http", "tls" ]
      }
    }
 ],
  "outbounds": [
    {
      "tag": "direct",
      "protocol": "freedom",
      "settings": {}
    }
  ]
}

客户端配置:

// 在这里附上客户端配置
客户端使用
proxies:
  - name: 
    type: vless
    server: 
    port: 443
    uuid: 
    cipher: auto
    tls: true
    skip-cert-verify: false
    network: grpc
    grpc-opts:
      grpc-service-name: 

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

服务器端错误日志:

// 在这里附上服务器端日志
panic: runtime error: slice bounds out of range [:2049] with capacity 2048

goroutine 398 [running]:
github.com/v2fly/v2ray-core/v5/common/protocol/quic.SniffQUIC({0xc000317000, 0x800, 0x800})
	github.com/v2fly/v2ray-core/v5/common/protocol/quic/sniff.go:221 +0x1ccb
github.com/v2fly/v2ray-core/v5/app/dispatcher.NewSniffer.func3({0xc0006eb660?, 0x10?}, {0xc000317000?, 0xc0006f32d0?, 0x1648e40?})
	github.com/v2fly/v2ray-core/v5/app/dispatcher/sniffer.go:39 +0x25
github.com/v2fly/v2ray-core/v5/app/dispatcher.(*Sniffer).Sniff(0xc0006f5ec0, {0x18d9478, 0xc0006fe6f0}, {0xc000317000, 0x800, 0x800}, 0x3)
	github.com/v2fly/v2ray-core/v5/app/dispatcher/sniffer.go:67 +0xcc
github.com/v2fly/v2ray-core/v5/app/dispatcher.sniffer.func1({0x18d9478, 0xc0006fe6f0}, 0xc0006fe840, 0xc0002deec0, 0xc0006f5ec0, 0x3)
	github.com/v2fly/v2ray-core/v5/app/dispatcher/default.go:267 +0x125
github.com/v2fly/v2ray-core/v5/app/dispatcher.sniffer({0x18d9478, 0xc0006fe6f0}, 0xc0006fe840, 0x0, 0x3)
	github.com/v2fly/v2ray-core/v5/app/dispatcher/default.go:277 +0x170
github.com/v2fly/v2ray-core/v5/app/dispatcher.(*DefaultDispatcher).Dispatch.func1()
	github.com/v2fly/v2ray-core/v5/app/dispatcher/default.go:223 +0x110
created by github.com/v2fly/v2ray-core/v5/app/dispatcher.(*DefaultDispatcher).Dispatch in goroutine 395
	github.com/v2fly/v2ray-core/v5/app/dispatcher/default.go:218 +0x32b

客户端错误日志:

未获取

请附上访问日志

在服务端实时观测过进程状态,本次崩溃发生在edge浏览器中访问 https://google.com 时(会被自动跳转到 www.google.com)

其它信息

关闭 sniffing 后不再崩溃。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions