egg-redis icon indicating copy to clipboard operation
egg-redis copied to clipboard

redis plugin for egg

Results 11 egg-redis issues
Sort by recently updated
recently updated
newest added

##### Checklist - [ ] `npm test` passes - [ ] tests and/or benchmarks are included - [ ] documentation is changed or added - [ ] commit message follows...

##### Checklist - [x] `npm test` passes - [x] tests and/or benchmarks are included - [ ] documentation is changed or added - [x] commit message follows commit guidelines #####...

##### Checklist - [x] `npm test` passes - [x] tests and/or benchmarks are included - [x] documentation is changed or added - [x] commit message follows commit guidelines ##### Affected...

在使用ts的过程中,发现配置文件这个编译时报错,发现index.d.ts文件中clients类型有问题。

app.redis.get('bar')获取不到实例,我已经在配置里写了client里面有两个对象实例

在请求接口 /test的时候,报错。redis的host、port以及password都是正确的,不知道是哪里出现了问题 egg-redis版本:^2.5.0 egg版本:^3 报错信息 ``` 2023-06-16 16:59:34,096 ERROR 60949 nodejs.ReplyError: NOAUTH Authentication required. at parseError (/app/node_modules/redis-parser/lib/parser.js:179:12) at parseType (/app/node_modules/redis-parser/lib/parser.js:302:14) command: {"name":"info","args":[]} pid: 60949 hostname: sz-user.local ``` router.js ``` 'use...

"egg-redis": "^2.4.0", "egg": "^2.5.0" 本地搭建的的redis集群测试(集群状态正常) ![image](https://user-images.githubusercontent.com/65337490/230266810-f0f581c2-ebf6-45d3-83ed-de30ac80be67.png) 用127.0.0.1是正常连接的,切换成内外ip就无法连接了 配置 ![image](https://user-images.githubusercontent.com/65337490/230266152-65bc27ee-ad3b-4974-89e5-4f40f1fc1123.png) 报错信息 ![image](https://user-images.githubusercontent.com/65337490/230266273-fc3fb0f3-ef38-4359-b29d-055e3f415be7.png)

https://github.com/luin/ioredis/wiki/Upgrading-from-v4-to-v5

![image](https://github.com/eggjs/egg-redis/assets/53611371/5f93b800-14e2-42b8-ac6b-eeccbc2263f4) 无操作后 reids 会出现这个问题 但是后续操作读写 reids 都是正常的 想知道这个问题 错误如何处理。

plugins 配置项 exports.redis = { enable: true, package: '@eggjs/redis', }; config 配置项 config.redis = { client: { port: 6379, // Redis port host: '127.0.0.1', Redis host password: '', db: 0,...