dubbo连接超时问题

今天在使用dubbo进行不同工程之间数据传递时,始终在传递数据时报错,连接超时。是因为服务提供者的server在操作数据库时时间超时,所以只需要修改server中的timeout长一些就行

Could not complete request

com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method updateDataSourceToSolr in the service cn.e3mall.search.service.SearchItemService. Tried 3 times of the providers [192.168.83.157:20883] (1/1) from the registry 192.168.25.128:2181 on the consumer 192.168.83.157 using the dubbo version 2.5.3. Last error is: Invoke remote method timeout. method: updateDataSourceToSolr, provider: dubbo://192.168.83.157:20883/cn.e3mall.search.service.SearchItemService?anyhost=true&application=e3_manager_web&check=false&dubbo=2.5.3&interface=cn.e3mall.search.service.SearchItemService&methods=updateDataSourceToSolr&pid=17988&revision=1.0-SNAPSHOT&side=consumer&timestamp=1529995950831, cause: Waiting server-side response timeout by scan timer. start time: 2018-06-26 15:06:34.872, end time: 2018-06-26 15:06:35.890, client elapsed: 0 ms, server elapsed: 1018 ms, timeout: 1000 ms, request: Request [id=27, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=updateDataSourceToSolr, parameterTypes=[], arguments=[], attachments={path=cn.e3mall.search.service.SearchItemService, interface=cn.e3mall.search.service.SearchItemService, version=0.0.0}]], channel: /192.168.83.157:56434 -> /192.168.83.157:20883
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值