# Sensu Redis authentication issue

**URL:** <https://discourse.sensu.io/t/sensu-redis-authentication-issue/575>\
**Category:** Sensu Classic (EOL)\
**Created:** [April 19, 2016, 11:00am UTC](https://discourse.sensu.io/t/sensu-redis-authentication-issue/575 "2016-04-19T11:00:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jay\_Kumar](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@Jay\_Kumar](https://discourse.sensu.io/u/Jay_Kumar)\
**Post date:** [April 19, 2016, 11:00am UTC](https://discourse.sensu.io/t/sensu-redis-authentication-issue/575/1 "2016-04-19T11:00:59Z")

</div>

I am trying to get Sensu work with Sentinel clustered Redis instance, but sensu cannot seems to be able to authenticate to Redis. Enabling auth is a prerequisite for setting up Sentinel.

I have tried Sensu with Standalone Redis with AUTH as well as with Sentinel

Tried both the following configurations, both configuration fails with same errors

{

“redis”: {

“host”: “10.xx.xx.xx”,

“port”: 6379,

“password”: “abcd123”,

“reconnect\_on\_error”: true

}

}

Sentinel:

{

“redis”: {

“reconnect\_on\_error”: true,

“password”: “abcd123”,

“sentinels”: [

{

“host”: “10.xx.xx.xx”,

“port”: 26379

},

{

“host”: “10.xx.xx.xx”,

“port”: 26379

}

]

}

}

Both the above configuration are failing with

sensu-api.log/sensu-server.log

{“timestamp”:“2016-04-19T16:12:48.553912+0530”,“level”:“error”,“message”:“redis connection error”,“error”:“redis returned error code: NOAUTH Authentication required.”}

I have checked Redis as well, authentication works fine with redis-cli, doesn’t seems to be the issue.

Any pointers?
