Dynomite connections being reset

37 views
Skip to first unread message

George Chilumbu

unread,
Jul 25, 2016, 11:57:53 PM7/25/16
to Redis DB
I have configured a dynomite (proxy) cluster of three nodes. The cluster is up and running, but when i try to connect to a redis instance via any node in the cluster, i get the following error after running this command:

Ubuntu@ redis-1:~$redis-cli -h 192.168.1.195 -p 8102 ping

Error: Connection reset by peer

Ubuntu@ redis-1:~$


But when i try to connect to the same remote Redis server directly via the default Redis port, 6379, the command works just fine as shown below:

Ubuntu@ redis-1:~$redis-cli -192.168.1.195 -p 6379 ping

PONG

Ubuntu@ redis-1:~$


Here is my architecture:

Three dynomite nodes in the cluster:
    dynomite-1: 192.168.2.190
    dynomite-2: 192.168.2.191
    dynomite-3: 192.168.2.192

Remote connection is being performed on a fourth Redis server (not part of the dynomite cluster):
     redis-1:


dynomite-1 yml file:

dyn_o_mite:
 
#CLuster Info
  datacenter
: sanchong
  rack
: l5
  dyn_listen
: 0.0.0.0:8101
  dyn_seed_provider
: simple_provider
  dyn_seeds
:
 
- 192.168.2.191:8101:h10:sanchong:0
 
- 192.168.2.192:8101:l5:sanchong:1431655765
  tokens
: 2863311530
  data_store
: 0
 
##Redis
 
#redis: true
  listen
: 0.0.0.0:8102
  servers
:
 
- 127.0.0.1:6379:1
 
##Liveness Info
  auto_eject_hosts
: true
  server_retry_timeout
: 3000
  timeout
: 3000
  server_failure_limit
: 3
 
##Security Info
  pem_key_file
: /build/dynomite/conf/dynomite.pem



dynomite-2 yml file:

dyn_o_mite:
 
##Cluster Info
  datacenter
: sanchong
  rack
: l5
  dyn_listen
: 0.0.0.0:8101
  dyn_seed_provider
: simple_provider
  dyn_seeds
:
 
- 192.168.2.190:8101:h10:sanchong:0
 
- 192.168.2.192:8101:l5:sanchong:2863311530
  tokens
: 1431655765
  data_store
: 0
 
##Redis Info
 
#redis: true
  listen
: 0.0.0.0:8102
  servers
:
 
- 127.0.0.1:6379:1
 
##Liveness Info
  auto_eject_hosts
: true
  server_retry_timeout
: 3000
  timeout
: 3000
  server_failure_limit
: 3
 
##Security Info
  pem_key_file
: /build/dynomite/conf/dynomite.pem

dynomite-3 yml file:

dyn_o_mite:
 
##Cluster Info
  datacenter
: sanchong
  rack
: h10
  dyn_listen
: 0.0.0.0:8101
  dyn_seed_provider
: simple_provider
  dyn_seeds
:
 
- 192.168.2.190:8101:l5:sanchong:1431655765
 
- 192.168.2.191:8101:l5:sanchong:2863311530
  tokens
: 0
  data_store
: 0
 
##Redis Info
 
#redis: true
  listen
: 0.0.0.0:8102
  servers
:
 
- 127.0.0.1:6379:1
 
##Liveness Info
  auto_eject_hosts
: true
  server_retry_timeout
: 3000
  timeout
: 3000
  server_failure_limit
: 3
 
##Security Info
  pem_key_file
: /build/dynomite/conf/dynomite.pem

What is causing this "Error: Connection reset by peer" error?
Reply all
Reply to author
Forward
0 new messages