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

Wrong redis version recognition when using AWS ElastiCache #437

Closed
ScripterSugar opened this issue Mar 22, 2021 · 2 comments
Closed

Wrong redis version recognition when using AWS ElastiCache #437

ScripterSugar opened this issue Mar 22, 2021 · 2 comments

Comments

@ScripterSugar
Copy link

ScripterSugar commented Mar 22, 2021

I keep getting this error when I try to use bullmq with my ElastiCache redis instance.

Error: Redis version needs to be greater than 5.0.0 Current: 4.0.9
    at RedisConnection.init (/home/ubuntu/vendit/vendit-reservation-service/node_modules/bullmq/src/classes/redis-connection.ts:80:15)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

But my instance uses redis 6.0.5

Here's my instance information from AWS.

image

I can confirm this, because I just created the instance from AWS console, with most recent settings.

I need to use BullMQ because a lot of codes I wrote are depending to this library..

I also tried to create 5.x version instance in ElastiCache, but it didn't work, too.

Any solution for this?

@ScripterSugar
Copy link
Author

Here's the redis_version from info query to my redis server using redis-cli.

image

The server response have no problem... I wonder why bullMQ recognizes my server as 4.0.9

@ScripterSugar
Copy link
Author

Oops, I found that my bullMQ wasn't connecting to ElastiCache but my local instance. Sorry for the disturbance.

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

1 participant