nps
nps copied to clipboard
每5分钟会出现一次断流,已排除服务器和客户端环境问题
2022/05/30 10:33:16.235 [E] [client.go:92] Accept server data error read tcp 10.0.0.2:52534->8.8.8.8:8888: read: connection reset by peer, end this service 2022/05/30 10:33:16.236 [W] [client.go:165] accpet error,the conn has closed 2022/05/30 10:33:16.237 [I] [npc.go:236] Client closed! It will be reconnected in five seconds 2022/05/30 10:33:16.237 [E] [client.go:177] get connection info from server error EOF
我的部分客户服务器上的npc遇到这个情况,怀疑是客户防火墙策略,禁止长时间的连接,强制关闭长链接导致的。
同样环境下frp没问题,可能是npc的mux默认开启导致的,mux无法关闭