Closed linonetwo closed 3 weeks ago
Linux
Debian
sing-box 原始命令行程序
No response
sing-box version 1.9.0 Environment: go1.22.3 linux/amd64 Tags: with_gvisor,with_quic,with_dhcp,with_wireguard,with_ech,with_utls,with_reality_server,with_acme,with_clash_api Revision: 5ff7006326e8a876d33d92b26ebd2671cdd48b9f CGO: disabled
{ "inbounds": [ { "type": "hysteria2", "tag": "hy2-in", "listen": "::", "listen_port": 8888, "obfs": { "type": "salamander", "password": "8888" }, "users": { "username": "8888", "password": "8888" }, "ignore_client_bandwidth": false, "tls": {}, "masquerade": "", "brutal_debug": false } ], "outbounds": [ { "type": "direct" } ] }
sing-box check -c '/root/sing-box.config.json' FATAL[0000] decode config at /root/sing-box.config.json: inbounds[0].users: json: cannot unmarshal object into Go value of type []option.Hysteria2User
使用上述配置文件和命令即可
This solves it
"users": [ { "name": "8888", "password": "8888" } ],
操作系统
Linux
系统版本
Debian
安装类型
sing-box 原始命令行程序
如果您使用图形客户端程序,请提供该程序版本。
No response
版本
描述
重现方式
使用上述配置文件和命令即可
日志
No response
支持我们
完整性要求