kazoo icon indicating copy to clipboard operation
kazoo copied to clipboard

ConnectionClosedError: Connection has been closed

Open ravimaharjan opened this issue 7 years ago • 3 comments

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.

ravimaharjan avatar Apr 17 '17 16:04 ravimaharjan

Seeing this too in version 2.4.0. Rolling back to 2.2.0 release fixes it.

andrewkcarter avatar Dec 12 '17 21:12 andrewkcarter

also seeing this, will it be solved on current version?

Smosker avatar Mar 05 '18 07:03 Smosker

Hi,

Can you please add more information to this issue?

StephenSorriaux avatar Oct 29 '18 17:10 StephenSorriaux