萝卜白菜。 2021-06-04 22:45 采纳率: 100%
浏览 46
已结题

TongWeb6报错decode error

[2018-08-30 09:01:01] [WARNING] [rmi-service] [decode error]
[2018-08-30 09:01:01] [WARNING] [System.out] [com.tongweb.netty.handler.codec.TooLongFrameException: Adjusted frame length exceeds 10485760: 4009689092 - discarded]
[2018-08-30 09:01:01] [WARNING] [System.out] [    at com.tongweb.netty.handler.codec.LengthFieldBasedFrameDecoder.fail(LengthFieldBasedFrameDecoder.java:501)]
[2018-08-30 09:01:01] [WARNING] [System.out] [    at com.tongweb.netty.handler.codec.LengthFieldBasedFrameDecoder.failIfNecessary(LengthFieldBasedFrameDecoder.java:477)]
[2018-08-30 09:01:01] [WARNING] [System.out] [    at com.tongweb.netty.handler.codec.LengthFieldBasedFrameDecoder.decode(LengthFieldBasedFrameDecoder.java:403)]
[2018-08-30 09:01:01] [WARNING] [System.out] [    at com.tongweb.tongejb.nio.server.EjbServerDecoder.decode(EjbServerDecoder.java:90)]
[2018-08-30 09:01:01] [WARNING] [System.out] [    at com.tongweb.tongejb.nio.server.EjbServerDecoder.decode(EjbServerDecoder.java:61)]
[2018-08-30 09:01:01] [WARNING] [System.out] [    at com.tongweb.netty.handler.codec.LengthFieldBasedFrameDecoder.decode(LengthFieldBasedFrameDecoder.java:343)]
[2018-08-30 09:01:01] [WARNING] [System.out] [    at com.tongweb.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:268)]
[2018-08-30 09:01:01] [WARNING] [System.out] [    at com.tongweb.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:168)]
[2018-08-30 09:01:01] [WARNING] [System.out] [    at com.tongweb.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)]
[2018-08-30 09:01:01] [WARNING] [System.out] [    at com.tongweb.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)]
[2018-08-30 09:01:01] [WARNING] [System.out] [    at com.tongweb.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:254)]
[2018-08-30 09:01:01] [WARNING] [System.out] [    at com.tongweb.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)]
[2018-08-30 09:01:01] [WARNING] [System.out] [    at com.tongweb.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)]
[2018-08-30 09:01:01] [WARNING] [System.out] [    at com.tongweb.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)]
[2018-08-30 09:01:01] [WARNING] [System.out] [    at com.tongweb.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:130)]
[2018-08-30 09:01:01] [WARNING] [System.out] [    at com.tongweb.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)]
[2018-08-30 09:01:01] [WARNING] [System.out] [    at com.tongweb.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)]
[2018-08-30 09:01:01] [WARNING] [System.out] [    at com.tongweb.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)]
[2018-08-30 09:01:01] [WARNING] [System.out] [    at com.tongweb.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)]
[2018-08-30 09:01:01] [WARNING] [System.out] [    at com.tongweb.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)]
[2018-08-30 09:01:01] [WARNING] [System.out] [    at com.tongweb.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)]
[2018-08-30 09:01:01] [WARNING] [System.out] [    at java.lang.Thread.run(Thread.java:745)]

  • 写回答

1条回答 默认 最新

  • 萝卜白菜。 2021-06-04 23:11
    关注

    原因:这是因为有非法的请求访问TongWeb6的netty线程池,但报文格式不对于是报错。  可以忽略此异常, 或通过netstat看是哪里来的访问,找到后禁止访问。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 已结题 (查看结题原因) 1月16日

悬赏问题

  • ¥15 微信会员卡等级和折扣规则
  • ¥15 微信公众平台自制会员卡可以通过收款码收款码收款进行自动积分吗
  • ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
  • ¥15 gdf格式的脑电数据如何处理matlab
  • ¥20 重新写的代码替换了之后运行hbuliderx就这样了
  • ¥100 监控抖音用户作品更新可以微信公众号提醒
  • ¥15 UE5 如何可以不渲染HDRIBackdrop背景
  • ¥70 2048小游戏毕设项目
  • ¥20 mysql架构,按照姓名分表
  • ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分