NetEase / pomelo

A fast,scalable,distributed game server framework for Node.js.
http://pomelo.netease.com
MIT License
11.87k stars 2.9k forks source link

mqtt rpc client checkKeepAlive error timeout for 120000 #1140

Closed lh348753987 closed 5 years ago

lh348753987 commented 5 years ago

求教,最近开发过程中总是出现这个问题,导致我某个服务器和master断开连接,有大佬知道怎么解决吗?

r5libs commented 5 years ago

mqtt rpc client 請更新到3.2.0

whtiehack commented 5 years ago

mqtt rpc client 請更新到3.2.0

具体一点就是更新 pomelo-admin 里的 mqtt-connection版本。

yunmin97 commented 5 years ago

我的mqtt-connection版本已经是3.2.0了,还是会出现这样的问题!请问是什么问题导致的这个错误?

whtiehack commented 5 years ago

win10的话就换用 git bash 不要用 cmd

yunmin97 commented 5 years ago

嗯,确实是用了cmd,用powershell也一样!等我换bash试试再反馈,谢谢🙏

On 08/19/2019 09:45, smallwhite wrote:

win10的话就换用 git bash 不要用 cmd

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

yunmin97 commented 5 years ago

win10下git bash运行pomelo start,闲置一段时间后还是会出现这个问题: [2019-08-20 19:51:05.469] [ERROR] pomelo-admin - [MqttClient] mqtt rpc client checkKeepAlive error timeout for 120000 @whtiehack

awhlmycn commented 5 years ago

@yunmin97 请问你的问题解决了吗?我这边也是这个问题了,跑一段时间就主动和master断开连接了. 也是windows 系统的了.

yunmin97 commented 5 years ago

我在阿里云上面跑没问题,就是自己的电脑上跑才出现,现在没时间去研究,后面再仔细看看源码

On 09/30/2019 11:20, awhlmycn wrote:

@yunmin97 请问你的问题解决了吗?我这边也是这个问题了,跑一段时间就主动和master断开连接了. 也是windows 系统的了.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.