开发者社区> 问答> 正文

ONS:send heart beat to broker exception怎么解

咨询下ons的问题:我们应用断网后,网络又恢复了,我们日志里一直在发heart beat 给broker,但是一直连不上。
这个问题怎么解:
错误日志:[2017-05-01 00:02:08,369] ERROR MQClientFactoryScheduledThread - send heart beat to broker exception
com.aliyun.openservices.shade.com.alibaba.rocketmq.remoting.exception.RemotingConnectException: connect to <100.100.24.98:8080> failed

at com.aliyun.openservices.shade.com.alibaba.rocketmq.remoting.netty.NettyRemotingClient.invokeSync(NettyRemotingClient.java:359) ~[biz-pubsvc-service-0.0.1-SNAPSHOT.jar:?]
at com.aliyun.openservices.shade.com.alibaba.rocketmq.client.impl.MQClientAPIImpl.sendHearbeat(MQClientAPIImpl.java:773) ~[biz-pubsvc-service-0.0.1-SNAPSHOT.jar:?]
at com.aliyun.openservices.shade.com.alibaba.rocketmq.client.impl.factory.MQClientInstance.sendHeartbeatToAllBroker(MQClientInstance.java:414) [biz-pubsvc-service-0.0.1-SNAPSHOT.jar:?]
at com.aliyun.openservices.shade.com.alibaba.rocketmq.client.impl.factory.MQClientInstance.sendHeartbeatToAllBrokerWithLock(MQClientInstance.java:329) [biz-pubsvc-service-0.0.1-SNAPSHOT.jar:?]
at com.aliyun.openservices.shade.com.alibaba.rocketmq.client.impl.factory.MQClientInstance$4.run(MQClientInstance.java:205) [biz-pubsvc-service-0.0.1-SNAPSHOT.jar:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [?:1.7.0_17]
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) [?:1.7.0_17]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) [?:1.7.0_17]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [?:1.7.0_17]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.7.0_17]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_17]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_17]
at java.lang.Thread.run(Thread.java:722) [?:1.7.0_17]

[2017-05-01 00:02:08,373] INFO NettyClientWorkerThread_1 - NETTY CLIENT PIPELINE: CLOSE
[2017-05-01 00:02:08,373] INFO NettyClientWorkerThread_1 - eventCloseChannel: the channel[null] has been removed from the channel table before
[2017-05-01 00:02:08,373] INFO NettyClientSelector_1 - closeChannel: close the connection to remote address[] result: true
[2017-05-01 00:02:09,091] WARN MQClientFactoryScheduledThread - createChannel: connect remote host[100.100.24.98:8080] timeout 3000ms, DefaultChannelPromise@60eb27e4(uncancellable)

展开
收起
popeer 2017-05-12 14:42:35 9475 0
1 条回答
写回答
取消 提交回答
  • 向broker发送心跳检查异常
    2019-07-17 21:09:42
    赞同 展开评论 打赏
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Apache Kafka and the Rise of Stream Processing 立即下载
Real-time Platform for Second Look Use Case using Spark and Kafka 立即下载
BUILDING REALTIME DATA PIPELINES WITH KAFKA CONNECT AND SPARK STREAMING 立即下载