为什么dubbo时而报超时,高手们帮吗看下

诠释这低调 发布于 2017/03/02 18:24
阅读 2K+
收藏 0

Failed to invoke the method getCollectReqInfo in the service com.test.cloud.credit.service.CreditService. Tried 1 times of the providers [101.161.230.195:10880] (1/2) from the registry 101.51.43.100:2181 on the consumer 10.172.205.43 using the dubbo version 2.8.5-RC1. Last error is: Invoke remote method timeout. method: getCollectReqInfo, provider: dubbo://101.161.230.195:10880/com.test.cloud.credit.service.CreditService?anyhost=true&application=trcloud-credit-thirdparty-rest&check=false&default.timeout=180000&device=default&dubbo=2.8.5-RC1&generic=false&interface=com.test.cloud.credit.service.CreditService&methods=getTaobaoReport,getTaobaoHistoryReport,getAccessData,collectInfo,getJdAllReport,getAccessToken,getYdBankCardAttr,getYdIdFace,syncUserReportData,getPhoneInfo,getCollectSkipInfo,getStatusByToken,getTricTdLoanEvaluationId,getUserReportByToken,getRawDataByToken,getEducationInfo,getFactorData,getTdLoanEvaluationId,getPyIdNameMatch,getTaobaoCollectQrRespInfo,getPyPersonJobs,getPyEnterpriseTelInfo,saveGjjReport,getTdLoanEvaluation,getCreditDataByToken,getGjjApplyInfo,getSyncReport,getPyPersonRiskInfo,getUserReportData,getUserAccessData,getTdReport,getReportOverdueConfig,getTaobaoApplyFormInfo,getYdStudentStatus,getSubmitFormListInfo,resetPwdInfo,getPyHouseRentInfo,saveOperatorReport,saveBusinessReport,getBankDataByToken,getYdEduInfo,getTaobaoCollectQrReqInfo,getStatusByUserInfo,getPyHouseSaleInfo,saveReceiveJdReport,getSupportOrgInfo,saveReportToken,getMobileOperatorJsonByToken,getReport,getPyCompanyRiskInfo,getSocialDataByToken,getHouseFundRawData,getReceiptInfo,getEbusinessJsonDataByToken,getTricTdLoanEvaluation,getEbusinessDataByToken,getPyCarValueInfo,getBlackMobileInfo,getOperatorReport,getCollectReqInfo,getOperatorPrimevalReport,getYdLoanTimes,getApplyFormByToken,getYdLatlngLocation,getPhoneOperator,getBlacklistInfo,sendMessage,getEducationDataByToken,saveReceiveReport,getPyMobileInfo,getPyPersonTelInfo,getGjjAllArea,getSubmitFormInfo,getReportNumberByUser,getTravelDataByUser,getJingdongReport,getGjjAreaCity,getFactorReport,getGjjReport&payload=52428800&pid=19974&retries=0&revision=1.0.0-SNAPSHOT&side=consumer&timeout=180000&timestamp=1488362868907, cause: Waiting server-side response timeout by scan timer. start time: 2017-03-02 17:45:43.513, end time: 2017-03-02 17:48:43.540, client elapsed: 0 ms, server elapsed: 180027 ms, timeout: 180000 ms, request: Request [id=51705, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=getCollectReqInfo, parameterTypes=[class com.test.cloud.credit.domain.jxl.BusinessMobileInfo], arguments=[com.test.cloud.credit.domain.jxl.BusinessMobileInfo@6f807977], attachments={path=com.test.cloud.credit.service.CreditService, interface=com.test.cloud.credit.service.CreditService, version=0.0.0, timeout=180000}]], channel: /101.172.205.43:41828 -> /101.161.230.195:10880

加载中
0
h
hmxj

service发布服务,接口注入的额时候  接收端收不到服务吧?好像服务发布没问题,是不是可以考虑一下,弄个集群试试?我是嘴强王者。。。。只知道道理。。。

0
风翔飞
风翔飞

1.看看service相关方法是不是比较慢

2.修改dubbo超时时间

0
x
xueyinglei

直接在配置文件配置一下dubbo的超时时间,调大点。不过一般这个没什么问题

0
F
Free跑跑
麻烦问一下,你这问题解决了吗?我也遇到这问题了
返回顶部
顶部