ehang-io / nps

一款轻量级、高性能、功能强大的内网穿透代理服务器。支持tcp、udp、socks5、http等几乎所有流量转发,可用来访问内网网站、本地支付接口调试、ssh访问、远程桌面,内网dns解析、内网socks5代理等等……,并带有功能强大的web管理端。a lightweight, high-performance, powerful intranet penetration proxy server, with a powerful web management terminal.
https://ehang.io/nps/documents
GNU General Public License v3.0
29.73k stars 5.37k forks source link

在同一台客户机上启动两个客户端进程分别注册到不同的NPS服务上,运行一段时间后客户端被关闭 #1206

Open xiaonatuo opened 1 year ago

xiaonatuo commented 1 year ago

Describe the bug 在同一台客户机上启动两个客户端进程分别注册到不同的NPS服务上,其中一个客户端通过注册到系统服务的方式启动,另一个客户端通过命令行脚本的方式启动,运行一段时间之后,两个客户端均被关闭。

服务端版本 0.26.10

客户端版本 0.26.10

客户端日志 2023/05/24 02:11:17.581 [D] [client.go:216] new tcp connection with the goal of [IP]:80, remote address:[IP]:58710 2023/05/24 02:12:35.799 [W] [client.go:165] accpet error,the conn has closed 2023/05/24 02:12:35.799 [E] [client.go:92] Accept server data error read tcp [IP]:55452->[IP]:8024: use of closed network connection, end this service 2023/05/24 02:12:35.799 [I] [npc.go:236] Client closed! It will be reconnected in five seconds 2023/05/24 02:12:40.828 [I] [client.go:72] Successful connection with server [IP]:8024 2023/05/24 02:13:25.828 [D] [client.go:216] new tcp connection with the goal of [IP]:80, remote address:[IP]:12257 ...