Skip to content

The "_" character in the geofile name breaks the launch #5538

@jameszeroX

Description

@jameszeroX

完整性要求

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

描述

If the name of the geo file contains the character "_", the proxy does not start. If you replace the "_" with any other character, the launch is successful

重现方式

The problem is only with xray 26.1.13

客户端配置

Details
{
  "routing": {
    "rules": [
      {
        "domain": [
          "ext:geosite_zkeen.dat:domains"
        ],
        "outboundTag": "proxy"
      },
      {
        "network": "tcp,udp",
        "outboundTag": "direct"
      }
    ]
  }
}

服务端配置

any

客户端日志

Details
~ # Xray 26.1.13 (Xray, Penetrates Everything.) 9a121a4 (go1.25.5 linux/mipsle)
A unified platform for anti-censorship.
2026/01/14 07:33:49.857289 Using confdir from env: /opt/etc/xray/configs
2026/01/14 07:33:49.869288 [Info] infra/conf/serial: Reading config: &{Name:/opt/etc/xray/configs/inbounds.json Format:json}
2026/01/14 07:33:49.885801 [Info] infra/conf/serial: Reading config: &{Name:/opt/etc/xray/configs/outbounds.json Format:json}
2026/01/14 07:33:49.889794 [Info] infra/conf: [/opt/etc/xray/configs/outbounds.json] prepend outbound with tag: proxy
2026/01/14 07:33:49.890047 [Info] infra/conf: [/opt/etc/xray/configs/outbounds.json] prepend outbound with tag: direct
2026/01/14 07:33:49.890303 [Info] infra/conf/serial: Reading config: &{Name:/opt/etc/xray/configs/routing.json Format:json}
Failed to start: main: failed to create server > app/router: failed to build domains from mmap > app/router: failed to load file: geosite > open /opt/etc/xray/dat/geosite: no such file or directory

服务端日志

not essential

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