Did you set the name server address? On Tue, Mar 13, 2018 at 11:39 AM, Kailun Pi <kailu...@hotmail.com> wrote:
> [2018-03-12 20:39:30.012] ERROR Unexpected error occurred in scheduled > task. > java.lang.RuntimeException: > org.apache.rocketmq.remoting.exception.RemotingConnectException: > connect to <null> failed > at com.google.common.base.Throwables.propagate( > Throwables.java:160) > at org.apache.rocketmq.console.task.DashboardCollectTask. > collectTopic(DashboardCollectTask.java:156) > at org.apache.rocketmq.console.task.DashboardCollectTask$$ > FastClassBySpringCGLIB$$c818b8cd.invoke(<generated>) > at org.springframework.cglib.proxy.MethodProxy.invoke( > MethodProxy.java:204) > at org.springframework.aop.framework.CglibAopProxy$ > CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:721) > at org.springframework.aop.framework.ReflectiveMethodInvocation. > proceed(ReflectiveMethodInvocation.java:157) > at org.springframework.aop.aspectj.MethodInvocationProceedingJoin > Point.proceed(MethodInvocationProceedingJoinPoint.java:85) > at org.apache.rocketmq.console.aspect.admin.MQAdminAspect. > aroundMQAdminMethod(MQAdminAspect.java:63) > at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.springframework.aop.aspectj.AbstractAspectJAdvice. > invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:629) > at org.springframework.aop.aspectj.AbstractAspectJAdvice. > invokeAdviceMethod(AbstractAspectJAdvice.java:618) > at org.springframework.aop.aspectj.AspectJAroundAdvice. > invoke(AspectJAroundAdvice.java:70) > at org.springframework.aop.framework.ReflectiveMethodInvocation. > proceed(ReflectiveMethodInvocation.java:168) > at org.springframework.aop.interceptor. > ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) > at org.springframework.aop.framework.ReflectiveMethodInvocation. > proceed(ReflectiveMethodInvocation.java:179) > at org.springframework.aop.framework.CglibAopProxy$ > DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:656) > at org.apache.rocketmq.console.task.DashboardCollectTask$$ > EnhancerBySpringCGLIB$$9061ab13.collectTopic(<generated>) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke( > NativeMethodAccessorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.springframework.scheduling.support. > ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:65) > at org.springframework.scheduling.support. > DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnabl > e.java:54) > at org.springframework.scheduling.concurrent. > ReschedulingRunnable.run(ReschedulingRunnable.java:81) > at java.util.concurrent.Executors$RunnableAdapter. > call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at java.util.concurrent.ScheduledThreadPoolExecutor$ > ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) > at java.util.concurrent.ScheduledThreadPoolExecutor$ > ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) > at java.util.concurrent.ThreadPoolExecutor.runWorker( > ThreadPoolExecutor.java:1142) > at java.util.concurrent.ThreadPoolExecutor$Worker.run( > ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > Caused by: org.apache.rocketmq.remoting.exception.RemotingConnectException: > connect to <null> failed > at org.apache.rocketmq.remoting.netty.NettyRemotingClient. > invokeSync(NettyRemotingClient.java:357) > at org.apache.rocketmq.client.impl.MQClientAPIImpl. > getTopicListFromNameServer(MQClientAPIImpl.java:1219) > at org.apache.rocketmq.tools.admin.DefaultMQAdminExtImpl. > fetchAllTopicList(DefaultMQAdminExtImpl.java:220) > at org.apache.rocketmq.tools.admin.DefaultMQAdminExt. > fetchAllTopicList(DefaultMQAdminExt.java:183) > at org.apache.rocketmq.console.service.client.MQAdminExtImpl. > fetchAllTopicList(MQAdminExtImpl.java:147) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke( > NativeMethodAccessorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.springframework.aop.support.AopUtils. > invokeJoinpointUsingReflection(AopUtils.java:333) > at org.springframework.aop.framework.ReflectiveMethodInvocation. > invokeJoinpoint(ReflectiveMethodInvocation.java:190) > at org.springframework.aop.framework.ReflectiveMethodInvocation. > proceed(ReflectiveMethodInvocation.java:157) > at org.springframework.aop.aspectj.MethodInvocationProceedingJoin > Point.proceed(MethodInvocationProceedingJoinPoint.java:85) > at org.apache.rocketmq.console.aspect.admin.MQAdminAspect. > aroundMQAdminMethod(MQAdminAspect.java:63) > at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.springframework.aop.aspectj.AbstractAspectJAdvice. > invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:629) > at org.springframework.aop.aspectj.AbstractAspectJAdvice. > invokeAdviceMethod(AbstractAspectJAdvice.java:618) > at org.springframework.aop.aspectj.AspectJAroundAdvice. > invoke(AspectJAroundAdvice.java:70) > at org.springframework.aop.framework.ReflectiveMethodInvocation. > proceed(ReflectiveMethodInvocation.java:168) > at org.springframework.aop.interceptor. > ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) > at org.springframework.aop.framework.ReflectiveMethodInvocation. > proceed(ReflectiveMethodInvocation.java:179) > at org.springframework.aop.framework.JdkDynamicAopProxy. > invoke(JdkDynamicAopProxy.java:213) > at com.sun.proxy.$Proxy71.fetchAllTopicList(Unknown Source) > at org.apache.rocketmq.console.task.DashboardCollectTask. > collectTopic(DashboardCollectTask.java:79) > ... 31 common frames omitted > > > Log shown above. Thanks for the help. > > Best, > Kailun > From: yukon<mailto:yu...@apache.org> > Sent: Monday, March 12, 2018 11:23 PM > To: dev<mailto:dev@rocketmq.apache.org> > Subject: Re: GSOC - ROCKETMQ-380 > > Hi, could you please provide any log and the docker network model? > > On Tue, Mar 13, 2018 at 5:30 AM, p...@husky.neu.edu <p...@husky.neu.edu> > wrote: > > > Hi Yukon, > > > > This is Kailun. > > > > I met a problem as I go through the console. > > > > In quick start, the console run in docker cannot connect to name server. > > > > Any idea what the problem is? Thanks for the help. > > > > Best, > > Kailun > > > >