被这个问题恶心死了,求大神解救!

[connector-server-1] getSession session is created with session id: 3
[connector-server-1] handleMessage session id: 3, msg: {"id":10001,"type":0,"compressRoute":1,"route":"gate.gateHandler.reqConnect","body":{},"compressGzip":0}
[2017-05-17 22:09:29.686] [ERROR] pomelo - [/home/test/game-server/node_modules/pomelo/lib/server/server.js] fail to forward message:TypeError: Cannot read property 'forwardMessage' of undefined
at doForward (/home/test/game-server/node_modules/pomelo/lib/server/server.js:334:49)
at dispatch (/home/test/game-server/node_modules/pomelo/lib/server/server.js:103:7)
at next (/home/test/game-server/node_modules/pomelo/lib/common/service/filterService.js:50:7)
at Service.beforeFilter (/home/test/game-server/node_modules/pomelo/lib/common/service/filterService.js:65:3)
at beforeFilter (/home/test/game-server/node_modules/pomelo/lib/server/server.js:242:8)
at Server.pro.globalHandle (/home/test/game-server/node_modules/pomelo/lib/server/server.js:112:3)
at Component.globalHandle (/home/test/game-server/node_modules/pomelo/lib/components/server.js:74:14)
at handleMessage (/home/test/game-server/node_modules/pomelo/lib/components/connector.js:381:15)
at Socket.<anonymous> (/home/test/game-server/node_modules/pomelo/lib/components/connector.js:284:5)
at emitOne (events.js:96:13)
[2017-05-17 22:09:29.687] [DEBUG]


出现场景为:登录后,u3d客户端断开网络,服务端能看到断开session.on('closed',dis);这时候不关闭客户端,打开网络,发出连接请求,就会出现上面这个错误。。
特么重连下就那么难吗?
--
求大神解救~~我哪里姿势不对?

标签: pomelo 移动开发 开发求助
iniwap 在 5-17 22:23发布 分享到 weibo
回到顶部