title: redis-master slave setup failing
body: <p>I have started server with port 6001 as master with persistence aof turned off,slave with port 6002 as master of 6001.However on startup of slave i am getting below error in infinite loop also note able to find any error logs of the same..</p>
  
  <pre><code>Slave infinite loop logs : 
  
  [5556] 20 Aug 21:34:28.499 # Server started, Redis version 3.2.100
  [5556] 20 Aug 21:34:28.500 * DB loaded from disk: 0.001 seconds
  [5556] 20 Aug 21:34:28.500 * The server is now ready to accept connections on port 6002
  [5556] 20 Aug 21:34:28.501 * Connecting to MASTER localhost:6001
  [5556] 20 Aug 21:34:28.513 * MASTER &lt;-&gt; SLAVE sync started
  [5556] 20 Aug 21:34:29.513 * Non blocking connect for SYNC fired the event.
  [5556] 20 Aug 21:34:29.513 # Sending command to master in replication handshake: -Writing to master: Unknown error
  [5556] 20 Aug 21:34:29.516 * Connecting to MASTER localhost:6001
  [5556] 20 Aug 21:34:29.517 * MASTER &lt;-&gt; SLAVE sync started
  </code></pre>