dubbo问题
来源:8-11 测试dubbo消费者调用商品服务和订单服务

qq_此生不换_24
2018-06-12
求解:
Waiting server-side response timeout by scan timer.
start time: 2018-06-12 11:03:40.950, end time: 2018-06-12 11:03:41.976, client elapsed: 403 ms,
server elapsed: 622 ms, timeout: 1000 ms, request: Request [id=0, version=2.0.0, twoway=true,
event=false, broken=false, data=RpcInvocation [methodName=getItemCounts, parameterTypes=[class java.lang.String], arguments=[2],
attachments={path=com.agile.item.service.ItemsService, interface=com.agile.item.service.ItemsService, version=0.0.0}]],
channel: /192.168.74.1:64547 -> /192.168.74.1:20880
我电脑 以太网的ip 192.168.74.1 实际ip:应该是192.168.1.43;是不是不应该使用以太网的这个虚拟的ip的。但是为啥会默认使用的虚拟的ip 呢,我如何操作才能解决这个问题
1回答
-
qq_此生不换_24
提问者
2018-06-12
以下是附加的一些bug信息:
Servlet.service() for servlet [agile-dubbo-web] in context with path [] threw exception [Request processing failed; nested exception is com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method getItemCounts in the service com.agile.item.service.ItemsService. Tried 1 times of the providers [192.168.74.1:20880] (1/1) from the registry 192.168.1.117:2181 on the consumer 192.168.74.1 using the dubbo version 2.5.3. Last error is: Invoke remote method timeout. method: getItemCounts, provider: dubbo://192.168.74.1:20880/com.agile.item.service.ItemsService?anyhost=true&application=agile-dubbo-web&check=false&dubbo=2.5.3&init=true&interface=com.agile.item.service.ItemsService&methods=getItemCounts,getItem,displayReduceCounts&monitor=dubbo%3A%2F%2F192.168.1.117%3A2181%2Fcom.alibaba.dubbo.registry.RegistryService%3Fapplication%3Dagile-dubbo-web%26dubbo%3D2.5.3%26pid%3D2612%26protocol%3Dregistry%26refer%3Ddubbo%253D2.5.3%2526interface%253Dcom.alibaba.dubbo.monitor.MonitorService%2526pid%253D2612%2526timestamp%253D1528772559871%26registry%3Dzookeeper%26timestamp%3D1528772559871&pid=2612&retries=0&revision=0.0.1-SNAPSHOT&side=consumer×tamp=1528772559840, cause: Waiting server-side response timeout by scan timer. start time: 2018-06-12 11:03:40.950, end time: 2018-06-12 11:03:41.976, client elapsed: 403 ms, server elapsed: 622 ms, timeout: 1000 ms, request: Request [id=0, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=getItemCounts, parameterTypes=[class java.lang.String], arguments=[2], attachments={path=com.agile.item.service.ItemsService, interface=com.agile.item.service.ItemsService, version=0.0.0}]], channel: /192.168.74.1:64547 -> /192.168.74.1:20880] with root cause00
相似问题
回答 1
回答 1