Skip to content

[Redis] not support Redis Cluster #240

Description

@omegazeng

When I use Redis with Cluster Mode, I can not log in.
The server can not parser the MOVED, and returns 500 Internal Server Error.

Error log:

17:50:14 0|--  | level=info, time=2024-01-04 17:50:14.566, msg=try login, path=/auth/login, method=POST, requestId=3f6fc8c56bbc84d009b3dbcf668a25b1, account=admin
17:50:14 0|--  | level=error, time=2024-01-04 17:50:14.608, msg=MOVED 5285 [x.y.z.42:6379](http://x.y.z.42:6379/), path=/auth/login, method=POST, requestId=3f6fc8c56bbc84d009b3dbcf668a25b1, name=ReplyError, stack=ReplyError: MOVED5285 [x.y.z.42:6379](http://x.y.z.42:6379/)
17:50:14 0|--  |     at parseError (/data/node_modules/redis-parser/lib/parser.js:179:12)
17:50:14 0|--  |     at parseType (/data/node_modules/redis-parser/lib/parser.js:302:14)

Package version:
"redis": "4.2.0"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions