title: Load Balancer with Zookeeper
body: <p>I'm trying to create a Load Balancer to be in front of a Zookeeper 3.4.6 cluster. When I do that the cluster works well but an exception is thrown:</p>
  
  <blockquote>
    <p>WARN  [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@357] - caught end of stream exception
    EndOfStreamException: Unable to read additional data from client sessionid 0x0, likely client has closed socket
    <br>at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:228)
    <br>at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208)
    <br>at java.lang.Thread.run(Thread.java:745)</p>
  </blockquote>
  
  <p>It means that Zookeeper is understanding Load Balancer as a client and it's tryong to stablish a connection with it. But the Load Balancer just pings TCP 2181 and comes out.</p>