Can't connect to redis on heroku
Set REDIS_PROVIDER
to the name of the env var with your Redis URL.
Type this: heroku config:set REDIS_PROVIDER=REDISTOGO_URL
. Restart.
Explained here: https://github.com/mperham/sidekiq/wiki/Using-Redis#using-an-env-variable
Setting REDIS_URL
in heroku
config help me to resolve:
Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED) (Redis::CannotConnectError)
You must set the REDISTOGO_URL
on Heroku.
Click on Settings, and then Reveal Config Vars.