-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
use delay command cause a "ERR unknown command client" error #3521
Comments
Which Redis service provider are you using? |
It looks like your Redis does not allow/provide the |
If you use master, you can now add a nil :id attribute to disable the use of config.redis = { :id => nil } |
If the renamed CLIENT command is known, you can remap it: |
I confirm this error is caused by the redis provider, after update the redis provider's redis version, sidekiq 5.0.3 works fine now. |
I'm still seeing this error, even though just upgraded Redis to 4.0.1 and Sidekiq 5.0.4 |
@luizkowalski Put this in your Gemfile and run
|
Just upgrade redis didn't worked but add thanks @mperham |
MemoryStore is a Redis instance that has disabled commands such as CLIENT and MONITOR. Sidekiq calls CLIENT to set an ID for debugging, but this can be disabled by setting the `id` to `nil` (sidekiq/sidekiq#3521). This is done in `/etc/gitlab/gitlab.rb` via: gitlab_rails['redis_enable_client'] = false By default, this is set to `true`. Closes https://gitlab.com/gitlab-org/omnibus-gitlab/issues/4149
Versions
Ruby version: 2.3.0
Rails version: 4.2.6
Sidekiq version: 5.0.3
Code
Use delay command, it was work on sidekiq 5.0.2 as code
XxxxService.delay(:queue => 'xxxx').changed(id)
Error Trace
The text was updated successfully, but these errors were encountered: