gateway一直报错

Blade 未结 1 346
向日葵
向日葵 剑圣 2023-05-22 14:46

一、该问题的重现步骤是什么?

  1. gateway单独一台服务器部署,启动之后发现日志很大,全是同一个报错,但是项目后台访问是正常的。

  2. 而且一段时间之后,接口会无法访问,不确定是这个网关报错问题还是其他服务的问题


二、你期待的结果是什么?实际看到的又是什么?

不报错


三、你正在使用的是什么产品,什么版本?在什么操作系统上?

linux,bladex企业版,最新


四、请提供详细的错误堆栈信息,这很重要。

2023-05-22 14:18:38.515  WARN 23038 --- [or-http-epoll-2] r.n.http.server.HttpServerOperations     : [60dea68c, L:/172.16.149.19:80 - R:/216.250.254.22:4880] Decoding failed: DefaultFullHttpRequest(decodeResult: failure(java.lang.IllegalArgumentException: text is empty (possibly HTTP/0.9)), version: HTTP/1.0, content: UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 0, cap: 0))

GET /bad-request HTTP/1.0 : 


java.lang.IllegalArgumentException: text is empty (possibly HTTP/0.9)

at io.netty.handler.codec.http.HttpVersion.valueOf(HttpVersion.java:65) ~[netty-codec-http-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.http.HttpRequestDecoder.createMessage(HttpRequestDecoder.java:124) ~[netty-codec-http-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.http.HttpObjectDecoder.decode(HttpObjectDecoder.java:273) ~[netty-codec-http-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.http.HttpServerCodec$HttpServerRequestDecoder.decode(HttpServerCodec.java:140) ~[netty-codec-http-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:510) ~[netty-codec-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:449) ~[netty-codec-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279) ~[netty-codec-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800) [netty-transport-classes-epoll-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:487) [netty-transport-classes-epoll-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:385) [netty-transport-classes-epoll-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) [netty-common-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-common-4.1.78.Final.jar!/:4.1.78.Final]

at java.lang.Thread.run(Thread.java:750) [na:1.8.0_362]


2023-05-22 14:18:38.615  WARN 23038 --- [or-http-epoll-2] r.n.http.server.HttpServerOperations     : [1a7bde5c, L:/172.16.149.19:80 - R:/216.250.254.22:4882] Decoding failed: DefaultFullHttpRequest(decodeResult: failure(java.lang.IllegalArgumentException: invalid version format: DzS¨RL `U?¯~Á÷X²§S’-ÈÔ$•À&¨YK]XLˆG¸ ,À/À+À0À, ž ŸÀ'À#ÀÀ À(À$ÀÀ), version: HTTP/1.0, content: UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 0, cap: 0))

GET /bad-request HTTP/1.0 : 


java.lang.IllegalArgumentException: invalid version format: DzS¨RL `U?¯~Á÷X²§S’-ÈÔ$•À&¨YK]XLˆG¸ ,À/À+À0À, ž ŸÀ'À#ÀÀ À(À$ÀÀ

at io.netty.handler.codec.http.HttpVersion.<init>(HttpVersion.java:116) ~[netty-codec-http-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.http.HttpVersion.valueOf(HttpVersion.java:78) ~[netty-codec-http-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.http.HttpRequestDecoder.createMessage(HttpRequestDecoder.java:124) ~[netty-codec-http-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.http.HttpObjectDecoder.decode(HttpObjectDecoder.java:273) ~[netty-codec-http-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.http.HttpServerCodec$HttpServerRequestDecoder.decode(HttpServerCodec.java:140) ~[netty-codec-http-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:510) ~[netty-codec-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:449) ~[netty-codec-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279) ~[netty-codec-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800) [netty-transport-classes-epoll-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:487) [netty-transport-classes-epoll-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:385) [netty-transport-classes-epoll-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) [netty-common-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-common-4.1.78.Final.jar!/:4.1.78.Final]

at java.lang.Thread.run(Thread.java:750) [na:1.8.0_362]


2023-05-22 14:18:38.657  WARN 23038 --- [or-http-epoll-4] r.n.http.server.HttpServerOperations     : [14b5789b, L:/172.16.149.19:80 - R:/195.3.223.62:51512] Decoding failed: DefaultFullHttpRequest(decodeResult: failure(java.lang.IllegalArgumentException: invalid version format: Ø´%Å֎!™Ÿ­Ÿ¿ÅÀړPW¯F±º¥ÌËѝPG @À 5̨̩À¯À­À]ÀAÀ®À¬À\À`À$À(À#À'À), version: HTTP/1.0, content: UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 0, cap: 0))

GET /bad-request HTTP/1.0 : 


java.lang.IllegalArgumentException: invalid version format: Ø´%Å֎!™Ÿ­Ÿ¿ÅÀړPW¯F±º¥ÌËѝPG @À 5̨̩À¯À­À]ÀAÀ®À¬À\À`À$À(À#À'À

at io.netty.handler.codec.http.HttpVersion.<init>(HttpVersion.java:116) ~[netty-codec-http-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.http.HttpVersion.valueOf(HttpVersion.java:78) ~[netty-codec-http-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.http.HttpRequestDecoder.createMessage(HttpRequestDecoder.java:124) ~[netty-codec-http-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.http.HttpObjectDecoder.decode(HttpObjectDecoder.java:273) ~[netty-codec-http-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.http.HttpServerCodec$HttpServerRequestDecoder.decode(HttpServerCodec.java:140) ~[netty-codec-http-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:510) ~[netty-codec-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:449) ~[netty-codec-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279) ~[netty-codec-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800) [netty-transport-classes-epoll-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:487) [netty-transport-classes-epoll-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:385) [netty-transport-classes-epoll-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) [netty-common-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-common-4.1.78.Final.jar!/:4.1.78.Final]

at java.lang.Thread.run(Thread.java:750) [na:1.8.0_362]


2023-05-22 14:18:38.720  WARN 23038 --- [or-http-epoll-1] r.n.http.server.HttpServerOperations     : [16c0bf4c, L:/172.16.149.19:80 - R:/195.3.223.177:47112] Decoding failed: DefaultFullHttpRequest(decodeResult: failure(java.lang.IllegalArgumentException: invalid version format: J “§.Á®’ØU÷ÆÒҊ;‰OʄXYÖÊÒÄÅ À0À/ Ÿ ž Ÿ  Ó      API.A1736.COM:66), version: HTTP/1.0, content: UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 0, cap: 0))

GET /bad-request HTTP/1.0 : 


java.lang.IllegalArgumentException: invalid version format: J “§.Á®’ØU÷ÆÒҊ;‰OʄXYÖÊÒÄÅ À0À/ Ÿ ž Ÿ  Ó      API.A1736.COM:66

at io.netty.handler.codec.http.HttpVersion.<init>(HttpVersion.java:116) ~[netty-codec-http-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.http.HttpVersion.valueOf(HttpVersion.java:78) ~[netty-codec-http-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.http.HttpRequestDecoder.createMessage(HttpRequestDecoder.java:124) ~[netty-codec-http-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.http.HttpObjectDecoder.decode(HttpObjectDecoder.java:273) ~[netty-codec-http-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.http.HttpServerCodec$HttpServerRequestDecoder.decode(HttpServerCodec.java:140) ~[netty-codec-http-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:510) ~[netty-codec-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:449) ~[netty-codec-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279) ~[netty-codec-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800) [netty-transport-classes-epoll-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:487) [netty-transport-classes-epoll-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:385) [netty-transport-classes-epoll-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) [netty-common-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-common-4.1.78.Final.jar!/:4.1.78.Final]

at java.lang.Thread.run(Thread.java:750) [na:1.8.0_362]


2023-05-22 14:18:38.922  WARN 23038 --- [or-http-epoll-4] r.n.http.server.HttpServerOperations     : [b45e1a5b, L:/172.16.149.19:80 - R:/195.3.223.177:47124] Decoding failed: DefaultFullHttpRequest(decodeResult: failure(java.lang.IllegalArgumentException: invalid version format: 6ÅAKIӕ¶È·Y3°EÞY‡¤±K®JB– @À 5̨̩À¯À­À]ÀAÀ®À¬À\À`À$À(À#À'À), version: HTTP/1.0, content: UnpooledByteBufAllocator$InstrumentedUnpooledUnsafeHeapByteBuf(ridx: 0, widx: 0, cap: 0))

GET /bad-request HTTP/1.0 : 


java.lang.IllegalArgumentException: invalid version format: 6ÅAKIӕ¶È·Y3°EÞY‡¤±K®JB– @À 5̨̩À¯À­À]ÀAÀ®À¬À\À`À$À(À#À'À

at io.netty.handler.codec.http.HttpVersion.<init>(HttpVersion.java:116) ~[netty-codec-http-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.http.HttpVersion.valueOf(HttpVersion.java:78) ~[netty-codec-http-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.http.HttpRequestDecoder.createMessage(HttpRequestDecoder.java:124) ~[netty-codec-http-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.http.HttpObjectDecoder.decode(HttpObjectDecoder.java:273) ~[netty-codec-http-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.http.HttpServerCodec$HttpServerRequestDecoder.decode(HttpServerCodec.java:140) ~[netty-codec-http-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:510) ~[netty-codec-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:449) ~[netty-codec-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279) ~[netty-codec-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) [netty-transport-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800) [netty-transport-classes-epoll-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:487) [netty-transport-classes-epoll-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:385) [netty-transport-classes-epoll-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) [netty-common-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.78.Final.jar!/:4.1.78.Final]

at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-common-4.1.78.Final.jar!/:4.1.78.Final]

at java.lang.Thread.run(Thread.java:750) [na:1.8.0_362]


五、若有更多详细信息,请在下面提供。

1条回答
  • 2023-05-22 16:56

    看下是不是一样的问题:https://ask.csdn.net/questions/7678385

    作者追问:2023-05-22 17:31

    不是这个问题,没用https,而且项目一切正常运行,就是很容易宕机卡死,也不知道是不是和这个报错有关系

    回答: 2023-05-22 22:52

    这问题还没有遇到过,请问Gateway有没有做过二开,然后再检查一下服务器的jdk版本是多少,服务器的编码是不是UTF-8。

    如果用bladex自带的Gateway打包后放到服务器,会不会有一样的报错。

    如果是本地启动,会不会有一样的报错等等,这些都需要去尝试一下。

    看你的报错,确实是进行转换的时候,报错了,所以要去跟踪一下,解析的数据是怎样的。

    具体方法如下

    at io.netty.handler.codec.http.HttpObjectDecoder.decode


    作者追问:2023-05-23 09:12

    gateway没有修改过,本地一切正常。服务器jdk版本openjdk version "1.8.0_362",编码utf-8。那句命令具体要怎么使用

    作者追问:2023-05-23 14:01

    项目卡死就是由于网关服务卡死导致无法正常运行,刚才又卡死了,然后网关重启了下就正常,其他服务正常运行

    0 讨论(0)
提交回复