Imported Google Group message. Original thread at: Redirecting to Google Groups Import Date: 2016-01-19 21:40:07 +0000.
Sender:[email protected]
.
Date:Tuesday, 5 January 2016 12:43:25 UTC.
Hey Martin,
We’ve successfully configured tyk and the oauth flow.
Everything seemed to be fine and suddenly tyk stopped responding with the auth codes.
This is the error we keep getting :
time=“2015-12-30T11:04:17Z” level=info msg=“[OAuth] Notifying client host”
time=“2015-12-30T11:04:17Z” level=info msg=“[OAuth] Notifying client host”
time=“2015-12-30T17:00:26Z” level=error msg=“Multi command failed: NOAUTH Authentication required.”
time=“2015-12-30T17:00:36Z” level=error msg=“Multi command failed: NOAUTH Authentication required.”
time=“2015-12-30T17:00:46Z” level=error msg=“Multi command failed: NOAUTH Authentication required.”
If you notice , everything was fine and suddenly something went wrong.
We spent some time debugging this and we figured out that redis was securing keys with a password.
We hadn’t over-ridden the default tyk password for redis. It was “” - as is.
Even logging through redis-cli was asking for a password.
The work-around that we implemented was - Restarting Redis and creating the keys again. But I’m afraid this won’t suit our needs on production environment.
There are two questions on our minds :
- Why didnt redis seek a password right frm the beginning
- If at all we find ourselves in a similar situation later, how do we fix it at the earliest.
Regards,
Balaji