前端页面通过websocket.js发送信息后自动关闭
ammonzhang opened this issue · comments
提问
按照 iogame-example / example-codec-json 中 前端页面 调用websocket.js 发送给 iogame, 服务端也是按照例子代码运行。websocket能成功连接,一发送信息,websocket就自动关闭连接,并不会有返回信息。服务端控制台有大量debug日志
版本是 iogame 17.1.61
麻烦看下是否有问题: 日志以及前端图片如下:
14:36:32.176 [Rpc-netty-server-worker-1-thread-1] DEBUG io.netty.channel.DefaultChannelPipeline - Discarded message pipeline : [decoder, encoder, idleStateHandler, serverIdleHandler, connectionEventHandler, handler, DefaultChannelPipeline$TailContext#0]. Channel : [id: 0xcd4bfeca, L:/127.0.0.1:10200 - R:/127.0.0.1:60340].
14:36:32.176 [bolt-netty-client-worker-7-thread-1] DEBUG io.netty.channel.DefaultChannelPipeline - Discarded inbound message com.alipay.remoting.rpc.HeartbeatAckCommand@50f94c68 that reached at the tail of the pipeline. Please check your pipeline configuration.
14:36:32.176 [bolt-netty-client-worker-7-thread-1] DEBUG io.netty.channel.DefaultChannelPipeline - Discarded message pipeline : [decoder, encoder, idleStateHandler, heartbeatHandler, connectionEventHandler, handler, DefaultChannelPipeline$TailContext#0]. Channel : [id: 0x40b97552, L:/127.0.0.1:60340 - R:/127.0.0.1:10200].
14:36:32.176 [Rpc-netty-server-worker-1-thread-2] DEBUG io.netty.channel.DefaultChannelPipeline - Discarded inbound message com.alipay.remoting.rpc.HeartbeatCommand@13c8e07 that reached at the tail of the pipeline. Please check your pipeline configuration.
问题已解决,少了依赖。
可以具体说下吗, 我也遇到同样的问题