Tyk and redis cluster

Imported Google Group message. Original thread at: Redirecting to Google Groups Import Date: 2016-01-19 21:30:46 +0000.
Sender:Edward Suárez.
Date:Monday, 9 November 2015 16:00:14 UTC.

hi, i decided to use this docker image GitHub - Grokzen/docker-redis-cluster: Dockerfile for Redis Cluster (redis 3.0+) and followed the instruction here:
https://tyk.io/v1.8/setup/redis-cluster/

Everything seems to be fine but when I run the setup.sh file, it returns:

Creating Organisation
{“Status”:“OK”,“Message”:“Org created”,“Meta”:“5640c1805f9dd90001000002”}
ORGID: 5640c1805f9dd90001000002

Adding new user
{“Status”:“OK”,“Message”:“9fc31287184849f46034bdd706ab80ee”,“Meta”:“”}
USER AUTH: 9fc31287184849f46034bdd706ab80ee

{“Status”:“Error”,“Message”:“Not authorised”,“Meta”:“”}
Traceback (most recent call last):
File “”, line 1, in
KeyError: ‘users’
NEW ID:
Setting passwor…

Imported Google Group message.
Sender:Martin Buhr.
Date:Monday, 9 November 2015 17:25:22 UTC.

Have you set up both Tyk (tyk.conf) and Tyk Dashboard (tyk_analytics.conf) to use the redis cluster node?

Because that error implies that the dashboard (advanced API) can’t create an API token for the new user, which causes the failures.

Cheers,
Martin

  • show quoted text -

  • show quoted text -


You received this message because you are subscribed to the Google Groups “Tyk Community Support” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web, visit https://groups.google.com/d/msgid/tyk-community-support/8d829eeb-f7ae-4e70-9bda-3e04832d5256%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.