By: Cory Carter user 02 Apr 2018 at 3:49 p.m. CDT

5 Responses
Cory Carter gravatar
Hello, I'm attempting to set up a redis cluster with Stunnel encryption. I have made the json changes according to your GLUU documentation, but after a reset the web UI is now throwing a 500. Identity logs is giving me a "connection reset" error (I am also getting this when attempting to ping this host and port via redis-cli; However I am not if I redis-cli as "localhost" on the same port) In order to correct this, do I need to change the server name to "localhost" in the "redisConfiguration", or make configuration changes to my stunnel? current stunnel.conf: ``` pid = /run/stunnel.pid [redis-server-gluu-1] client = no CAfile = /etc/stunnel/private.pem cert = /etc/stunnel/private.pem key = /etc/stunnel/private.key accept = <gluu-node-ip>:6379 connect = <127.0.0.1>:6379 ``` redisConfiguration: ``` "redisConfiguration":{ "redisProviderType":"STANDALONE", "servers":"<gluu-node-name>:6379", "defaultPutExpiration":60} ```

By Thomas Gasmyr Mougang staff 03 Apr 2018 at 12:49 a.m. CDT

Thomas Gasmyr Mougang gravatar
Hello **Carter**, Can you provide a link to the documentation you have followed?

By Thomas Gasmyr Mougang staff 03 Apr 2018 at 1:59 a.m. CDT

Thomas Gasmyr Mougang gravatar
Also noted that the redis configuration should look like this: ``` ..... accept = redis_servers_public_IP:6379 connect = 127.0.0.1:6379 ``` You may need to configure the firewall to allow this port: ``` #firewall-cmd --permanent --add-port=6379/tcp #firewall-cmd --reload ``` or Just disable the firewall service to make sure there is no port blocking issue. Thanks, Gasmyr

By Cory Carter user 03 Apr 2018 at 8:28 a.m. CDT

Cory Carter gravatar
Thomas, I'm going by [this documentation](https://gluu.org/docs/ce/installation-guide/cluster/).

By Thomas Gasmyr Mougang staff 03 Apr 2018 at 2:59 p.m. CDT

Thomas Gasmyr Mougang gravatar
Hi **Carter**, Have you apply the solution provide in the previous post? In recent redis version you must also disable **protected mode**, you can do that from the redis config file. Thanks, Gasmyr.

By Thomas Gasmyr Mougang staff 06 Apr 2018 at 1:04 a.m. CDT

Thomas Gasmyr Mougang gravatar
Hi **Carter**, Still need assistance?