-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kazoo 2.9.0 throws "Connection dropped: socket connection error: The handle is invalid" #679
Comments
Hello, Thanks for reporting this issue. Thoughts: can it be linked to #656 that may not be working as expected on Windows? |
I have the same problem~ |
Hello, FWIW, I believe I have a fix in #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: |
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
<#679 (comment)>,
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? |
yes |
@tcalmant @fafairuz @yanchunhuo can one of you test 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 |
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
The text was updated successfully, but these errors were encountered: