dubbo-Failed to invoke the method

dubbo-Failed to invoke the method

com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method findAll in the service com.XXX.sellergoods.service.BrandService. Tried 3 times of the providers [192.168.17.44:20881] (1/1) from the registry 192.168.37.128:2181 on the consumer 192.168.17.44 using the dubbo version 2.8.4. Last error is: Invoke remote method timeout. method: findAll, provider: dubbo://192.168.17.44:20881/com.XXX.sellergoods.service.BrandService?anyhost=true&application=XXX-manager-web&check=false&dubbo=2.8.4&generic=false&interface=com.XXX.sellergoods.service.BrandService&methods=findAll&pid=6212&revision=0.0.1-SNAPSHOT&side=consumer×tamp=1533190937248, cause: Waiting server-side response timeout. start time: 2018-08-02 14:22:19.742, end time: 2018-08-02 14:22:20.743, client elapsed: 0 ms, server elapsed: 1001 ms, timeout: 1000 ms, request: Request [id=2, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=findAll, parameterTypes=[], arguments=[], attachments={path=com.XXX.sellergoods.service.BrandService, interface=com.XXX.sellergoods.service.BrandService, version=0.0.0}]], channel: /192.168.17.44:57838 -> /192.168.17.44:20881
com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:101)
com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:227)
com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:72)
com.alibaba.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:52)
com.alibaba.dubbo.common.bytecode.proxy0.findAll(proxy0.java)
com.XXX.manager.controller.BrandController.findAll(BrandController.java:21)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:483)
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:222)
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:814)
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:737)
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:969)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:860)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:845)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  •  

检查Zookeeper管理中心,生产者和消费者都存在

检查pojo层代码,都已经实现了序列化接口

检查数据库配置文件,发现密码写错…好吧too young too simple

你可能感兴趣的:(java)