• 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&timestamp=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 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&timestamp=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的连接满了

  • 相关阅读:
    python下RSA 加密/解密,签名/验证
    python字符串str和字节数组相互转化
    代码存档
    windows 7 安装 scrapy
    scrapy 爬取自己的博客
    win32api 找不到指定的模块
    SQLite3日期与时间,常见函数
    sqlite3日期数据类型
    myeclipse集成maven
    UIKit class hierarchy
  • 原文地址:https://www.cnblogs.com/janehoo/p/6208579.html
Copyright © 2020-2023  润新知