FATAL failed to parse client config {"error": "1 error(s) decoding:\n\n* 'auth' expected type 'string', got unconvertible type 'map[string]interface {}', value: 'map[password:xcHe0/vet5u/cGqMmuTaqA== type:password]'"}
Closed this issue · 1 comments
icxcczed commented
描述错误
前几天还能用,今天使用节点的时候,无法使用并显示超时
如何复现
在服务器里面输入hysteria就显示这个错误
failed to parse client config {"error": "1 error(s) decoding:\n\n* 'auth' expected type 'string', got unconvertible type 'map[string]interface {}', value: 'map[password:hysteria== type:password]'"}
附上客户端/服务器端在错误发生前后的日志。
systemctl status hysteria-server.service
● hysteria-server.service - Hysteria Server Service (config.yaml)
Loaded: loaded (/etc/systemd/system/hysteria-server.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2024-09-11 11:20:06 UTC; 43min ago
Main PID: 972631 (hysteria)
Tasks: 4 (limit: 1029)
Memory: 5.5M
CPU: 702ms
CGroup: /system.slice/hysteria-server.service
└─972631 /usr/local/bin/hysteria server --config /etc/hysteria/config.yaml
Sep 11 11:20:06 le.citrusgas.top systemd[1]: Started Hysteria Server Service (config.yaml).
Sep 11 11:20:06 le.citrusgas.top hysteria[972631]: 2024-09-11T11:20:06Z INFO server mode
Sep 11 11:20:06 le.citrusgas.top hysteria[972631]: 2024-09-11T11:20:06Z INFO server up and running {"listen": ":8443"}
设备和操作系统
Ubuntu 22.04.1
tobyxdd commented
你启动的是 client 模式