Rails 6.0 Resque Redis and Auth

125 views Asked by At

Im using rails 6.0 with resque, redis and I can't get rails server to start because i've got AUTH issues and get the following when i start rails server

vendor/bundle/ruby/2.7.0/gems/redis-4.6.0/lib/redis/client.rb:162:in `call': NOAUTH Authentication required. (Redis::CommandError)

i've tried putting the following into config/initializers/resque.rb and i've also tried it in environment.rb

Resque.redis = Redis.new(:password => 'myresquepassword')

If i fire up cli and put the the password in I can run commands no bother

Any ideas ?

1

There are 1 answers

1
Qd1y On

The answeris that resque does not have support for authentication in 2.2.1, so its not possible