求助: nested exception is com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method ...

博客内容描述了一位开发者遇到的问题,他们在使用Dubbo时,尽管消费者和服务者在Dubbo管理界面显示正常,但在实际调用中却遇到了`com.alibaba.dubbo.rpc.RpcException`。开发者检查了@reference和@service注解,尝试了网上的多种解决方案,但问题仍未解决。
摘要由CSDN通过智能技术生成

消费者和服务者再dubbo上显示正常,但是报错

严重: Servlet.service() for servlet [springmvc] in context with path [] threw exception [Request processing failed; nested exception is com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method findPage in the service com.pinyougou.sellergoods.service.SpecificationService. Tried 3 times of the providers [192.168.11.27:20881] (1/1) from the registry 39.107.252.26:2181 on the consumer 192.168.11.27 using the dubbo version 2.8.4. Last error is: Invoke remote method timeout. method: findPage, provider: dubbo://192.168.11.27:20881/com.pinyougou.sellergoods.service.SpecificationService?anyhost=true&application=pinyougou-manager-web&check=false&dubbo=2.8.4&generic=false&interface=com.pinyougou.sellergoods.service.SpecificationService&methods=add,selectOptionList,findOne,update,findPage,delete,findAll&pid=8904&revision=0.0.1-SNAPSHOT&side=consumer&timestamp=1552904763704, cause: Waiting server-side response timeout by scan timer. start time: 2019-03-18 18:26:19.185, end time: 2019-03-18 18:26:20.213, client elapsed: 0 ms, server elapsed: 1028 ms, timeout: 1000 ms, request: Request [id=12, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=findPage, parameterTypes=[class com.pinyougou.pojo.TbSpecification, int, int], arguments=[com.pinyougou.pojo.TbSpecification@515a6d0b, 1, 10], attachments={path=com.pinyougou.sellergoods.service.SpecificationService, interface=com.pinyougou.sellergoods.service.SpecificationService, version=0.0.0}]], channel: /192.168.11.27:55028 -> /192.168.11.27:20881] with root cause
com.alibaba.dubbo.remoting.TimeoutException: Waiting server-side response timeout by scan timer. start time: 2019-03-18 18:26:19.185, end time: 2019-03-18 18:26:20.213, client elapsed: 0 ms, server elapsed: 1028 ms, timeout: 1000 ms, request: Request [id=12, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=findPage, parameterTypes=[class com.pinyougou.pojo.TbSpecification, int, int], arguments=[com.pinyougou.pojo.TbSpecification@515a6d0b, 1, 10], attachments={path=com.pinyougou.sellergoods.service.SpecificationService, interface=com.pinyougou.sellergoods.service.SpecificationService, version=0.0.0}]], channel: /192.168.11.27:55028 -> /192.168.11.27:20881
	at com.alibaba.dubbo.remoting.exchange.suppor
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值