Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netty decode exception on Cassandra 5.0.x startup #555

Open
emerkle826 opened this issue Oct 23, 2024 · 0 comments
Open

Netty decode exception on Cassandra 5.0.x startup #555

emerkle826 opened this issue Oct 23, 2024 · 0 comments

Comments

@emerkle826
Copy link
Contributor

emerkle826 commented Oct 23, 2024

This isn't easily reproducible, but sometimes there is an decoder exception on startup:

WARN  [epollEventLoopGroup-5-2] 2024-10-23 06:09:02,056 AbstractChannelHandlerContext.java:355 - An exception 'java.lang.IllegalArgumentException: Unsupported socket address type: class io.netty.channel.unix.DomainSocketAddress' [enable DEBUG level for full stacktrace] was thrown by a user handler's exceptionCaught() method while handling the following exception:
io.netty.handler.codec.DecoderException: java.lang.IllegalArgumentException: Unsupported socket address type: class io.netty.channel.unix.DomainSocketAddress
        at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:499)
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
        at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
        at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:800)
        at io.netty.channel.epoll.EpollDomainSocketChannel$EpollDomainUnsafe.epollInReady(EpollDomainSocketChannel.java:140)
        at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:509)
        at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:407)
        at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
        at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
        at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.IllegalArgumentException: Unsupported socket address type: class io.netty.channel.unix.DomainSocketAddress
        at com.google.common.base.Preconditions.checkArgument(Preconditions.java:143)
        at org.apache.cassandra.config.SubnetGroups.contains(SubnetGroups.java:58)
        at org.apache.cassandra.transport.ExceptionHandlers.getUnexpectedExceptionHandler(ExceptionHandlers.java:152)
        at org.apache.cassandra.transport.Dispatcher.processRequest(Dispatcher.java:444)
        at org.apache.cassandra.transport.UnixSocketServer50x$PipelineChannelInitializer.decode(UnixSocketServer50x.java:288)
        at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:529)
        at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:468)
        ... 16 common frames omitted

This is possibly limited to Cassandra 5.0.x, but not sure at the moment. Please update the ticket if it is seen for other versions.

┆Issue is synchronized with this Jira Story by Unito
┆Issue Number: MAPI-75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: No status
Development

No branches or pull requests

1 participant