问题描述
- 调用dubbo服务时出现的问题
- 我在调用dubbo服务时一直出这个错,把timeout设置的时间长一些也不起作用,卡这里两天了 求大神解释啊
HTTP Status 500 - Request processing failed; nested exception is com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method add in the service com.inspur.manage.service.interfaces.LogService. Tried 1 times of the providers 10.18.11.39:20881 from the registry 10.18.12.178:2181 on the consumer 10.18.11.39 using the dubbo version 2.5.3. Last error is: Invoke remote method timeout. method: add provider: dubbo://10.18.11.39:20881/com.inspur.manage.service.interfaces.LogService?anyhost=true&application=acweb&check=false&dubbo=2.5.3&interface=com.inspur.manage.service.interfaces.LogService&methods=selectCountMaxByTimeselectCountByCompanyIdqueryByPagequeryAllcountByPerAccountdelqueryCountadd&pid=1692&retries=0&revision=manager_api&side=consumer&timeout=3000×tamp=1449456314004 cause: Waiting server-side response timeout. start time: 2015-12-07 10:46:16.324 end time: 2015-12-07 10:46:19.325 client elapsed: 0 ms server elapsed: 3001 ms timeout: 3000 ms request: Request [id=5 version=2.0.0 twoway=true event=false broken=false data=RpcInvocation [methodName=add parameterTypes=[interface java.util.Map] arguments=[{cCode=SI_10001 time=2015-12-07 10:46:16 星期一 param=ticket:bbd648d2fddb9a871544f39703a8af19 meth=ecIndex name=李四 class=com.inspur.ac.portal.EcPortalController account=SI_001 cName=浪潮软件 info=null ip=10.18.11.39}] attachments={path=com.inspur.manage.service.interfaces.LogService interface=com.inspur.manage.service.interfaces.LogService timeout=3000 version=0.0.0}]] channel: /10.18.11.39:53040 -> /10.18.11.39:20881
解决方案
http://blog.csdn.net/jdream314/article/details/44039753
时间: 2024-09-01 22:30:49