Skip to content

Instantly share code, notes, and snippets.

@thelinuxlich
Created November 3, 2016 17:09
Show Gist options
  • Save thelinuxlich/365b8cafc98295b14077a38a44a949a7 to your computer and use it in GitHub Desktop.
Save thelinuxlich/365b8cafc98295b14077a38a44a949a7 to your computer and use it in GitHub Desktop.
Ioredis log when it fails to reconnect to the cluster
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster getting slot cache from 10.240.21.41:7001
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis status[10.240.21.41:7001]: wait -> connecting
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis queue command[0] -> cluster(slots)
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis status[10.240.21.41:7001]: connecting -> connect
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> info()
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis status[10.240.21.41:7001]: connect -> ready
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:connection set the connection to readonly mode
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> readonly()
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:connection send 1 commands in offline queue
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> cluster(slots)
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis status[10.240.21.41:7000]: wait -> close
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:connection skip reconnecting since the connection is manually closed.
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis status[10.240.21.41:7000]: close -> end
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis status[10.240.30.188:7001]: wait -> close
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:connection skip reconnecting since the connection is manually closed.
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis status[10.240.30.188:7001]: close -> end
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis status[127.0.0.1:7000]: [empty] -> wait
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster getting slot cache from 127.0.0.1:7000
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis status[127.0.0.1:7000]: wait -> connecting
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis queue command[0] -> cluster(slots)
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:connection error: Error: connect ECONNREFUSED 127.0.0.1:7000
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis status[127.0.0.1:7000]: connecting -> close
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:connection skip reconnecting because `retryStrategy` is not a function
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis status[127.0.0.1:7000]: close -> end
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster getting slot cache from 10.240.30.188:7000
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> cluster(slots)
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis status[10.240.21.41:7000]: [empty] -> wait
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis status[10.240.30.188:7001]: [empty] -> wait
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster getting slot cache from 10.240.30.188:7001
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis status[10.240.30.188:7001]: wait -> connecting
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis queue command[0] -> cluster(slots)
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:00 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis status[10.240.30.188:7001]: connecting -> connect
Nov 03 15:15:01 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> info()
Nov 03 15:15:01 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:01 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:01 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis status[10.240.30.188:7001]: connect -> ready
Nov 03 15:15:01 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:connection set the connection to readonly mode
Nov 03 15:15:01 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> readonly()
Nov 03 15:15:01 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:connection send 1 commands in offline queue
Nov 03 15:15:01 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> cluster(slots)
Nov 03 15:15:01 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:01 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:01 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:01 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:01 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster getting slot cache from 10.240.198.54:7000
Nov 03 15:15:01 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis status[10.240.198.54:7000]: wait -> connecting
Nov 03 15:15:01 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis queue command[0] -> cluster(slots)
Nov 03 15:15:01 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:01 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:01 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:01 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:01 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis status[10.240.198.54:7000]: connecting -> connect
Nov 03 15:15:01 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> info()
Nov 03 15:15:01 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:01 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis status[10.240.198.54:7000]: connect -> ready
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:connection set the connection to readonly mode
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> readonly()
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:connection send 1 commands in offline queue
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> cluster(slots)
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster getting slot cache from 10.240.30.188:7000
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> cluster(slots)
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster getting slot cache from 10.240.51.164:7001
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis status[10.240.51.164:7001]: wait -> connecting
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis queue command[0] -> cluster(slots)
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis status[10.240.51.164:7001]: connecting -> connect
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> info()
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis status[10.240.51.164:7001]: connect -> ready
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:connection set the connection to readonly mode
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> readonly()
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:connection send 1 commands in offline queue
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> cluster(slots)
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster getting slot cache from 10.240.21.41:7000
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis status[10.240.21.41:7000]: wait -> connecting
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis queue command[0] -> cluster(slots)
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:cluster command get is moved to 10.240.100.31:7000
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis write command[0] -> get(id_a:34:😜)
Nov 03 15:15:02 aidax-collector-2 aidax[7708]: Thu, 03 Nov 2016 15:15:00 GMT ioredis:redis status[10.240.21.41:7000]: connecting -> connect
Nov 03 15:15:02 aidax-collector-2 systemd[1]: aidax.service: main process exited, code=exited, status=1/FAILURE
Nov 03 15:15:02 aidax-collector-2 systemd[1]: Unit aidax.service entered failed state.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment