Sinatra throws a Redis::CommandError, ERR operation not permitted when connecting to a redis instance that requires authentication. The issue is documented here: https://gist.github.com/iromli/5004420
As far as I can tell the problem occurs in fnordmetric/web/app.rb#initialize. One can work around it by explicitely passing the :redis_url for the web interface. This is a bit cumbersome. In my opinion it should just use FnordMetric.options instead.
Comment by skorfmannThursday Feb 28, 2013 at 11:01 GMT
Yep, not sure why App#initialize calls Fnordmetric.default_options instead of just Fnordmetric.options. Makes no sense to me. I've sent a pull request to change it: #128
Issue by masone Thursday Feb 28, 2013 at 10:21 GMT Originally opened as https://github.com/paulasmuth/fnordmetric/issues/126
Sinatra throws a
Redis::CommandError, ERR operation not permitted
when connecting to a redis instance that requires authentication. The issue is documented here: https://gist.github.com/iromli/5004420As far as I can tell the problem occurs in fnordmetric/web/app.rb#initialize. One can work around it by explicitely passing the
:redis_url
for the web interface. This is a bit cumbersome. In my opinion it should just use FnordMetric.options instead.