kazoo
kazoo copied to clipboard
ConnectionClosedError: Connection has been closed
I have a web application and it uses zookeeper to store configurations. Since there are many places in UI which can trigger the Zookeeper actions, I am creating a singleton zookeeper connection and using the same connection for every actions. That means, basically I am not stopping or closing the connection at all even after the work is completed. Now my assumption is the same connection would work even after the connection with zookeeper is re-established after the connection is lost. However, when I run my web application, it keeps giving me the error that says "Connection has been closed". The exception it throws is ConnectionClosedError. If I am not closing the connection, why would it give the ConnectionClosedError.
Seeing this too in version 2.4.0. Rolling back to 2.2.0 release fixes it.
also seeing this, will it be solved on current version?
Hi,
Can you please add more information to this issue?