XrayR-project / XrayR

A Xray backend framework that can easily support many panels. 一个基于Xray的后端框架,支持V2ay,Trojan,Shadowsocks协议,极易扩展,支持多面板对接
https://xrayr-project.github.io/XrayR-doc/
Mozilla Public License 2.0
2k stars 803 forks source link

使用最新的docker镜像v0.9.4部署后出现strconv.ParseInt #663

Closed draco-china closed 1 month ago

draco-china commented 1 month ago

节点类型 trojan 日志文件 ip 已修改

xrayr  | time="2024-07-22T15:51:07+08:00" level=info msg="The panel version is expired, it is recommended to update immediately"
xrayr | time="2024-07-22T15:51:07+08:00" level=panic msg="Panel Start failed: parse node info failed: {\"node_group\":0,\"node_class\":0,\"node_speedlimit\":0,\"traffic_rate\":0,\"sort\":14,\"server\":\"0.0.0.0\",\"type\":\"SSPanel-UIM\",\"custom_config\":{\"offset_port_node\":\"158\",\"allow_insecure\":\"1\"},\"version\":\"24.0.0\"}, \nError: strconv.ParseInt: parsing \"\": invalid syntax"
xrayr  | panic: (*logrus.Entry) 0xc0011701c0
xrayr  | 
xrayr  | goroutine 1 [running]:
xrayr  | github.com/sirupsen/logrus.(*Entry).log(0xc0011700e0, 0x0, {0xc001bb4140, 0x132})
xrayr  |      github.com/sirupsen/logrus@v1.9.3/entry.go:260 +0x491
xrayr  | github.com/sirupsen/logrus.(*Entry).Log(0xc0011700e0, 0x0, {0xc001b1fa00?, 0x1?, 0x1?})
xrayr  |      github.com/sirupsen/logrus@v1.9.3/entry.go:304 +0x48
xrayr  | github.com/sirupsen/logrus.(*Entry).Logf(0xc0011700e0, 0x0, {0x448770c?, 0x14?}, {0xc001b1faf0?, 0x6?, 0xc00146f1d8?})
xrayr  |      github.com/sirupsen/logrus@v1.9.3/entry.go:349 +0x7c
theresaarcher commented 1 month ago

The XrayR panel failed to start due to an error in parsing node information. The specific error encountered is strconv.ParseInt: parsing "": invalid syntax. This indicates that there was an attempt to parse an empty string or a non-integer value as an integer.

The panel version mentioned is "24.0.0". It is recommended to update to the latest version to avoid potential issues and take advantage of new features and bug fixes.