It looks like you have the wrong redis connection (or setup)
Debug it:
1) Debug reconnection with rails console. Using Redis from Your Application
>> require 'rubygems' => false >> require 'redis' => true >> r = Redis.new =>
2) Debugging RedisStore
RedisStore.new("localhost:6379/0/cache", expires_in: 90.minutes)
3) If the command passes, configure this configuration for your application as described in gem redis-rails
# config/application.rb config.cache_store = :redis_store, "redis://localhost:6379/0/cache", { expires_in: 90.minutes }
4) Play with the configuration a bit to establish a successful connection with redis (And do not forget about the various configurations of the production environment !!!)
5) Commit changes, redistribute.
itsnikolay
source share