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

猜你喜欢

转载自blog.csdn.net/qq_16739081/article/details/80815724