调用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=selectCountMaxByTime,selectCountByCompanyId,queryByPage,queryAll,countByPerAccount,del,queryCount,add&pid=1692&retries=0&revision=manager_api&side=consumer&timeout=3000&timestamp=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

4个回答

我的是因为连接数据库的ip写错了,改好之后就好了

zjkwwr
zjkwwr 感谢,终于解决了,也是数据库配置有问题
接近 2 年之前 回复

博主 请问解决了吗 我也遇到了同样的问题

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐