python-zk / kazoo

Kazoo is a high-level Python library that makes it easier to use Apache Zookeeper.
https://kazoo.readthedocs.io
Apache License 2.0
1.3k stars 386 forks source link

Connecting to read only zookeeper #739

Closed FatemeMirzaeii closed 6 months ago

FatemeMirzaeii commented 7 months ago

I'm trying to connect to a zookeeper cluster in read_only mode, but with read_only=True flag I got an Exception: "Exception raised during deserialization of request: Connect()" and then connection will dropped. What is the problem?

Specifications

StephenSorriaux commented 7 months ago

Hello,

There is not enough information for us to be of any help, please try to follow the issue template... Anyway, I would recommend checking your ZK configuration, I just remembered some things might be needed for RO sessions.