You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/12/19 05:58:37 UTC

[GitHub] [rocketmq-clients] kunlun2015 opened a new issue, #317: php sdk 是不是不能用,demo报错 failed to connect to all addresses

kunlun2015 opened a new issue, #317:
URL: https://github.com/apache/rocketmq-clients/issues/317

   给出的demo producer的时候报 failed to connect to all addresses
   
   mq 服务报错如下:
   2022-12-19 10:58:00 INFO NettyServerCodecThread_2 - NETTY SERVER PIPELINE: channelInactive, the channel[192.168.30.250:53000]
   2022-12-19 10:58:00 INFO NettyServerCodecThread_2 - NETTY SERVER PIPELINE: channelUnregistered, the channel[192.168.30.250:53000]
   2022-12-19 10:58:21 INFO NettyServerCodecThread_4 - NETTY SERVER PIPELINE: channelRegistered 192.168.30.250:53009
   2022-12-19 10:58:21 INFO NettyServerCodecThread_4 - NETTY SERVER PIPELINE: channelActive, the channel[192.168.30.250:53009]
   2022-12-19 10:58:22 ERROR NettyServerCodecThread_4 - decode exception, 192.168.30.250:53009
   io.netty.handler.codec.TooLongFrameException: Adjusted frame length exceeds 16777216: 1347569956 - discarded
           at io.netty.handler.codec.LengthFieldBasedFrameDecoder.fail(LengthFieldBasedFrameDecoder.java:503) [netty-all-4.1.65.Final.jar:4.1.65.Final]
           at io.netty.handler.codec.LengthFieldBasedFrameDecoder.failIfNecessary(LengthFieldBasedFrameDecoder.java:489) [netty-all-4.1.65.Final.jar:4.1.65.Final]
           at io.netty.handler.codec.LengthFieldBasedFrameDecoder.exceededFrameLength(LengthFieldBasedFrameDecoder.java:376) [netty-all-4.1.65.Final.jar:4.1.65.Final]
           at io.netty.handler.codec.LengthFieldBasedFrameDecoder.decode(LengthFieldBasedFrameDecoder.java:419) [netty-all-4.1.65.Final.jar:4.1.65.Final]
           at org.apache.rocketmq.remoting.netty.NettyDecoder.decode(NettyDecoder.java:43) ~[rocketmq-remoting-4.9.3-sohu.jar:4.9.3-sohu]
           at io.netty.handler.codec.LengthFieldBasedFrameDecoder.decode(LengthFieldBasedFrameDecoder.java:332) [netty-all-4.1.65.Final.jar:4.1.65.Final]
           at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:507) [netty-all-4.1.65.Final.jar:4.1.65.Final]
           at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:446) [netty-all-4.1.65.Final.jar:4.1.65.Final]
           at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276) [netty-all-4.1.65.Final.jar:4.1.65.Final]
           at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-all-4.1.65.Final.jar:4.1.65.Final]
           at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [netty-all-4.1.65.Final.jar:4.1.65.Final]
           at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [netty-all-4.1.65.Final.jar:4.1.65.Final]
           at org.apache.rocketmq.remoting.netty.NettyRemotingServer$HandshakeHandler.channelRead0(NettyRemotingServer.java:451) [rocketmq-remoting-4.9.3-sohu.jar:4.9.3-sohu]
           at org.apache.rocketmq.remoting.netty.NettyRemotingServer$HandshakeHandler.channelRead0(NettyRemotingServer.java:392) [rocketmq-remoting-4.9.3-sohu.jar:4.9.3-sohu]
           at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) [netty-all-4.1.65.Final.jar:4.1.65.Final]
           at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [netty-all-4.1.65.Final.jar:4.1.65.Final]
           at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:61) [netty-all-4.1.65.Final.jar:4.1.65.Final]
           at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:370) [netty-all-4.1.65.Final.jar:4.1.65.Final]
           at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66) [netty-all-4.1.65.Final.jar:4.1.65.Final]
           at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) [netty-all-4.1.65.Final.jar:4.1.65.Final]
           at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-all-4.1.65.Final.jar:4.1.65.Final]
           at java.lang.Thread.run(Thread.java:748) [na:1.8.0_202]
   2022-12-19 10:58:22 INFO NettyServerNIOSelector_3_3 - closeChannel: close the connection to remote address[192.168.30.250:53009] result: true


-- 
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-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq-clients] aaron-ai commented on issue #317: php sdk 是不是不能用,demo报错 failed to connect to all addresses

Posted by GitBox <gi...@apache.org>.
aaron-ai commented on issue #317:
URL: https://github.com/apache/rocketmq-clients/issues/317#issuecomment-1357253508

   Yes. PHP SDK is still work-in-progress.


-- 
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-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq-clients] phoema commented on issue #317: php sdk 是不是不能用,demo报错 failed to connect to all addresses

Posted by "phoema (via GitHub)" <gi...@apache.org>.
phoema commented on issue #317:
URL: https://github.com/apache/rocketmq-clients/issues/317#issuecomment-1537042160

   php sdk可以用了吗?


-- 
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-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [rocketmq-clients] aaron-ai closed issue #317: php sdk 是不是不能用,demo报错 failed to connect to all addresses

Posted by GitBox <gi...@apache.org>.
aaron-ai closed issue #317: php sdk 是不是不能用,demo报错 failed to connect to all addresses
URL: https://github.com/apache/rocketmq-clients/issues/317


-- 
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-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org