Skip to content

panic: pull/4945 的修复不全,只处理 raw,没有包含其他传输 #6636

Closed

Description

@bytecategory

完整性要求

  • 我读完了 issue 模板中的所有注释,确保填写符合要求。
  • 我保证阅读了文档,了解所有我编写的配置文件项的含义,而不是大量堆砌看似有用的选项或默认值。
  • 我提供了完整的配置文件和日志,而不是出于自己的判断只给出截取的部分。
  • 我搜索了 issues, 没有发现已提出的类似问题。
  • 问题在 Release 最新的版本上可以成功复现

描述

#4944
#4945

重现方式

xray -c client.json

客户端配置


{
  "inbounds": [
    { 
      "port": "0",
      "protocol": "vless",
      "settings": {
	      "decryption": "none" 
      },
     "streamSettings": {
	    "network": "grpc"
     } 
    }
  ]
}

服务端配置

x

客户端日志

panic: Calling Domain() on an IPv4Address.

goroutine 1 [running]:
github.com/xtls/xray-core/common/net.ipv4Address.Domain(...)
github.com/xtls/xray-core/common/net/address.go:140
github.com/xtls/xray-core/transport/internet/grpc.Listen({0x187eab8, 0x270b540}, {0x187f118, 0x35e1b3d58fac}, 0x0, 0x35e1b3fffa40, 0x35e1b4144930)
github.com/xtls/xray-core/transport/internet/grpc/hub.go:60 +0xa7
github.com/xtls/xray-core/transport/internet.ListenTCP({0x187eab8, 0x270b540}, {0x187f118, 0x35e1b3d58fac}, 0x0, 0x168afe0?, 0x35e1b4144930)
github.com/xtls/xray-core/transport/internet/tcp_hub.go:74 +0x255
github.com/xtls/xray-core/app/proxyman/inbound.(*tcpWorker).Start(0x35e1b4154960)
github.com/xtls/xray-core/app/proxyman/inbound/worker.go:150 +0x1bb
github.com/xtls/xray-core/app/proxyman/inbound.(*AlwaysOnInboundHandler).Start(0x0?)
github.com/xtls/xray-core/app/proxyman/inbound/always.go:175 +0x45
github.com/xtls/xray-core/app/proxyman/inbound.(*Manager).Start(0x35e1b4025b00)
github.com/xtls/xray-core/app/proxyman/inbound/inbound.go:121 +0x194
github.com/xtls/xray-core/core.(*Instance).Start(0x35e1b3fff880)
github.com/xtls/xray-core/core/xray.go:390 +0xd3
main.executeRun(0x26d20c0?, {0x35e1b4024fa0?, 0x800e1b3fd2f80?, 0x7a4f9d470de0?})
github.com/xtls/xray-core/main/run.go:90 +0x24e
github.com/xtls/xray-core/main/commands/base.Execute()
github.com/xtls/xray-core/main/commands/base/execute.go:64 +0x69f
main.main()
github.com/xtls/xray-core/main/main.go:22 +0x1a5

服务端日志

x

Activity

  1. changed the title [-]pull/4945 的修复不全,只处理unixsocket分支,没有包含gprc.[/-] [+]panic: pull/4945 的修复不全,只处理unixsocket分支,没有包含gprc.[/+] on Aug 17, 2026
  2. changed the title [-]panic: pull/4945 的修复不全,只处理unixsocket分支,没有包含gprc.[/-] [+]panic: pull/4945 的修复不全,只处理unixsocket分支,没有包含grpc.[/+] on Aug 17, 2026
  3. changed the title [-]panic: pull/4945 的修复不全,只处理unixsocket分支,没有包含grpc.[/-] [+]panic: pull/4945 的修复不全,只处理uds分支,没有包含grpc.[/+] on Aug 17, 2026
  4. changed the title [-]panic: pull/4945 的修复不全,只处理uds分支,没有包含grpc.[/-] [+]panic: pull/4945 的修复不全,只处理 tcp,没有包含其他传输[/+] on Aug 17, 2026
  5. bytecategory commented on Aug 17, 2026

    @bytecategory
    ContributorAuthor

    看来标题我自己编辑了好多次都是错的...

  6. changed the title [-]panic: pull/4945 的修复不全,只处理 tcp,没有包含其他传输[/-] [+]panic: pull/4945 的修复不全,只处理 raw,没有包含其他传输[/+] on Aug 17, 2026
  7. added a commit that references this issue on Aug 27, 2026
  8. added a commit that references this issue on Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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