首页 > 代码库 > redis连接超时报错
redis连接超时报错
应用程序连接redis超时,报错如下:
ERROR DubboServerHandler-xxx.xx.xx.52:20880-thread-172 2016-12-21 15:25:20,429 com.alibaba.dubbo.common.logger.slf4j.Slf4jLogger.error(Slf4jLogger.java:74) [DUBBO] Got unchecked and undeclared exception which called by xxx.xx.xx.61. service: com.tycredit.up.service.QiXinScoreService, method: loadData, exception: com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method findStringValue in the service com.tycredit.core.service.RedisCacheService. Tried 1 times of the providers [xxx.xx.xx.61:20880] (1/3) from the registry 172.28.0.48:2181 on the consumer xxx.xx.xx.52 using thedubbo version 2.4.10. Last error is: Invoke remote method timeout. method: findStringValue, provider: dubbo://xxx.xx.xx.61:20880/com.tycredit.core.service.RedisCacheService?anyhost=true&application=credit-collect-front&check=false&default.reference.filter=ccsFilter,logMdc&default.service.filter=ccsFilter,logMdc&dubbo=2.4.10&interface=com.tycredit.core.service.RedisCacheService&logger=slf4j&methods=findListValue,findStringValue,appendListValue,appendStringValue,remove&mock=false&pid=86905&retries=0&revision=1.7.0&side=consumer&timeout=10000×tamp=1481194035638&validation=true&version=1.0.2, cause: Waiting server-side response timeout by scan timer. start time: 2016-12-21 15:25:10.412, end time: 2016-12-21 15:25:20.429, client elapsed: 0 ms, server elapsed: 10017 ms, timeout: 10000 ms, request: Request [id=9700799, version=2.0.0, twoway=true, event=false, broken=false, data=http://www.mamicode.com/RpcInvocation [methodName=findStringValue, parameterTypes=[class java.lang.String], arguments=[oc_dcs_db_creditscore_18907612592], attachments={input=526, path=com.tycredit.core.service.RedisCacheService, logMdc.mobileNo=18907612592,interface=com.tycredit.core.service.RedisCacheService, version=1.0.2, timeout=10000}]], channel: /xxx.xx.xx.52:53481 -> /xxx.xx.xx.61:20880, dubbo version: 2.4.10, current host: xxx.xx.xx.52 [////]com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method findStringValue in the service com.tycredit.core.service.RedisCacheService. Tried 1 times of the providers [xxx.xx.xx.61:20880] (1/3) from the registry 172.28.0.48:2181 on the consumer xxx.xx.xx.52 using the dubbo version 2.4.10. Last error is: Invoke remote method timeout. method: findStringValue, provider: dubbo://xxx.xx.xx.61:20880/com.tycredit.core.service.RedisCacheService?anyhost=true&application=credit-collect-front&check=false&default.reference.filter=ccsFilter,logMdc&default.service.filter=ccsFilter,logMdc&dubbo=2.4.10&interface=com.tycredit.core.service.RedisCacheService&logger=slf4j&methods=findListValue,findStringValue,appendListValue,appendStringValue,remove&mock=false&pid=86905&retries=0&revision=1.7.0&side=consumer&timeout=10000×tamp=1481194035638&validation=true&version=1.0.2, cause: Waiting server-side response timeout by scan timer. start time: 2016-12-21 15:25:10.412, end time: 2016-12-21 15:25:20.429, client elapsed: 0 ms, server elapsed: 10017 ms, timeout: 10000 ms, request: Request [id=9700799, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=findStringValue, parameterTypes=[class java.lang.String], arguments=[oc_dcs_db_creditscore_18907612592], attachments={input=526, path=com.tycredit.core.service.RedisCacheService, logMdc.mobileNo=18907612592, interface=com.tycredit.core.service.RedisCacheService, version=1.0.2, timeout=10000}]], channel: /xxx.xx.xx.52:53481 -> /xxx.xx.xx.61:20880
原因定位:
应用dubbo的连接满了
redis连接超时报错
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。