Kafka brokers throwing packet length IOExceptions #9444
Unanswered
lenin-joseph
asked this question in
Q&A
Replies: 1 comment 6 replies
-
You should probably start by sharing the full configuration and log. Sharing just an exception does not help anyone because we have no idea where do you actually get it. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We use Strimzi 0.31.1 (Kafka 3.2.3) where we have been seeing packet length IOexceptions in brokers w.r.to the zookeeper connection in one of the clusters and it seems that there are frequent updates in the znodes (related to /config/changes).
We see a PR(#1787) for a similar issue, but that was not merged. So could you take a look and advise if there is any configuration change required to address this issue?
Unexpected throwable java.io.IOException: Packet len 4636860 is out of range!|\tat org.apache.zookeeper.ClientCnxnSocket.readLength(ClientCnxnSocket.java:121)|\tat org.apache.zookeeper.ClientCnxnSocketNetty$ZKClientHandler.channelRead0(ClientCnxnSocketNetty.java:500)|\tat org.apache.zookeeper.ClientCnxnSocketNetty$ZKClientHandler.channelRead0(ClientCnxnSocketNetty.java:463)|\tat io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)|\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)|\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)|\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)|\tat io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1373)|\tat io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1236)|\tat io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1285)|\tat io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:510)|\tat io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:449)|\tat io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:279)|\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)|\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)|\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)|\tat io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)|\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)|\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)|\tat io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)|\tat io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)|\tat io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722)|\tat io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658)|\tat io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584)|\tat io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)|\tat io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)|\tat io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)|\tat io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)|\tat java.base/java.lang.Thread.run(Thread.java:829)",
Output from ZKCli:
Welcome to ZooKeeper!
JLine support is disabled
WATCHER::
WatchedEvent state:SyncConnected type:None path:null
ls /config
[brokers, changes, clients, ips, topics, users]
ls /config/changes
[config_change_0000000130, config_change_0000000131, config_change_0000000132]
Beta Was this translation helpful? Give feedback.
All reactions