com.mongodb.internal.connection.debug.MongoDebuggingException: InternalConnectionDebugger runId=89727b11-9857-4bf6-9d2f-8f9a11f4c006 debuggerId=3 messageSequenceNumber=1, t=2021-08-19T06:10:12.125Z, thread=nioEventLoopGroup-3-1,\u2028Data{openedT=null, openedThreadName=null, connectionDescription=null,\u2028io=IoData{successReads=503, successReadBytes=86349, msgHeaders=251, msgHeaderMessageLengthBytes=86333, failReads=0, failReadBytes=0, failNegativeReads=0, successWrites=252, failWrites=0},\u2028streamOperations=OperationData{lastEventIdx=1511,\u2028history=[\u20281510:OperationEvent{mode=a, code=READ, type=B, attachments=[a{IoData{successReads=502, successReadBytes=86333, msgHeaders=251, msgHeaderMessageLengthBytes=86333, failReads=0, failReadBytes=0, failNegativeReads=0, successWrites=252, failWrites=0}}]},\u20281511:OperationEvent{mode=a, code=READ, type=S, attachments=[a{IoData{successReads=503, successReadBytes=86349, msgHeaders=251, msgHeaderMessageLengthBytes=86333, failReads=0, failReadBytes=0, failNegativeReads=0, successWrites=252, failWrites=0}}]}\u2028]},\u2028internalConnectionOperations=OperationData{lastEventIdx=744,\u2028history=[\u2028743:OperationEvent{mode=u, code=COMMAND, type=B, attachments=[a{StreamReadPosition{successReadBytes=86333, msgHeaderMessageLengthBytes=86333}}, a{CommandMessageData{id=965, name=getMore, containsPayload=false, responseExpected=true, namespace=posService.$cmd, speculativeAuthenticate=false}}]},\u2028744:OperationEvent{mode=u, code=DECODE_MESSAGE_HEADER, type=F, attachments=[a{StreamReadPosition{successReadBytes=86349, msgHeaderMessageLengthBytes=86333}}, a{MessageHeader{messageLength=1936613746, requestId=1634887014, responseTo=1415933026, opCode=1752452975}}, a{threadName=nioEventLoopGroup-3-1}, a{com.mongodb.internal.connection.debug.MongoDebuggingException: Detected an invalid reply message header MessageHeader{messageLength=1936613746, requestId=1634887014, responseTo=1415933026, opCode=1752452975}\u2028 at com.mongodb.internal.connection.debug.InternalConnectionDebugger.invalidMessageHeader(InternalConnectionDebugger.java:113)\u2028 at com.mongodb.internal.connection.MessageHeader.(MessageHeader.java:50)\u2028 at com.mongodb.internal.connection.InternalStreamConnection$MessageHeaderCallback.onResult(InternalStreamConnection.java:641)\u2028 at com.mongodb.internal.connection.InternalStreamConnection$MessageHeaderCallback.onResult(InternalStreamConnection.java:627)\u2028 at com.mongodb.internal.connection.InternalStreamConnection$5.completed(InternalStreamConnection.java:522)\u2028 at com.mongodb.internal.connection.InternalStreamConnection$5.completed(InternalStreamConnection.java:519)\u2028 at com.mongodb.internal.connection.debug.InternalConnectionDebugger$DebuggableStream$3.completed(InternalConnectionDebugger.java:815)\u2028 at com.mongodb.internal.connection.debug.InternalConnectionDebugger$DebuggableStream$3.completed(InternalConnectionDebugger.java:809)\u2028 at com.mongodb.connection.netty.NettyStream.readAsync(NettyStream.java:232)\u2028 at com.mongodb.connection.netty.NettyStream.handleReadResponse(NettyStream.java:262)\u2028 at com.mongodb.connection.netty.NettyStream.access$800(NettyStream.java:69)\u2028 at com.mongodb.connection.netty.NettyStream$InboundBufferHandler.channelRead0(NettyStream.java:321)\u2028 at com.mongodb.connection.netty.NettyStream$InboundBufferHandler.channelRead0(NettyStream.java:318)\u2028 at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)\u2028 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)\u2028 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)\u2028 at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)\u2028 at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)\u2028 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)\u2028 at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)\u2028 at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)\u2028 at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)\u2028 at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)\u2028 at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)\u2028 at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)\u2028 at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)\u2028 at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)\u2028 at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)\u2028 at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\u2028 at java.lang.Thread.run(Thread.java:748)\u2028Caused by: com.mongodb.MongoInternalException: The reply message length 1936613746 is greater than the maximum message length 48000000\u2028 at com.mongodb.internal.connection.MessageHeader.(MessageHeader.java:47)\u2028 ... 28 more\u2028}]}\u2028]}\u2028} at com.mongodb.internal.connection.debug.InternalConnectionDebugger.exception(InternalConnectionDebugger.java:171) at com.mongodb.internal.connection.debug.InternalConnectionDebugger.report(InternalConnectionDebugger.java:148) at com.mongodb.internal.connection.debug.InternalConnectionDebugger$DataCollector$OperationCollector.failed(InternalConnectionDebugger.java:613) at com.mongodb.internal.connection.debug.InternalConnectionDebugger.invalidMessageHeader(InternalConnectionDebugger.java:114) at com.mongodb.internal.connection.MessageHeader.(MessageHeader.java:50) at com.mongodb.internal.connection.InternalStreamConnection$MessageHeaderCallback.onResult(InternalStreamConnection.java:641) at com.mongodb.internal.connection.InternalStreamConnection$MessageHeaderCallback.onResult(InternalStreamConnection.java:627) at com.mongodb.internal.connection.InternalStreamConnection$5.completed(InternalStreamConnection.java:522) at com.mongodb.internal.connection.InternalStreamConnection$5.completed(InternalStreamConnection.java:519) at com.mongodb.internal.connection.debug.InternalConnectionDebugger$DebuggableStream$3.completed(InternalConnectionDebugger.java:815) at com.mongodb.internal.connection.debug.InternalConnectionDebugger$DebuggableStream$3.completed(InternalConnectionDebugger.java:809) at com.mongodb.connection.netty.NettyStream.readAsync(NettyStream.java:232) at com.mongodb.connection.netty.NettyStream.handleReadResponse(NettyStream.java:262) at com.mongodb.connection.netty.NettyStream.access$800(NettyStream.java:69) at com.mongodb.connection.netty.NettyStream$InboundBufferHandler.channelRead0(NettyStream.java:321) at com.mongodb.connection.netty.NettyStream$InboundBufferHandler.channelRead0(NettyStream.java:318) at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748) Caused by: com.mongodb.internal.connection.debug.MongoDebuggingException: Detected an invalid reply message header MessageHeader{messageLength=1936613746, requestId=1634887014, responseTo=1415933026, opCode=1752452975} at com.mongodb.internal.connection.debug.InternalConnectionDebugger.invalidMessageHeader(InternalConnectionDebugger.java:113) ... 29 common frames omitted Caused by: com.mongodb.MongoInternalException: The reply message length 1936613746 is greater than the maximum message length 48000000 at com.mongodb.internal.connection.MessageHeader.(MessageHeader.java:47) ... 28 common frames omitted