dubbo超时,这种情况是因为什么导致

发布于 2021-12-05 23:37:38 字数 10994 浏览 974 评论 1

com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method getCollectReqInfo in the service com.tairan.cloud.credit.service.CreditService. Tried 1 times of the providers [10.161.230.195:10880] (1/2) from the registry 10.51.43.100:2181 on the consumer 10.51.43.100 using the dubbo version 2.8.5-RC1. Last error is: Invoke remote method timeout. method: getCollectReqInfo, provider: dubbo://10.161.230.195:10880/com.tairan.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.tairan.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,getSyncReport,getGjjApplyInfo,getPyPersonRiskInfo,getUserReportData,getUserAccessData,getTdReport,getReportOverdueConfig,getTaobaoApplyFormInfo,getYdStudentStatus,getSubmitFormListInfo,resetPwdInfo,saveOperatorReport,getPyHouseRentInfo,saveBusinessReport,getBankDataByToken,getYdEduInfo,getStatusByUserInfo,getTaobaoCollectQrReqInfo,getPyHouseSaleInfo,saveReceiveJdReport,getSupportOrgInfo,saveReportToken,getMobileOperatorJsonByToken,getReport,getPyCompanyRiskInfo,getSocialDataByToken,getHouseFundRawData,getReceiptInfo,getEbusinessJsonDataByToken,getTricTdLoanEvaluation,getEbusinessDataByToken,getPyCarValueInfo,getBlackMobileInfo,getOperatorReport,getCollectReqInfo,getOperatorPrimevalReport,getYdLoanTimes,getApplyFormByToken,getYdLatlngLocation,getPhoneOperator,getBlacklistInfo,saveReceiveReport,getEducationDataByToken,sendMessage,getPyMobileInfo,getPyPersonTelInfo,getGjjAllArea,getSubmitFormInfo,getReportNumberByUser,getTravelDataByUser,getJingdongReport,getGjjAreaCity,getFactorReport,getGjjReport&payload=52428800&pid=9916&retries=0&revision=1.0.0-SNAPSHOT&side=consumer&timeout=180000&timestamp=1488455601627, cause: Waiting server-side response timeout by scan timer. start time: 2017-03-03 08:35:04.976, end time: 2017-03-03 08:38:04.977, client elapsed: 0 ms, server elapsed: 180001 ms, timeout: 180000 ms, request: Request [id=11567, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=getCollectReqInfo, parameterTypes=[class com.tairan.cloud.credit.domain.jxl.BusinessMobileInfo], arguments=[com.tairan.cloud.credit.domain.jxl.BusinessMobileInfo@7aeedb71], attachments={path=com.tairan.cloud.credit.service.CreditService, interface=com.tairan.cloud.credit.service.CreditService, version=0.0.0, timeout=180000}]], channel: /10.51.43.100:54968 -> /10.161.230.195:10880
    at com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:108)
    at com.alibaba.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:227)
    at com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker.invoke(MockClusterInvoker.java:72)
    at com.alibaba.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:52)
    at com.alibaba.dubbo.common.bytecode.proxy27.getCollectReqInfo(proxy27.java)
    at com.tairan.cloud.credit.rest.service.impl.FengdaiCreditServiceImpl.collectOperatorInfo(FengdaiCreditServiceImpl.java:725)
    at com.tairan.cloud.credit.rest.controller.JuxinliCreditController.operatorCollect(JuxinliCreditController.java:127)
    at sun.reflect.GeneratedMethodAccessor283.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
    at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
    at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)
    at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:832)
    at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:743)
    at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:961)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:895)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967)
    at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:869)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
    at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:843)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
    at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
    at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:670)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:745)
Caused by: com.alibaba.dubbo.remoting.TimeoutException: Waiting server-side response timeout by scan timer. start time: 2017-03-03 08:35:04.976, end time: 2017-03-03 08:38:04.977, client elapsed: 0 ms, server elapsed: 180001 ms, timeout: 180000 ms, request: Request [id=11567, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=getCollectReqInfo, parameterTypes=[class com.tairan.cloud.credit.domain.jxl.BusinessMobileInfo], arguments=[com.tairan.cloud.credit.domain.jxl.BusinessMobileInfo@7aeedb71], attachments={path=com.tairan.cloud.credit.service.CreditService, interface=com.tairan.cloud.credit.service.CreditService, version=0.0.0, timeout=180000}]], channel: /10.51.43.100:54968 -> /10.161.230.195:10880
    at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.returnFromResponse(DefaultFuture.java:188)
    at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:110)
    at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:84)
    at com.alibaba.dubbo.rpc.protocol.dubbo.DubboInvoker.doInvoke(DubboInvoker.java:96)
    at com.alibaba.dubbo.rpc.protocol.AbstractInvoker.invoke(AbstractInvoker.java:144)
    at com.alibaba.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:75)
    at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91)
    at com.alibaba.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:53)
    at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91)
    at com.alibaba.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:48)
    at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91)
    at com.alibaba.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:74)
    at com.alibaba.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:53)
    at com.alibaba.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:77)
    ... 47 common frames omitted

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

卸妝后依然美 2021-12-06 13:09:24

1.ping下网络
2.demo是否通
3.调整超时时间与连接池大小
4.分析日志
http://www.tuicool.com/articles/YfA3Ub

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文