Skip to content

[Bug]: The feature "allowInsecure" has been removed, "allowInsecure" will be removed automatically after 2026-06-01, please use "pinnedPeerCertSha256" #9435

@zeyudada

Description

@zeyudada

操作系统和版本

windows 11

预期情况

使用hysteria类型节点

实际情况

Failed to start: main: failed to load config files: [configTest5612532013057212165.json] > infra/conf: failed to build outbound config with tag proxy > infra/conf: failed to build stream settings for outbound detour > infra/conf: Failed to build TLS config. > common/errors: The feature "allowInsecure" has been removed and migrated to "pinnedPeerCertSha256". Please update your config(s) according to release note and documentation.

复现方法

只要使用hysteria类型节点均有此问题

软件日志

2026-06-01 09:05:25.0301-DEBUG CoreHandler,运行 Core 失败,请查看提示信息
2026-06-01 09:05:25.0301-DEBUG at ServiceLib.Manager.CoreManager.RunProcessNormal(String fileName, CoreInfo coreInfo, String configPath, Boolean displayLog) in /home/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Manager/CoreManager.cs:line 275
at ServiceLib.Manager.CoreManager.RunProcess(CoreInfo coreInfo, String configPath, Boolean displayLog, Boolean mayNeedSudo) in /home/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Manager/CoreManager.cs:line 241

内核日志

Xray 26.5.9 (Xray, Penetrates Everything.) 1bdb488 (go1.26.3 windows/amd64)

额外信息

复现使用配置如下

{
    "tag": "proxy",
    "protocol": "hysteria",
    "settings": {
        "address": "127.6.6.6",
        "port": 1234,
        "version": 2
    },
    "streamSettings": {
        "network": "hysteria",
        "security": "tls",
        "tlsSettings": {
            "allowInsecure": true,
            "serverName": "www.bing.com"
        },
        "hysteriaSettings": {
            "version": 2,
            "auth": "a23b014e-c0f1-4146-9eaf-b6891414ae31"
        },
        "finalmask": {
            "quicParams": {
                "congestion": "brutal",
                "brutalUp": "100mbps",
                "brutalDown": "100mbps",
                "udpHop": {
                    "ports": "50000-55000",
                    "interval": "30"
                }
            }
        }
    },
    "mux": {
        "enabled": false
    }
}

我确认已更新至最新版本

我确认已查询历史issues

我确认系统版本是受支持的

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions