开发者社区> 问答> 正文

otter 启动失败

在manager->机器管理->node管理界面显示未启动(之前都是正常的,数据也能正常同步),后台报错日志如下:

2015-04-28 09:39:16.124 [main] ERROR c.a.o.s.c.core.impl.DefaultCommunicationClientImpl - call[127.0.0.1:1099] , retry[1] com.alibaba.dubbo.rpc.RpcException: Invoke remote method timeout. method: acceptEvent, provider: dubbo://127.0.0.1:1099/endpoint?acceptEvent.timeout=50000&client=netty&codec=dubbo&connections=30&iothreads=4&lazy=true&serialization=java&threads=50, cause: Waiting server-side response timeout by scan timer. start time: 2015-04-28 09:38:26.093, end time: 2015-04-28 09:39:16.104, client elapsed: 1 ms, server elapsed: 50009 ms, timeout: 50000 ms, request: Request [id=1, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=acceptEvent, parameterTypes=[class com.alibaba.otter.shared.communication.core.model.Event], arguments=[FindTaskEvent[nid=1,type=findTask]], attachments={path=endpoint, version=0.0.0}]], channel: /10.0.0.232:41123 -> /54.169.162.157:1099 at com.alibaba.dubbo.rpc.protocol.dubbo.DubboInvoker.doInvoke(DubboInvoker.java:99) ~[dubbo-2.5.3.jar:2.5.3] at com.alibaba.dubbo.rpc.protocol.AbstractInvoker.invoke(AbstractInvoker.java:144) ~[dubbo-2.5.3.jar:2.5.3] at com.alibaba.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:52) ~[dubbo-2.5.3.jar:2.5.3] at com.alibaba.dubbo.common.bytecode.proxy0.acceptEvent(proxy0.java) ~[na:2.5.3] at com.alibaba.otter.shared.communication.core.impl.dubbo.DubboCommunicationConnection.call(DubboCommunicationConnection.java:45) ~[shared.communication-4.2.11.jar:na] at com.alibaba.otter.shared.communication.core.impl.DefaultCommunicationClientImpl.call(DefaultCommunicationClientImpl.java:96) ~[shared.communication-4.2.11.jar:na] at com.alibaba.otter.node.common.communication.NodeCommmunicationClient.callManager(NodeCommmunicationClient.java:74) [node.common-4.2.11.jar:na] at com.alibaba.otter.node.common.config.impl.NodeTaskServiceImpl.initNodeTask(NodeTaskServiceImpl.java:96) [node.common-4.2.11.jar:na] at com.alibaba.otter.node.common.config.impl.NodeTaskServiceImpl.afterPropertiesSet(NodeTaskServiceImpl.java:71) [node.common-4.2.11.jar:na] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByName(AbstractAutowireCapableBeanFactory.java:1136) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) [spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469) [spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:139) [spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:83) [spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE] at com.alibaba.otter.node.etl.OtterContextLocator$1.(OtterContextLocator.java:39) [node.etl-4.2.11.jar:na] at com.alibaba.otter.node.etl.OtterContextLocator.(OtterContextLocator.java:39) [node.etl-4.2.11.jar:na] at com.alibaba.otter.node.deployer.OtterLauncher.main(OtterLauncher.java:39) [node.deployer-4.2.11.jar:na] Caused by: com.alibaba.dubbo.remoting.TimeoutException: Waiting server-side response timeout by scan timer. start time: 2015-04-28 09:38:26.093, end time: 2015-04-28 09:39:16.104, client elapsed: 1 ms, server elapsed: 50009 ms, timeout: 50000 ms, request: Request [id=1, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=acceptEvent, parameterTypes=[class com.alibaba.otter.shared.communication.core.model.Event], arguments=[FindTaskEvent[nid=1,type=findTask]], attachments={path=endpoint, version=0.0.0}]], channel: /10.0.0.232:41123 -> /54.169.162.157:1099 at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.returnFromResponse(DefaultFuture.java:188) ~[dubbo-2.5.3.jar:2.5.3] at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:110) ~[dubbo-2.5.3.jar:2.5.3] at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:84) ~[dubbo-2.5.3.jar:2.5.3] at com.alibaba.dubbo.rpc.protocol.dubbo.DubboInvoker.doInvoke(DubboInvoker.java:96) ~[dubbo-2.5.3.jar:2.5.3] ... 32 common frames omitted 2015-04-28 09:39:41.904 [DubboClientHandler-127.0.0.1:1099-thread-2] WARN c.alibaba.dubbo.remoting.exchange.support.DefaultFuture - [DUBBO] The timeout response finally returned at 2015-04-28 09:39:41.904, response Response [id=1, version=null, status=20, event=false, error=null, result=RpcResult [result=[], exception=null]], channel: /10.0.0.232:41123 -> /54.169.162.157:1099, dubbo version: 2.5.3, current host: 54.169.162.157

原提问者GitHub用户 ljmsxcd

展开
收起
大圣东游 2023-06-21 17:21:50 196 0
2 条回答
写回答
取消 提交回答
  • 检查下node节点的网络,如果node界面显示为未启动,说明node节点和zookeeper之间的网络出现了中断

    原回答者GitHub用户agapple

    2023-06-21 18:29:30
    赞同 展开评论 打赏
  • 北京阿里云ACE会长

    您的Otter启动失败,管理界面显示未启动,后台报错日志提示"Invoke remote method timeout. method: acceptEvent"。这可能是由于Otter节点无法连接到管理服务器或管理服务器响应超时导致的。

    为了解决这个问题,您可以尝试以下解决方案:

    检查网络连接:检查Otter节点和管理服务器之间的网络连接是否正常。确保Otter节点能够正常连接到管理服务器,并且管理服务器能够响应请求。

    检查防火墙设置:如果您的系统中启用了防火墙,可能会阻止Otter节点与管理服务器之间的通信。您可以尝试关闭防火墙或者修改防火墙设置,以确保Otter节点能够与管理服务器正常通信。

    检查节点配置:检查Otter节点的配置是否正确。确保节点配置中指定的管理服务器地址和端口号正确,并且Otter节点能够正常连接到管理服务器。

    检查管理服务器状态:检查管理服务器的状态,确保管理服务器正常运行并且能够响应请求。如果管理服务器出现故障,您可以尝试重启管理服务器或者重新安装管理服务器。

    2023-06-21 17:58:42
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载