应用程序连接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. I2C总线和S5PV210的I2C总线控制器

    一.什么是I2C通信协议? 1.物理接口:SCL + SDA (1)SCL(serial clock):时钟线,传输CLK信号,一般是I2C主设备向从设备提供时钟的通道. (2)SDA(serial ...

  2. Python遍历目录下所有文件的最后一行进行判断若错误及时邮件报警-案例

    遍历目录下所有文件的最后一行进行判断若错误及时邮件报警-案例: #-*- encoding: utf-8 -*- __author__ = 'liudong' import linecache,sys ...

  3. iOS 开发 常用的正则验证表达式:电话 、邮箱等等

    #pragma mark - 验证手机号 +(BOOL)checkForMobilePhoneNo:(NSString *)mobilePhone{ NSString *regEx = @" ...

  4. JS正则2

    正则表达式可以:•测试字符串的某个模式.例如,可以对一个输入字符串进行测试,看在该字符串是否存在一个电话号码模式或一个信用卡号码模式.这称为数据有效性验证•替换文本.可以在文档中使用一个正则表达式来标 ...

  5. scala 学习之:List fold, foldLeft方法

    先从一道题开始看: Eliminate consecutive duplicates of list elements. If a list contains repeated elements th ...

  6. Varnish简介

    Varnish介绍: Varnish是一个反向HTTP代理,有时也被称为HTTP的加速器或网络加速器:它存在于真实服务器的前面(可能有多级代理),将来自于客户端的请求中的部分内容存储在自身的内存中,以 ...

  7. PLSQL win7 64位

    1. 解压instantclient-basic-win32-11.2.0.1.0.zip至Oracle安装目录的Product下 具体目录如下D:\Oracle\product\instantcli ...

  8. nginx日志轮巡切割

    通过编辑脚本的方式来实现日志每日以及每天的切割纪录.可以通过计划任务的方式实现每天执行脚本,具体情况需要更加实际情况 vim /root/cut_nginx_log.sh #!bin/sh Datef ...

  9. iOS 9/10强制使用https访问网络,使用了第三方SDK的应用需要配置的信息

    2017年01月01日起苹果将全面禁止使用http来访问网络. 网上扒了一些资源,解决方法还是有的,但是都不确定是否可以通过审核,毕竟实践才是检验真理的唯一标准. 后续如果上线成功,再来分享. 如果应 ...

  10. NOT IN查询效率低,用它的等效写法提高效率。

    最近在处理大数据量导入的时候,使用OPENROWSET将Excel导入到临时表中之后,需要对数据进行唯一性验证.这时候发现使用NOT IN严重影响效率,一条sql可能执行10分钟甚至更久.尝试改变写法 ...