You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "fuyuanwu (via GitHub)" <gi...@apache.org> on 2025/03/28 08:32:24 UTC

[I] [Bug] 调用sendAndReceive()时,报org.springframework.messaging.MessagingException: CODE: 10006 [rocketmq]

fuyuanwu opened a new issue, #9292:
URL: https://github.com/apache/rocketmq/issues/9292

   ### 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/discussions).
   
   - [x] I have searched the [GitHub Issues](https://github.com/apache/rocketmq/issues) and [GitHub Discussions](https://github.com/apache/rocketmq/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.
   
   
   ### Runtime platform environment
   
   win11
   
   ### RocketMQ version
   
   5.3.1
   
   ### JDK Version
   
   1.8
   
   ### Describe the Bug
   
   调用sendAndReceive()时,报org.springframework.messaging.MessagingException: CODE: 10006.
   原因是5.3.1中添加了如下代码引发` requestResponseFuture.acquireCountDownLatch();`
   
   https://github.com/apache/rocketmq/blob/b122c8109d62d7dbdacbb36f2b9c9efa49f9b859/client/src/main/java/org/apache/rocketmq/client/impl/producer/DefaultMQProducerImpl.java#L1582
   
   ```
   Caused by: org.springframework.messaging.MessagingException: CODE: 10006  DESC: send request message to <dms__process_edit_after__contract> OK, but wait reply message timeout, 10000 ms.; nested exception is org.apache.rocketmq.client.exception.RequestTimeoutException: CODE: 10006  DESC: send request message to <dms__process_edit_after__contract> OK, but wait reply message timeout, 10000 ms.
   	at org.apache.rocketmq.spring.core.RocketMQTemplate.sendAndReceive(RocketMQTemplate.java:253) ~[rocketmq-spring-boot-2.3.3.jar:2.3.3]
   	at org.apache.rocketmq.spring.core.RocketMQTemplate.sendAndReceive(RocketMQTemplate.java:269) ~[rocketmq-spring-boot-2.3.3.jar:2.3.3]
   	at org.apache.rocketmq.spring.core.RocketMQTemplate.sendAndReceive(RocketMQTemplate.java:150) ~[rocketmq-spring-boot-2.3.3.jar:2.3.3]
   	at com.desuo.dms.service.mq.RocketMQService.sendAndReceive(RocketMQService.java:32) ~[classes/:na]
   	... 135 common frames omitted
   Caused by: org.apache.rocketmq.client.exception.RequestTimeoutException: CODE: 10006  DESC: send request message to <dms__process_edit_after__contract> OK, but wait reply message timeout, 10000 ms.
   	at org.apache.rocketmq.client.impl.producer.DefaultMQProducerImpl.waitResponse(DefaultMQProducerImpl.java:1721) ~[rocketmq-client-5.3.1.jar:5.3.1]
   	at org.apache.rocketmq.client.impl.producer.DefaultMQProducerImpl.request(DefaultMQProducerImpl.java:1593) ~[rocketmq-client-5.3.1.jar:5.3.1]
   	at org.apache.rocketmq.client.producer.DefaultMQProducer.request(DefaultMQProducer.java:794) ~[rocketmq-client-5.3.1.jar:5.3.1]
   	at org.apache.rocketmq.spring.core.RocketMQTemplate.sendAndReceive(RocketMQTemplate.java:246) ~[rocketmq-spring-boot-2.3.3.jar:2.3.3]
   	... 138 common frames omitted
   ```
   
   ### Steps to Reproduce
   
   /
   
   ### What Did You Expect to See?
   
   /
   
   ### What Did You See Instead?
   
   /
   
   ### Additional Context
   
   _No response_


-- 
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


Re: [I] [Bug] 调用sendAndReceive()时,报org.springframework.messaging.MessagingException: CODE: 10006 [rocketmq]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9292:
URL: https://github.com/apache/rocketmq/issues/9292#issuecomment-5124794717

   This issue was closed because it has been inactive for 3 days since being marked as stale.


-- 
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


Re: [I] [Bug] 调用sendAndReceive()时,报org.springframework.messaging.MessagingException: CODE: 10006 [rocketmq]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9292:
URL: https://github.com/apache/rocketmq/issues/9292#issuecomment-5081209867

   This issue is stale because it has been open for 365 days with no activity. It will be closed in 3 days if no further activity occurs.


-- 
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


Re: [I] [Bug] 调用sendAndReceive()时,报org.springframework.messaging.MessagingException: CODE: 10006 [rocketmq]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #9292: [Bug] 调用sendAndReceive()时,报org.springframework.messaging.MessagingException: CODE: 10006
URL: https://github.com/apache/rocketmq/issues/9292


-- 
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


Re: [I] [Bug] 调用sendAndReceive()时,报org.springframework.messaging.MessagingException: CODE: 10006 [rocketmq]

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

   同样问题 5.3.2 版本调用出现这个问题
   


-- 
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


Re: [I] [Bug] 调用sendAndReceive()时,报org.springframework.messaging.MessagingException: CODE: 10006 [rocketmq]

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

   发消息用的哪个版本的客户端?


-- 
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


Re: [I] [Bug] 调用sendAndReceive()时,报org.springframework.messaging.MessagingException: CODE: 10006 [rocketmq]

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

    同样问题 5.3.3 版本调用出现这个问题
   rocketmq-spring 中 运行  rocketmq-produce-demo 一样的,切回到 5.3.0就没有报错了


-- 
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