yuemenglong opened a new issue, #880: URL: https://github.com/apache/rocketmq-clients/issues/880
### Before Creating the Bug Report - [X] I found a bug, not just asking a question, which should be created in [GitHub Discussions](https://github.com/apache/rocketmq-clients/discussions). - [X] I have searched the [GitHub Issues](https://github.com/apache/rocketmq-clients/issues) and [GitHub Discussions](https://github.com/apache/rocketmq-clients/discussions) of this repository and believe that this is not a duplicate. - [X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ. ### Programming Language of the Client Node.js ### Runtime Platform Environment windows 11 ### RocketMQ Version of the Client/Server 5.1.4 ### Run or Compiler Version jdk11 ### Describe the Bug 我使用nodejs的客户端连接服务器 nodejs客户端版本为:^1.0.0 服务器版本为:5.1.4 代码为: const simpleConsumer = new SimpleConsumer({ consumerGroup: "testGroup", endpoints: config.mqUrl, subscriptions: new Map<string, string>().set("testTopic", '*') }); simpleConsumer.startup(); 客户端报错为: Error: Startup the rocketmq client failed, clientId=LAPTOP-UT4L3S7K@12320@0@m4ilcoi3, error=Error: 14 UNAVAILABLE: Connection dropped at SimpleConsumer.startup (D:\workspace\hitravel\lcdp\low-code-script-server\node_modules\rocketmq-client-nodejs\src\client\BaseClient.ts:116:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at start (D:\workspace\hitravel\lcdp\low-code-script-server\src\index.ts:81:3) { cause: Error: 14 UNAVAILABLE: Connection dropped at callErrorFromStatus (D:\workspace\hitravel\lcdp\low-code-script-server\node_modules\@grpc\grpc-js\src\call.ts:82:17) at Object.onReceiveStatus (D:\workspace\hitravel\lcdp\low-code-script-server\node_modules\@grpc\grpc-js\src\client.ts:360:55) at Object.onReceiveStatus (D:\workspace\hitravel\lcdp\low-code-script-server\node_modules\@grpc\grpc-js\src\client-interceptors.ts:458:34) at Object.onReceiveStatus (D:\workspace\hitravel\lcdp\low-code-script-server\node_modules\@grpc\grpc-js\src\client-interceptors.ts:419:48) at <anonymous> (D:\workspace\hitravel\lcdp\low-code-script-server\node_modules\@grpc\grpc-js\src\resolving-call.ts:163:24) at process.processTicksAndRejections (node:internal/process/task_queues:77:11) for call at at ServiceClientImpl.makeUnaryRequest (D:\workspace\hitravel\lcdp\low-code-script-server\node_modules\@grpc\grpc-js\src\client.ts:325:42) at ServiceClientImpl.queryRoute (D:\workspace\hitravel\lcdp\low-code-script-server\node_modules\@grpc\grpc-js\src\make-client.ts:189:15) at <anonymous> (D:\workspace\hitravel\lcdp\low-code-script-server\node_modules\rocketmq-client-nodejs\src\client\RpcClient.ts:90:14) at new Promise (<anonymous>) at RpcClient.queryRoute (D:\workspace\hitravel\lcdp\low-code-script-server\node_modules\rocketmq-client-nodejs\src\client\RpcClient.ts:89:12) at RpcClientManager.queryRoute (D:\workspace\hitravel\lcdp\low-code-script-server\node_modules\rocketmq-client-nodejs\src\client\RpcClientManager.ts:87:28) at SimpleConsumer.#fetchTopicRoute (D:\workspace\hitravel\lcdp\low-code-script-server\node_modules\rocketmq-client-nodejs\src\client\BaseClient.ts:227:50) at SimpleConsumer.updateRoutes (D:\workspace\hitravel\lcdp\low-code-script-server\node_modules\rocketmq-client-nodejs\src\client\BaseClient.ts:210:34) at SimpleConsumer.#startup (D:\workspace\hitravel\lcdp\low-code-script-server\node_modules\rocketmq-client-nodejs\src\client\BaseClient.ts:126:16) at SimpleConsumer.startup (D:\workspace\hitravel\lcdp\low-code-script-server\node_modules\rocketmq-client-nodejs\src\client\BaseClient.ts:114:26) { code: 14, details: 'Connection dropped', metadata: Metadata { internalRepr: Map(0) {}, options: {} } } } 服务端报错为: 2024-12-10 22:51:26 ERROR NettyServerCodecThread_5 - decode exception, 172.28.32.1:12081 io.netty.handler.codec.TooLongFrameException: Adjusted frame length exceeds 16777216: 1347569956 - discarded at io.netty.handler.codec.LengthFieldBasedFrameDecoder.fail(LengthFieldBasedFrameDecoder.java:503) at io.netty.handler.codec.LengthFieldBasedFrameDecoder.failIfNecessary(LengthFieldBasedFrameDecoder.java:489) at io.netty.handler.codec.LengthFieldBasedFrameDecoder.exceededFrameLength(LengthFieldBasedFrameDecoder.java:376) at io.netty.handler.codec.LengthFieldBasedFrameDecoder.decode(LengthFieldBasedFrameDecoder.java:419) at org.apache.rocketmq.remoting.netty.NettyDecoder.decode(NettyDecoder.java:44) at io.netty.handler.codec.LengthFieldBasedFrameDecoder.decode(LengthFieldBasedFrameDecoder.java:332) at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:507) at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:446) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276) 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 org.apache.rocketmq.remoting.netty.NettyRemotingServer$TlsModeHandler.channelRead0(NettyRemotingServer.java:538) at org.apache.rocketmq.remoting.netty.NettyRemotingServer$TlsModeHandler.channelRead0(NettyRemotingServer.java:485) 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.handler.codec.ByteToMessageDecoder.handlerRemoved(ByteToMessageDecoder.java:253) at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:514) at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:446) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:61) at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:370) at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at java.lang.Thread.run(Thread.java:750) ### Steps to Reproduce . ### What Did You Expect to See? . ### What Did You See Instead? . ### Additional Context 同样的环境,使用java客户端连接正常 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@rocketmq.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org