beiqiu opened a new issue, #703:
URL: https://github.com/apache/rocketmq-spring/issues/703

   application.properties 里面没有参数可以配置连接超时的,辛苦告知和改进下,谢谢。
   
   
   org.springframework.context.ApplicationContextException: Failed to start 
bean 
'org.apache.rocketmq.spring.annotation.RocketMQMessageListenerBeanPostProcessor'
        at 
org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:326)
        at 
org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:510)
        at java.base/java.lang.Iterable.forEach(Iterable.java:75)
        at 
org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:295)
        at 
org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:240)
        at 
org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:1006)
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:630)
        at 
org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
        at 
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
        at 
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
        at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
        at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
        at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
        at 
vip.longsong.starmap.app.StarMapAppApplication.main(StarMapAppApplication.java:12)
   Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: 
org.apache.rocketmq.remoting.exception.RemotingTimeoutException: wait response 
on the channel 
<MQ_INST_1132135488558828_BX221y4r.cn-hangzhou.mq.aliyuncs.com/47.97.99.104:80> 
timeout, 2889(ms)
        at 
org.apache.rocketmq.spring.support.RocketMQMessageListenerContainerRegistrar.startContainer(RocketMQMessageListenerContainerRegistrar.java:117)
        at 
org.apache.rocketmq.spring.annotation.RocketMQMessageListenerBeanPostProcessor.start(RocketMQMessageListenerBeanPostProcessor.java:73)
        at 
org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:323)
        ... 13 common frames omitted
   Caused by: java.lang.IllegalStateException: 
org.apache.rocketmq.remoting.exception.RemotingTimeoutException: wait response 
on the channel 
<MQ_INST_1132135488558828_BX221y4r.cn-hangzhou.mq.aliyuncs.com/47.97.99.104:80> 
timeout, 2889(ms)
        at 
org.apache.rocketmq.client.impl.factory.MQClientInstance.updateTopicRouteInfoFromNameServer(MQClientInstance.java:843)
        at 
org.apache.rocketmq.client.impl.factory.MQClientInstance.updateTopicRouteInfoFromNameServer(MQClientInstance.java:574)
        at 
org.apache.rocketmq.client.impl.consumer.DefaultMQPushConsumerImpl.updateTopicSubscribeInfoWhenSubscriptionChanged(DefaultMQPushConsumerImpl.java:1237)
        at 
org.apache.rocketmq.client.impl.consumer.DefaultMQPushConsumerImpl.start(DefaultMQPushConsumerImpl.java:999)
        at 
org.apache.rocketmq.client.consumer.DefaultMQPushConsumer.start(DefaultMQPushConsumer.java:735)
        at 
org.apache.rocketmq.spring.support.DefaultRocketMQListenerContainer.start(DefaultRocketMQListenerContainer.java:353)
        at 
org.apache.rocketmq.spring.support.RocketMQMessageListenerContainerRegistrar.startContainer(RocketMQMessageListenerContainerRegistrar.java:114)
        ... 15 common frames omitted
   Caused by: org.apache.rocketmq.remoting.exception.RemotingTimeoutException: 
wait response on the channel 
<MQ_INST_1132135488558828_BX221y4r.cn-hangzhou.mq.aliyuncs.com/47.97.99.104:80> 
timeout, 2889(ms)
        at 
org.apache.rocketmq.remoting.netty.NettyRemotingAbstract.invokeSyncImpl(NettyRemotingAbstract.java:504)
        at 
org.apache.rocketmq.remoting.netty.NettyRemotingClient.invokeSync(NettyRemotingClient.java:555)
        at 
org.apache.rocketmq.client.impl.MQClientAPIImpl.getTopicRouteInfoFromNameServer(MQClientAPIImpl.java:2030)
        at 
org.apache.rocketmq.client.impl.MQClientAPIImpl.getTopicRouteInfoFromNameServer(MQClientAPIImpl.java:2021)
        at 
org.apache.rocketmq.client.impl.factory.MQClientInstance.updateTopicRouteInfoFromNameServer(MQClientInstance.java:782)
        ... 21 common frames omitted


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

Reply via email to