"you are connecting to redis v3.0.504, sidekiq requires redis v4.0.0 or greater" Code Answer

6

As the error message tells you: You are connecting to a redis v3.x instance but your version of sidekiq requires a redis v4 instance, so you need to line them up somehow. This leaves you with two options:

  1. Downgrade sidekiq to a version that works with redis v3.x
  2. Upgrade redis to v4.x to be able to use the sidekiq version you are currently trying to use

If you go with the first option, sidekiq 5.2.8 should work according to the readme (https://github.com/mperham/sidekiq/tree/v5.2.8). Just update the sidekiq version in your Gemfile and then run bundle update.

gem 'sidekiq', '~> 5.2.8'

If you go with the second option, well... that's OS dependent, but you need to install redis v3.

By Pop on August 23 2022

Answers related to “you are connecting to redis v3.0.504, sidekiq requires redis v4.0.0 or greater”

Only authorized users can answer the Search term. Please sign in first, or register a free account.