Closed smutao closed 2 years ago
是使用的最新版本的客户端吗
是的 go客户端有这个问题,ServerStatus-Hotaru的客户端没有此问题
看下运行日志?
服务端添加、更新配置后,服务端重启
比如: ... [信息] 修改成功 [ 原节点地区: US, 新节点地区: US ] [信息] ServerStatus Server 停止成功 ! [信息] ServerStatus Server 启动成功[监听端口:888] ! root@mach:~/ServerStatus-Hotaru-master# cat /tmp/serverstatus_server.log [server]: Bound to :888
之后,用go客户端的机器就掉线(显示维护中)用ServerStatus-Hotaru客户端的不影响
看下客户端的日志。你是怎么运行客户端的?
./status-client -dsn="username:password@yourip:35601" 2022/01/13 20:45:35 Connecting... 2022/01/13 20:45:35 Authentication required: 2022/01/13 20:45:35 Authentication successful. Access granted. 2022/01/13 20:45:35 You are connecting via: IPv4
服务端重启后 客户端没有什么变化 但实际已掉线 具体的情况您可以尝试复现一下
我这边没有办法复现这个问题。事实上在服务端重启后客户端应该会自动重新连接。连接关闭后客户端仍然表现能正常通信是很奇怪的
2022/01/14 13:47:00 You are connecting via: IPv4
2022/01/14 13:47:59 write tcp 192.168.233.2:1592->192.168.233.3:35601: wsasend: An established connection was aborted by the software in your host machine.
2022/01/14 13:48:04 Connecting...
2022/01/14 13:48:04 Authentication required:
2022/01/14 13:48:04 Authentication successful. Access granted.
2022/01/14 13:48:04 You are connecting via: IPv4
服务端添加配置后,客户端掉线 客户端需要重新执行连接命令