Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

启动时连接redis报错 #27

Open
YouTiaoIng opened this issue May 3, 2024 · 1 comment
Open

启动时连接redis报错 #27

YouTiaoIng opened this issue May 3, 2024 · 1 comment

Comments

@YouTiaoIng
Copy link

redis版本:6.2.7

后端服务执行yarn run start:dev 后开始没什么问题,所有的接口都打印出来的,但是await app.listen()那儿一直卡住,过五六分钟会报redis的错误

E:\Forseti\nestAndElementComponent\meimei-admin\node_modules\bull\node_modules\ioredis\built\redis\event_handler.js:177 self.flushQueue(new errors_1.MaxRetriesPerRequestError(maxRetriesPerRequest)); ^ MaxRetriesPerRequestError: Reached the max retries per request limit (which is 20). Refer to "maxRetriesPerRequest" option for details. at Socket.<anonymous> (E:\Forseti\nestAndElementComponent\meimei-admin\node_modules\bull\node_modules\ioredis\built\redis\event_handler.js:177:37) at Object.onceWrapper (node:events:628:26) at Socket.emit (node:events:513:28) at TCP.<anonymous> (node:net:301:12)

@87789771
Copy link
Owner

87789771 commented May 7, 2024

确定 redis 启动成功了嘛? redis 是否有密码? 如果有,在配置文件中进行修改。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants