Closed fafairuz closed 8 months ago
Hello,
Thanks for reporting this issue.
Thoughts: can it be linked to https://github.com/python-zk/kazoo/pull/656 that may not be working as expected on Windows?
I have the same problem~
Hello,
FWIW, I believe I have a fix in https://github.com/python-zk/kazoo/pull/681
This issue broke my production server, as I didn't freeze the dependency to 2.8.0... Upgrading ZooKeeper didn't fix the problem either and after thinking/investigating a few days it became clear it's neither client nor server, but the Python library :-)
Workaround: pip install -U "kazoo=2.8.0"
Hi there,
Just to confirm, on what platform was your zookeeper client running?
Thanks!
On Sat, Dec 17, 2022, 13:37 ArneBachmannDLR @.***> wrote:
This issue broke my production server, as I didn't freeze the dependency to 2.8.0... Upgrading ZooKeeper didn't fix the problem either and after thinking/investigating a few days it became clear it's neither client nor server, but the Python library :-)
Workaround: pip install -U "kazoo=2.8.0"
— Reply to this email directly, view it on GitHub https://github.com/python-zk/kazoo/issues/679#issuecomment-1356377572, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIFTHQ24UTR2EZ3I3CBSQ3WNYCANANCNFSM6AAAAAARV5TLJ4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
The client was on Windows 10 21H2 19044.2364 in an Enterprise setup. The ZooKeeper installation same on a different machine. Access via other tools (like ZKUI) worked fine, but not from Python anymore. Downgrade to 2.8.0 resolved the issue for now.
@fafairuz @yanchunhuo are you both running on Windows as well?
@fafairuz @yanchunhuo are you both running on Windows as well?
yes
@tcalmant @fafairuz @yanchunhuo can one of you test master
now that #681 is merged to confirm this is resolved?
We would like to cut a release with the fix to unbreak folks, but first want to confirm this is resolved for you.
Hi @jeffwidman, the master
branch works in my use case
Kazoo 2.9.0 throws
Connection dropped: socket connection error: The handle is invalid
and from server, I gotEndOfStreamException: Unable to read additional data from client, it probably closed the socket: address = /10.1.17.34:3664, session = 0x0
I have tried with previous version (2.8.0) and it is working fine.
Expected Behavior
KazooClient can be started after issuing
zk.start()
Actual Behavior
Kazoo returning
Connection dropped: socket connection error: The handle is invalid
after issuingzk.start()
Snippet to Reproduce the Problem
Logs with logging in DEBUG mode
This is logs from zookeeper host. It is repeated numbers of times.
Specifications
2.9.0
pip list
command:3.6.1
3.8.10 (tags/v3.8.10:3d8993a, May 3 2021, 11:48:03) [MSC v.1928 64 bit (AMD64)] on win32
Thank you