Sunday, 15 March 2015

heroku - Rails not connecting to Redis (RedisToGo) -



heroku - Rails not connecting to Redis (RedisToGo) -

i've been trying deploy rails 4 app heroku, still getting same error:

error connecting redis on 127.0.0.1:6379 (econnrefused) (redis::cannotconnecterror)

i'm using redistogo , did configuration steps showed here. environment variable correctly set up.

when trying connect redis (as shown in documentation) locally works fine.

i resolve adding redis_url environment variable instead of redistogo_url or redis_provider. sidekiq official documentation advices utilize provider_url, though couldn't create work.

ruby-on-rails heroku redistogo

No comments:

Post a Comment