org.springframework.web.util.NestedServletException: Request processing failed; nested exception is com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method addUser in the service com.wqc.dubbo.service.AddUserDubboService. Tried 3 times of the providers [192.168.18.1:20880] (1/1) from the registry 192.168.0.108:2181 on the consumer 192.168.18.1 using the dubbo version 2.5.4. Last error is: Invoke remote method timeout. method: addUser, provider: dubbo://192.168.18.1:20880/com.wqc.dubbo.service.AddUserDubboService?anyhost=true&application=myconsumer&check=false&dubbo=2.5.4&generic=false&interface=com.wqc.dubbo.service.AddUserDubboService&methods=addUser&pid=12528&revision=0.0.1-SNAPSHOT&side=consumer&timeout=10000×tamp=1581422713401, cause: Waiting server-side response timeout by scan timer. start time: 2020-02-11 20:23:59.863, end time: 2020-02-11 20:24:09.864, client elapsed: 1 ms, server elapsed: 10000 ms, timeout: 10000 ms, request: Request [id=11, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=addUser, parameterTypes=[class com.wqc.pojo.Users], arguments=[com.wqc.pojo.Users@13e1dc08], attachments={path=com.wqc.dubbo.service.AddUserDubboService, interface=com.wqc.dubbo.service.AddUserDubboService, version=0.0.0, timeout=10000}]], channel: /192.168.18.1:59122 -> /192.168.18.1:20880
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:978)
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:868)
javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
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:88)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method addUser in the service com.wqc.dubbo.service.AddUserDubboService. Tried 3 times of the providers [192.168.18.1:20880] (1/1) from the registry 192.168.0.108:2181 on the consumer 192.168.18.1 using the dubbo version 2.5.4. Last error is: Invoke remote method timeout. method: addUser, provider: dubbo://192.168.18.1:20880/com.wqc.dubbo.service.AddUserDubboService?anyhost=true&application=myconsumer&check=false&dubbo=2.5.4&generic=false&interface=com.wqc.dubbo.service.AddUserDubboService&methods=addUser&pid=12528&revision=0.0.1-SNAPSHOT&side=consumer&timeout=10000×tamp=1581422713401, cause: Waiting server-side response timeout by scan timer. start time: 2020-02-11 20:23:59.863, end time: 2020-02-11 20:24:09.864, client elapsed: 1 ms, server elapsed: 10000 ms, timeout: 10000 ms, request: Request [id=11, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=addUser, parameterTypes=[class com.wqc.pojo.Users], arguments=[com.wqc.pojo.Users@13e1dc08], attachments={path=com.wqc.dubbo.service.AddUserDubboService, interface=com.wqc.dubbo.service.AddUserDubboService, version=0.0.0, timeout=10000}]], channel: /192.168.18.1:59122 -> /192.168.18.1:20880
com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:108)
com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:229)
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.addUser(proxy0.java)
上面是网页反馈的部分提示信息
相关配置反复检查应该没有问题,dubbo-admin查看服务也已经注册了,timeout我也设置了没有用,网上查pojo需要序列化也做了,没有变化。我看到我的dubbo的暴露地址和zookeeper的地址不一样,一个是本地的ipv4,一个是虚拟机的地址,不知道是不是这个问题,拜托老师帮帮忙啦