草庐IT

SECURITY_ERR

全部标签

node.js - 错误 : ERR wrong number of arguments for 'set' command

我在本地redis服务器(127.0.0.1:6379)上使用redisset命令时出错版本:npmversion:2.15.0;nodeversion:4.4.2;nodejsverison:0.10.25;redisversion:2.7.1;错误:events.js:141thrower;//Unhandled'error'eventReplyError:ERRwrongnumberofargumentsfor'set'commandatparseError(/opt/xxx/xxx/node_modules/redis/node_modules/redisparser/lib/

laravel - 如何修复 "Predis\Response\ServerException ERR syntax error"?

看来我的redis服务器不工作了,谁能解决这个问题?提前谢谢你publicstaticfunctiongetActiveUser($len=10){$key=config('rket.active_key');$users=Redis::zrevrange($key,0,$len,'WITHSOCRES');if(empty($users)){returnfalse;}return$users;}这就是问题发生的地方。 最佳答案 'ServerException'表示服务器或与服务器的连接出现问题。检查redis服务器是否正在运行,

redis - (err)ERR 不支持的 CONFIG 参数 : module-add

当我尝试向redis添加模块时,出现错误:(err)ERR不支持的CONFIG参数:module-add我已经通过以下方式安装了动态redis:-$mkdir-p~/repos$cd~/repos$gitclonehttps://github.com/mattsta/redis$cdredis$gitcheckoutdynamic-redis-unstable$cd..$gitclonehttps://github.com/mattsta/krmt$cdkrmt$make-j$redis-cliconfigsetmodule-add`pwd`/geo.so整个过程没有任何错误,一直到我

spring - grails 2.3.5 + redis-gorm 插件 + spring security 核心插件

我在使用Redis作为数据存储和SpringSecurity插件运行Grails2.3.5应用程序时遇到问题?我在提交登录表单时收到这条“有趣”的消息(安装了spring-security-core和redis-gorm插件的全新grails项目以及使用s2-quickstart命令生成的用户、角色、Requestmap类):Error500:InternalServerErrorURI/test-redis-security/j_spring_security_checkClassjava.lang.IllegalArgumentExceptionMessageNotransacti

redis 保存返回(错误)ERR,日志中没有信息

运行save返回(error)ERR/var/log/redis/redis-server.log为空bgsave返回Backgroundsavingstarted但是lastsave显示旧日期(我想是安装日期)我在哪里可以找到有关这些错误的更多详细信息? 最佳答案 1如果不是root,检查当前用户是否对rdb目录有写权限。2修改redis.conf,设置logfile为"",强制在控制台登录。(守护进程应该不会)。 关于redis保存返回(错误)ERR,日志中没有信息,我们在Stack

session - StackExchange.Redis.RedisServerException : ERR unknown command 'EVAL' 异常

我在本地运行Redis服务器,在运行MVC应用程序时出现此错误。这是我的配置部分:Microsoft.Web.RedisSessionStateProviderv1.6.5.0StackExchange.Redis.StrongNamev1.0.316.0我已经花了几个小时试图在网上找到解决方案,但没有成功。任何帮助将不胜感激。 最佳答案 升级到最新的AzureSDK解决了问题。 关于session-StackExchange.Redis.RedisServerException:ERR

spring - Redis throughs (ERR operation not permitted) 错误,即使在正确运行 1 到 2 小时后

我在我的项目中使用Redis进行缓存,我使用Spring进行设置,您可以通过下面提到的链接了解我在我的项目中做了什么。http://caseyscarborough.com/blog/2014/12/18/caching-data-in-spring-using-redis/此代码在过去6到8个月内在生产环境(Rhel7-EC2实例)中运行良好。现在突然开始出现“ERRoperationnotpermitted”错误org.springframework.dao.InvalidDataAccessApiUsageException:ERRoperationnotpermitted;ne

spring-security - Spring Boot - Redis 持久化 token

我有一个使用这个方案的项目:Spring启动Spring安全Redis除了session时间外,一切正常。我想将token永久保留在Redis中。token必须没有过期我该怎么办?这和我的HttpSessionConfig的配置:@Configuration@EnableRedisHttpSessionpublicclassHttpSessionConfig{@BeanpublicHttpSessionEventPublisherhttpSessionEventPublisher(){returnnewHttpSessionEventPublisher();}}

redis - How to handle '[ERR] Nodes don' t agree about configuration!'在redis集群中?

我启动了一个redis集群,发现了一条错误消息“[ERR]节点不同意配置!”以及我在所附截图中用红色圈出的一些警告。能否请您帮我分析根本原因并提出解决方案?下面的链接是相关的截图。徐亮enterimagedescriptionhere最好的问候,许亮 最佳答案 您需要尝试的第一件事是“修复”:redis-trib.rb修复IP:PORT 关于redis-Howtohandle'[ERR]Nodesdon'tagreeaboutconfiguration!'在redis集群中?,我们在St

java - spring security 已经给了token 是不是还要写一个代码把token 存到redis 中?

在我的应用程序中,我有一个配置服务负责在Redis中存储、获取和删除值,以及用于身份验证的安全服务。我正在使用基于token的身份验证,所以我想将token存储在redis中。SpringSecurity提供了一个类RedisTokenStore.class来将token存储在redis中,这是最好的解决方案。但在这种情况下,将创建两个redis实例,一个由配置服务创建,另一个由安全服务创建。我应该使用实现将token存储在redis中还是使用配置服务? 最佳答案 如果只有一个Redis实例,那么您的安全服务应该调用您的配置服务来存