应用程序连接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的连接满了

redis连接超时报错的更多相关文章

  1. 【small项目】MySQL第二天早上第一次连接超时报错,解决方法com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:

    MySQL第二天早上第一次连接超时报错,解决方法com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link ...

  2. 【转载】在使用JDBC连接MySql时报错:You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support

    在使用JDBC连接MySql时报错:You must configure either the server or JDBC driver (via the serverTimezone config ...

  3. 解决使用DBeaver连接MySQL时报错-The server time zone value '�й���׼ʱ��' is unrecognized or represents more than one time zone.

    解决使用DBeaver连接MySQL时报错,其实提示很明显. The server time zone value '�й���׼ʱ��' is unrecognized or represents ...

  4. 报错:使用java api连接redis集群时报错 READONLY You can't write against a read only slave.

    报错: READONLY You can’t write against a read only slave. 报错原因: 因为连接的是从节点,从节点只有读的权限,没有写的权限 解决方案: 进入red ...

  5. java 连接 redis集群时报错:Could not get a resource from the pool

    由于弄这个的时候浪费了太多的时间,所以才记录下这个错,给大伙参考下 检查了一下,配置啥的都没问题的,但在redis集群机器上就可以,错误如下: Exception in thread "ma ...

  6. Redis配置主从时报错“Could not connect to Redis at 192.168.0.50:6379: Connection refused not connected>”

    配置Redis主从时,修改完从节点配置文件,然后报错 [root@Rich七哥-0-50 redis]# /opt/redis/redis-cli -h 192.168.0.50 Could not ...

  7. 如何处理Win7连接vpn时报错789的问题

    [转]VPN错误提示: vpn连接出错789:L2TP连接尝试失败,因为安全层在初始化与远程计算机的协商时遇 (2014-08-11 15:09:10)转载▼标签: it xp连接VPN错误提示: v ...

  8. AlwaysOn配置时在连接步骤时报错(35250)

    1.错误描述 1XX.XXX.XXX.241(主节点) 1XX.XXX.XXX.242(从节点) 添加节点需要在主节点上执行的,错误代码:35250 报错截图 2.网上相关介绍都是怀疑端口5022的问 ...

  9. 使用pymongo连接mongodb时报错:pymongo.errors.OperationFailure: not authorized

    连接本机或局域网部署的mongodb时可以用以下方法: from urllib import parse from pymongo import MongoClient host = '*.*.*.* ...

随机推荐

  1. Calendar /String /Date 转换

    Calendar 转化 String Calendar calendat = Calendar.getInstance(); SimpleDateFormat sdf = new SimpleDate ...

  2. maven的配置环境及Myeclipse部署Maven项目

    1.官网下载maven>解压>配置环境变量:在path后面加上 D:\software\apache-maven-3.3.9\bin; 2.cmd/mvn -version 测试  显示版 ...

  3. jquery指index

    $(selector).index(element) 获得元素相对于选择器的 index 位置.<ul>    <li><a href="#nogo" ...

  4. String类的常用判断方法使用练习

    选取了一些常用的判断方法进行了使用练习,后续跟新其他方法 package StringDemo; // String类的判断方法解析 // 1:boolean equals(); // 判断字符串是否 ...

  5. SecureCRT中文乱码解决已设置UTF-8

    查看服务器编码 查看linux的编码,修改为自己需要的,本文将已UTF-8为例进行说明.修改Linux服务器的配置文件:[root@iitshare ~]# vi /etc/sysconfig/i18 ...

  6. JS的prototype

    初步理解: 在说prototype和constructor之前我们先得看几个例子. 1 2 3 4 function name(obj){     alert(obj)//"uw3c&quo ...

  7. 3个div 宽度移入移出时变化

    <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8" ...

  8. 如何用java获得字符串的ASCII值

    使用Integer.valueOf就可以直接将char类型的数据转为十进制数据表现形式. int value=Integer.valueOf('1');//49int value=Integer.va ...

  9. asp.net web api返回图片至前端

    var response = Request.CreateResponse(HttpStatusCode.OK); response.Content = new ByteArrayContent(da ...

  10. 3.使用git提交项目到开源中国(gitosc)

    1.提交地址 使用的是开源中国git仓库 git.oschina.net 在windos环境下使用msysgit. 2.初始化化 username.email初始化 git config --glob ...