Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大神求救!连接错误是什么原因? #19

Closed
xiaohu911 opened this issue Nov 27, 2024 · 3 comments
Closed

大神求救!连接错误是什么原因? #19

xiaohu911 opened this issue Nov 27, 2024 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@xiaohu911
Copy link

隔几天就会出现这种情况,同线路其他NPS和npc也是不定时出现这种情况。提供错误时的报告,服务器和本地都是win系统搭建。本地用的后台模式。

nps 错误报告
2024/11/26 22:26:30.330 [W] [base.go:124] get connection from client id 2 error the mux has closed
2024/11/26 22:26:35.469 [I] [bridge.go:449] the client 2 closed
2024/11/26 22:26:39.793 [W] [base.go:124] get connection from client id 2 error the client 2 is not connect
2024/11/26 22:26:40.800 [I] [bridge.go:291] clientId 2 connection succeeded, address:112.193.164.X:63395

npc 错误报告
2024/11/26 22:26:36.820 [E] [client.go:93] Accept server data error EOF, end this service
2024/11/26 22:26:36.822 [W] [client.go:166] accpet error,the conn has closed
2024/11/26 22:26:36.822 [I] [npc.go:286] Client closed! It will be reconnected in five seconds
2024/11/26 22:26:41.823 [I] [npc.go:284] start vkey:oxzs8sp6lh6h4lpg
2024/11/26 22:26:42.074 [I] [client.go:73] Successful connection with server 8.218.232.X:8024

@djylb
Copy link
Owner

djylb commented Nov 27, 2024

能自动重连吗?能的话就是网络波动丢包了,不太影响使用。disconnect_timeout参数用的是默认值60吗?这个值设置太低也会导致频繁重连。

@djylb djylb added the help wanted Extra attention is needed label Nov 27, 2024
@xiaohu911
Copy link
Author

能自动重连,用的60,同时期其他设备都在一个网络环境,但没有掉,有点搞不懂为什么

@djylb
Copy link
Owner

djylb commented Nov 27, 2024

目前的信息看起来应该只是网络波动导致的重连。

@djylb djylb closed this as completed Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants