org.mongodb.driver.connection.debugger","thread":"nioEventLoopGroup-3-2","level":"ERROR","levelVal":40000,"stacktrace":"com.mongodb.internal.connection.debug.MongoDebuggingException: InternalConnectionDebugger runId=2073daac-6ad8-4369-b87f-453f52b42c23 debuggerId=13 messageSequenceNumber=1, t=2021-08-31T11:36:03.522Z, thread=nioEventLoopGroup-3-2,\\u2028Data{openedT=2021-08-31T11:35:48.276Z, openedThreadName=nioEventLoopGroup-3-2, connectionDescription=ConnectionDescription{connectionId=connectionId{localValue:13}, maxWireVersion=7, serverType=SHARD_ROUTER, maxBatchCount=100000, maxDocumentSize=16777216, maxMessageSize=48000000, compressors=[]}, tlsEnabled=false,\\u2028io=IoData{successReads=171, successReadBytes=1221649, msgHeaders=85, msgHeaderMessageLengthBytes=1221633, failReads=0, failReadBytes=0, startNegativeReads=0, failNegativeReads=0, successWrites=86, failWrites=0},\\u2028streamOperations=OperationData{lastEventIdx=515,\\u2028history=[\\u2028504:OperationEvent{mode=a, code=READ, type=B, attachments=[a{IoData{successReads=167, successReadBytes=1190278, msgHeaders=84, msgHeaderMessageLengthBytes=1205875, failReads=0, failReadBytes=0, startNegativeReads=0, failNegativeReads=0, successWrites=84, failWrites=0}}]},\\u2028505:OperationEvent{mode=a, code=READ, type=S, attachments=[a{IoData{successReads=168, successReadBytes=1205875, msgHeaders=84, msgHeaderMessageLengthBytes=1205875, failReads=0, failReadBytes=0, startNegativeReads=0, failNegativeReads=0, successWrites=84, failWrites=0}}]},\\u2028506:OperationEvent{mode=a, code=WRITE, type=B, attachments=[a{IoData{successReads=168, successReadBytes=1205875, msgHeaders=84, msgHeaderMessageLengthBytes=1205875, failReads=0, failReadBytes=0, startNegativeReads=0, failNegativeReads=0, successWrites=84, failWrites=0}}]},\\u2028507:OperationEvent{mode=a, code=WRITE, type=S, attachments=[a{IoData{successReads=168, successReadBytes=1205875, msgHeaders=84, msgHe aderMessageLengthBytes=1205875, failReads=0, failReadBytes=0, startNegativeReads=0, failNegativeReads=0, successWrites=85, failWrites=0}}]},\\u2028508:OperationEvent{mode=a, code=READ, type=B, attachments=[a{IoData{successReads=168, successReadBytes=1205875, msgHeaders=84, msgHeaderMessageLengthBytes=1205875, failReads=0, failReadBytes=0, startNegativeReads=0, failNegativeReads=0, successWrites=85, failWrites=0}}]},\\u2028509:OperationEvent{mode=a, code=READ, type=S, attachments=[a{IoData{successReads=169, successReadBytes=1205891, msgHeaders=84, msgHeaderMessageLengthBytes=1205875, failReads=0, failReadBytes=0, startNegativeReads=0, failNegativeReads=0, successWrites=85, failWrites=0}}]},\\u2028510:OperationEvent{mode=a, code=READ, type=B, attachments=[a{IoData{successReads=169, successReadBytes=1205891, msgHeaders=85, msgHeaderMessageLengthBytes=1221633, failReads=0, failReadBytes=0, startNegativeReads=0, failNegativeReads=0, successWrites=85, failWrites=0}}]},\\u2028511:OperationEvent{mode=a, code=READ, type=S, attachments=[a{IoData{successReads=170, successReadBytes=1221633, msgHeaders=85, msgHeaderMessageLengthBytes=1221633, failReads=0, failReadBytes=0, startNegativeReads=0, failNegativeReads=0, successWrites=85, failWrites=0}}]},\\u2028512:OperationEvent{mode=a, code=WRITE, type=B, attachments=[a{IoData{successReads=170, successReadBytes=1221633, msgHeaders=85, msgHeaderMessageLengthBytes=1221633, failReads=0, failReadBytes=0, startNegativeReads=0, failNegativeReads=0, successWrites=85, failWrites=0}}]},\\u2028513:OperationEvent{mode=a, code=WRITE, type=S, attachments=[a{IoData{successReads=170, successReadBytes=1221633, msgHeaders=85, msgHeaderMessageLengthBytes=1221633, failReads=0, failReadBytes=0, startNegativeReads=0, failNegativeReads=0, successWrites=86, failWrites=0}}]},\\u2028514:OperationEvent{mode=a, code=READ, type=B, attachments=[a{IoData{successReads=170, successReadBytes=1221633, msgHeaders=85, msgHeaderMessageLengthBytes=1221633, failReads=0, failReadBytes=0, startNegativeReads=0, failNegat successWrites=86, failWrites=0}}]},\\u2028515:OperationEvent{mode=a, code=READ, type=S, attachments=[a{IoData{successReads=171, successReadBytes=1221649, msgHeaders=85, msgHeaderMessageLengthBytes=1221633, failReads=0, failReadBytes=0, startNegativeReads=0, failNegativeReads=0, successWrites=86, failWrites=0}}]}\\u2028]},\\u2028internalConnectionOperations=OperationData{lastEventIdx=246,\\u2028history=[\\u2028237:OperationEvent{mode=u, code=DECODE_MESSAGE_HEADER, type=S, attachments=[a{StreamReadPosition{successReadBytes=1174510, msgHeaderMessageLengthBytes=1190262}}, a{MessageHeader{messageLength=15768, requestId=7636941, responseTo=2866, opCode=2013}}]},\\u2028238:OperationEvent{mode=u, code=COMMAND, type=S, attachments=[a{StreamReadPosition{successReadBytes=1190262, msgHeaderMessageLengthBytes=1190262}}, a{CommandMessageData{id=2866, name=getMore, containsPayload=false, responseExpected=true, namespace=posService.$cmd, speculativeAuthenticate=false}}]},\\u2028239:OperationEvent{mode=u, code=COMMAND, type=B, attachments=[a{StreamReadPosition{successReadBytes=1190262, msgHeaderMessageLengthBytes=1190262}}, a{CommandMessageData{id=2869, name=getMore, containsPayload=false, responseExpected=true, namespace=posService.$cmd, speculativeAuthenticate=false}}]},\\u2028240:OperationEvent{mode=u, code=DECODE_MESSAGE_HEADER, type=S, attachments=[a{StreamReadPosition{successReadBytes=1190278, msgHeaderMessageLengthBytes=1205875}}, a{MessageHeader{messageLength=15613, requestId=7636948, responseTo=2869, opCode=2013}}]},\\u2028241:OperationEvent{mode=u, code=COMMAND, type=S, attachments=[a{StreamReadPosition{successReadBytes=1205875, msgHeaderMessageLengthBytes=1205875}}, a{CommandMessageData{id=2869, name=getMore, containsPayload=false, responseExpected=true, namespace=posService.$cmd, speculativeAuthenticate=false}}]},\\u2028242:OperationEvent{mode=u, code=COMMAND, type=B, attachments=[a{StreamReadPosition{successReadBytes=1205875, msgHeaderMessageLengthBytes=1205875}}, a{CommandMessageData{id=2871, name=getMor e, containsPayload=false, responseExpected=true, namespace=posService.$cmd, speculativeAuthenticate=false}}]},\\u2028243:OperationEvent{mode=u, code=DECODE_MESSAGE_HEADER, type=S, attachments=[a{StreamReadPosition{successReadBytes=1205891, msgHeaderMessageLengthBytes=1221633}}, a{MessageHeader{messageLength=15758, requestId=7636954, responseTo=2871, opCode=2013}}]},\\u2028244:OperationEvent{mode=u, code=COMMAND, type=S, attachments=[a{StreamReadPosition{successReadBytes=1221633, msgHeaderMessageLengthBytes=1221633}}, a{CommandMessageData{id=2871, name=getMore, containsPayload=false, responseExpected=true, namespace=posService.$cmd, speculativeAuthenticate=false}}]},\\u2028245:OperationEvent{mode=u, code=COMMAND, type=B, attachments=[a{StreamReadPosition{successReadBytes=1221633, msgHeaderMessageLengthBytes=1221633}}, a{CommandMessageData{id=2873, name=getMore, containsPayload=false, responseExpected=true, namespace=posService.$cmd, speculativeAuthenticate=false}}]},\\u2028246:OperationEvent{mode=u, code=DECODE_MESSAGE_HEADER, type=F, attachments=[a{StreamReadPosition{successReadBytes=1221649, msgHeaderMessageLengthBytes=1221633}}, a{MessageHeader{messageLength=1449487458, requestId=1634300513, responseTo=1852795252, opCode=1530536563}}, a{threadName=nioEventLoopGroup-3-2}, a{com.mongodb.internal.connection.debug.MongoDebuggingException: Detected an invalid reply message header MessageHeader{messageLength=1449487458, requestId=1634300513, responseTo=1852795252, opCode=1530536563}\\u2028\tat com.mongodb.internal.connection.debug.InternalConnectionDebugger.invalidMessageHeader(InternalConnectionDebugger.java:113)\\u2028\tat com.mongodb.internal.connection.MessageHeader.(MessageHeader.java:50)\\u2028\tat com.mongodb.internal.connection.InternalStreamConnection$MessageHeaderCallback.onResult(InternalStreamConnection.java:648)\\u2028\tat com.mongodb.internal.connection.InternalStreamConnection$MessageHeaderCallback.onResult(InternalStreamConnection.java:634)\\u2028\tat com.mongodb.internal.connection.InternalStre amConnection$5.completed(InternalStreamConnection.java:528)\\u2028\tat com.mongodb.internal.connection.InternalStreamConnection$5.completed(InternalStreamConnection.java:525)\\u2028\tat com.mongodb.internal.connection.debug.InternalConnectionDebugger$DebuggableStream$3.completed(InternalConnectionDebugger.java:834)\\u2028\tat com.mongodb.internal.connection.debug.InternalConnectionDebugger$DebuggableStream$3.completed(InternalConnectionDebugger.java:828)\\u2028\tat com.mongodb.connection.netty.NettyStream.readAsync(NettyStream.java:232)\\u2028\tat com.mongodb.connection.netty.NettyStream.handleReadResponse(NettyStream.java:262)\\u2028\tat com.mongodb.connection.netty.NettyStream.access$800(NettyStream.java:69)\\u2028\tat com.mongodb.connection.netty.NettyStream$InboundBufferHandler.channelRead0(NettyStream.java:321)\\u2028\tat com.mongodb.connection.netty.NettyStream$InboundBufferHandler.channelRead0(NettyStream.java:318)\\u2028\tat io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)\\u2028\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)\\u2028\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)\\u2028\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)\\u2028\tat io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)\\u2028\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)\\u2028\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)\\u2028\tat io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)\\u2028\tat io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)\\u2028\tat io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)\\u2028\tat io.netty.channe l.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)\\u2028\tat io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)\\u2028\tat io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)\\u2028\tat io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)\\u2028\tat io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)\\u2028\tat io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\\u2028\tat java.lang.Thread.run(Thread.java:748)\\u2028Caused by: com.mongodb.MongoInternalException: The reply message length 1449487458 is greater than the maximum message length 48000000\\u2028\tat com.mongodb.internal.connection.MessageHeader.(MessageHeader.java:47)\\u2028\t... 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:633) 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:648) at com.mongodb.internal.connection.InternalStreamConnection$MessageHeaderCallback.onResult(InternalStreamConnection.java:634) at com.mongodb.internal.connection.InternalStreamConnection$5.completed(InternalStreamConnection.java:528) at com.mongodb.internal.connection.InternalStreamConnection$5.completed(InternalStreamConnection.java:525) at com.mongodb.internal.connection.debug.InternalConnectionDebugger$DebuggableStream$3.completed(InternalConnectionDebugger.java:834) at com.mongodb.internal.connection.debug.InternalConnectionDebugger$DebuggableStream$3.completed(InternalConnectionDebugger.java:828) 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=1449487458, requestId=1634300513, responseTo=1852795252, opCode=1530536563} at com.mongodb.internal.connection.debug.InternalConnectionDebugger.invalidMessageHeader(InternalConnectionDebugger.java:113) ... 29 common frames omitted Caused by: com.mongodb.MongoInternalException: The reply message length 1449487458 is greater than the maximum message length 48000000 at com.mongodb.internal.connection.MessageHeader.(MessageHeader.java:47) ... 28 common frames omitted\n