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

诠释这低调 发布于 2017/03/03 09:14
阅读 4K+
收藏 0

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

加载中
0
s
streetrust

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

OSCHINA
登录后可查看更多优质内容
返回顶部
顶部