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

大神求救,npc客服端在一台设备上面一直反复连接重启,但是同样的key在其他设备上又不会这是,为什么? #33

Closed
tsrjrc opened this issue Jan 17, 2025 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@tsrjrc
Copy link

tsrjrc commented Jan 17, 2025

nps报错:
[I] [bridge.go:315] clientId 53 connection succeeded, address:xxxxxxxxxx
2025/01/17 02:30:01 mux: read session unpack from connection err read tcp xxxx->xxxxx: read: connection reset by peer
2025/01/17 02:30:01 close mux
npc报错:
2025/01/13 23:27:01.422 [I] [npc.go:284] start vkey:b08hsn1n2ef74c5r
2025/01/13 23:27:08.781 [I] [client.go:73] Successful connection with server xxxxx
2025/01/13 23:27:14 mux: read session unpack from connection err read tcp xxxxx->xxxxxx: read: connection reset by peer
2025/01/13 23:27:14 close mux
2025/01/13 23:27:14.407 [W] [client.go:166] accpet error,the conn has closed
2025/01/13 23:27:14.408 [E] [client.go:93] Accept server data error read tcp xxxxxxxx->xxxxxx: use of closed network connection, end this service
2025/01/13 23:27:14.408 [I] [npc.go:286] Client closed! It will be reconnected in five seconds

@tsrjrc
Copy link
Author

tsrjrc commented Jan 17, 2025

我把nps放在腾讯云服务器上面,都可以正常使用。nps运行在个人公网ip就会出现上述情况。

@djylb
Copy link
Owner

djylb commented Jan 17, 2025

客户端和服务端配置发一下,还有运行环境啥的。

@djylb djylb added the help wanted Extra attention is needed label Jan 17, 2025
@djylb djylb closed this as completed Jan 21, 2025
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